public class MergeIntoActionFactory extends Object implements ActionFactory
MergeIntoAction
.Modifier and Type | Field and Description |
---|---|
static String |
IDENTIFIER |
static String |
MATCHED_DELETE |
static String |
MATCHED_UPSERT |
static String |
NOT_MATCHED_BY_SOURCE_DELETE |
static String |
NOT_MATCHED_BY_SOURCE_UPSERT |
static String |
NOT_MATCHED_INSERT |
CATALOG_CONF, DATABASE, EXPIRATIONTIME, EXPIRE_STRATEGY, HELP, LOG, PARTITION, PATH, TABLE, TABLE_CONF, TIMESTAMP_PATTERN, TIMESTAMPFORMATTER, WAREHOUSE
Constructor and Description |
---|
MergeIntoActionFactory() |
Modifier and Type | Method and Description |
---|---|
Optional<Action> |
create(MultipleParameterToolAdapter params) |
String |
identifier()
Returns a unique identifier among same factory interfaces.
|
void |
printHelp() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkRequiredArgument, createAction, getPartitions, getRequiredValue, getTablePath, optionalConfigMap, optionalConfigMapList, printDefaultHelp
public static final String IDENTIFIER
public static final String MATCHED_UPSERT
public static final String NOT_MATCHED_BY_SOURCE_UPSERT
public static final String MATCHED_DELETE
public static final String NOT_MATCHED_BY_SOURCE_DELETE
public static final String NOT_MATCHED_INSERT
public String identifier()
Factory
For consistency, an identifier should be declared as one lower case word (e.g. kafka
). If multiple factories exist for different versions, a version should be appended
using "-" (e.g. elasticsearch-7
).
identifier
in interface Factory
public Optional<Action> create(MultipleParameterToolAdapter params)
create
in interface ActionFactory
public void printHelp()
printHelp
in interface ActionFactory
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.