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

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
     
    org.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.DynamicTableSink
     
    org.apache.flink.table.types.DataType
     
    org.apache.flink.table.connector.ChangelogMode
    getChangelogMode(org.apache.flink.table.connector.ChangelogMode requestedMode)
     
    org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider
    getSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getChangelogMode in interface org.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:
      getSinkRuntimeProvider in interface org.apache.flink.table.connector.sink.DynamicTableSink
    • copy

      public org.apache.flink.table.connector.sink.DynamicTableSink copy()
      Specified by:
      copy in interface org.apache.flink.table.connector.sink.DynamicTableSink
    • asSummaryString

      public String asSummaryString()
      Specified by:
      asSummaryString in interface org.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)