Class VolatileLayerTableSink
java.lang.Object
com.here.platform.data.client.flink.impl.VolatileLayerTableSink
- All Implemented Interfaces:
org.apache.flink.table.connector.sink.DynamicTableSink
public class VolatileLayerTableSink
extends Object
implements org.apache.flink.table.connector.sink.DynamicTableSink
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.connector.sink.DynamicTableSink
org.apache.flink.table.connector.sink.DynamicTableSink.Context, org.apache.flink.table.connector.sink.DynamicTableSink.DataStructureConverter, org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider -
Constructor Summary
ConstructorsConstructorDescriptionVolatileLayerTableSink(HRN hrn, String layerId, long aggregationIntervalMs, long bathIntervalMs, PartitionSchema schema, long writeBlobTimeOut, int writeBlobBatchSize, org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory, WriteEngineFactory writeEngineFactory, scala.Option<com.here.platform.data.client.scaladsl.PublishApi> publishApi) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.streaming.api.datastream.DataStreamSink<?>consumeRowStream(org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.types.Row> dataStream) org.apache.flink.table.connector.sink.DynamicTableSinkcopy()org.apache.flink.table.types.DataTypedataType()org.apache.flink.table.connector.ChangelogModegetChangelogMode(org.apache.flink.table.connector.ChangelogMode requestedMode) org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvidergetSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context)
-
Constructor Details
-
VolatileLayerTableSink
public VolatileLayerTableSink(HRN hrn, String layerId, long aggregationIntervalMs, long bathIntervalMs, PartitionSchema schema, long writeBlobTimeOut, int writeBlobBatchSize, org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory, WriteEngineFactory writeEngineFactory, scala.Option<com.here.platform.data.client.scaladsl.PublishApi> publishApi)
-
-
Method Details
-
dataType
public org.apache.flink.table.types.DataType dataType() -
getChangelogMode
public org.apache.flink.table.connector.ChangelogMode getChangelogMode(org.apache.flink.table.connector.ChangelogMode requestedMode) - Specified by:
getChangelogModein interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
getSinkRuntimeProvider
public org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider getSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context) - Specified by:
getSinkRuntimeProviderin interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
copy
public org.apache.flink.table.connector.sink.DynamicTableSink copy()- Specified by:
copyin interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
asSummaryString
- Specified by:
asSummaryStringin interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
consumeRowStream
public org.apache.flink.streaming.api.datastream.DataStreamSink<?> consumeRowStream(org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.types.Row> dataStream)
-