Class StarRocksDataSink
- java.lang.Object
-
- org.apache.flink.cdc.connectors.starrocks.sink.StarRocksDataSink
-
- All Implemented Interfaces:
Serializable,DataSink
public class StarRocksDataSink extends Object implements DataSink, Serializable
ADataSinkfor StarRocks connector that supports schema evolution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StarRocksDataSink(com.starrocks.connector.flink.table.sink.StarRocksSinkOptions sinkOptions, TableCreateConfig tableCreateConfig, SchemaChangeConfig schemaChangeConfig, java.time.ZoneId zoneId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventSinkProvidergetEventSinkProvider()Get theEventSinkProviderfor writing changed data to external systems.MetadataAppliergetMetadataApplier()Get theMetadataApplierfor applying metadata changes to external systems.java.time.ZoneIdgetZoneId()-
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.cdc.common.sink.DataSink
getDataChangeEventHashFunctionProvider, getDataChangeEventHashFunctionProvider
-
-
-
-
Constructor Detail
-
StarRocksDataSink
public StarRocksDataSink(com.starrocks.connector.flink.table.sink.StarRocksSinkOptions sinkOptions, TableCreateConfig tableCreateConfig, SchemaChangeConfig schemaChangeConfig, java.time.ZoneId zoneId)
-
-
Method Detail
-
getEventSinkProvider
public EventSinkProvider getEventSinkProvider()
Description copied from interface:DataSinkGet theEventSinkProviderfor writing changed data to external systems.- Specified by:
getEventSinkProviderin interfaceDataSink
-
getMetadataApplier
public MetadataApplier getMetadataApplier()
Description copied from interface:DataSinkGet theMetadataApplierfor applying metadata changes to external systems.- Specified by:
getMetadataApplierin interfaceDataSink
-
getZoneId
@VisibleForTesting public java.time.ZoneId getZoneId()
-
-