Class SinkDef
- java.lang.Object
-
- org.apache.flink.cdc.composer.definition.SinkDef
-
public class SinkDef extends Object
Definition of a data sink.A sink definition contains:
- type: connector type of the sink, which will be used for discovering sink implementation. Required in the definition.
- name: name of the sink. Optional in the definition.
- config: configuration of the sink
-
-
Constructor Summary
Constructors Constructor Description SinkDef(String type, String name, Configuration config)SinkDef(String type, String name, Configuration config, Set<SchemaChangeEventType> includedSchemaEvolutionTypes)SinkDef(String type, String name, Configuration config, Set<SchemaChangeEventType> includedSchemaEvolutionTypes, ExistingTableSchemaExpansionMode existingTableSchemaExpansionMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ConfigurationgetConfig()ExistingTableSchemaExpansionModegetExistingTableSchemaExpansionMode()Set<SchemaChangeEventType>getIncludedSchemaEvolutionTypes()Optional<String>getName()StringgetType()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
SinkDef
public SinkDef(String type, @Nullable String name, Configuration config)
-
SinkDef
public SinkDef(String type, @Nullable String name, Configuration config, Set<SchemaChangeEventType> includedSchemaEvolutionTypes)
-
SinkDef
public SinkDef(String type, @Nullable String name, Configuration config, Set<SchemaChangeEventType> includedSchemaEvolutionTypes, ExistingTableSchemaExpansionMode existingTableSchemaExpansionMode)
-
-
Method Detail
-
getType
public String getType()
-
getConfig
public Configuration getConfig()
-
getIncludedSchemaEvolutionTypes
public Set<SchemaChangeEventType> getIncludedSchemaEvolutionTypes()
-
getExistingTableSchemaExpansionMode
public ExistingTableSchemaExpansionMode getExistingTableSchemaExpansionMode()
-
-