Class UpsertTestDynamicTableSinkFactory
- java.lang.Object
-
- org.apache.flink.connector.upserttest.table.UpsertTestDynamicTableSinkFactory
-
- All Implemented Interfaces:
DynamicTableFactory
,DynamicTableSinkFactory
,Factory
@Internal public class UpsertTestDynamicTableSinkFactory extends Object implements DynamicTableSinkFactory
ADynamicTableSinkFactory
for discoveringUpsertTestDynamicTableSink
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.factories.DynamicTableFactory
DynamicTableFactory.Context
-
-
Field Summary
Fields Modifier and Type Field Description static String
IDENTIFIER
-
Constructor Summary
Constructors Constructor Description UpsertTestDynamicTableSinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicTableSink
createDynamicTableSink(DynamicTableFactory.Context context)
Creates aDynamicTableSink
instance from aCatalogTable
and additional context information.String
factoryIdentifier()
Returns a unique identifier among same factory interfaces.Set<ConfigOption<?>>
optionalOptions()
Returns a set ofConfigOption
that an implementation of this factory consumes in addition toFactory.requiredOptions()
.Set<ConfigOption<?>>
requiredOptions()
Returns a set ofConfigOption
that an implementation of this factory requires in addition toFactory.optionalOptions()
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.factories.DynamicTableFactory
forwardOptions
-
-
-
-
Field Detail
-
IDENTIFIER
public static final String IDENTIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
createDynamicTableSink
public DynamicTableSink createDynamicTableSink(DynamicTableFactory.Context context)
Description copied from interface:DynamicTableSinkFactory
Creates aDynamicTableSink
instance from aCatalogTable
and additional context information.An implementation should perform validation and the discovery of further (nested) factories in this method.
- Specified by:
createDynamicTableSink
in interfaceDynamicTableSinkFactory
-
factoryIdentifier
public String factoryIdentifier()
Description copied from interface:Factory
Returns a unique identifier among same factory interfaces.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
).- Specified by:
factoryIdentifier
in interfaceFactory
-
requiredOptions
public Set<ConfigOption<?>> requiredOptions()
Description copied from interface:Factory
Returns a set ofConfigOption
that an implementation of this factory requires in addition toFactory.optionalOptions()
.See the documentation of
Factory
for more information.- Specified by:
requiredOptions
in interfaceFactory
-
optionalOptions
public Set<ConfigOption<?>> optionalOptions()
Description copied from interface:Factory
Returns a set ofConfigOption
that an implementation of this factory consumes in addition toFactory.requiredOptions()
.See the documentation of
Factory
for more information.- Specified by:
optionalOptions
in interfaceFactory
-
-