Interface StreamTableSink<T>

  • Type Parameters:
    T - Type of the DataStream created by this TableSink.
    All Superinterfaces:
    org.apache.flink.table.legacy.sinks.TableSink<T>
    All Known Subinterfaces:
    AppendStreamTableSink<T>, RetractStreamTableSink<T>, UpsertStreamTableSink<T>
    All Known Implementing Classes:
    CsvTableSink, OutputFormatTableSink

    @Deprecated
    @Internal
    public interface StreamTableSink<T>
    extends org.apache.flink.table.legacy.sinks.TableSink<T>
    Deprecated.
    This interface has been replaced by DynamicTableSink. The new interface consumes internal data structures. See FLIP-95 for more information.
    Defines an external stream table and provides write access to its data.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      org.apache.flink.streaming.api.datastream.DataStreamSink<?> consumeDataStream​(org.apache.flink.streaming.api.datastream.DataStream<T> dataStream)
      Deprecated.
      Consumes the DataStream and return the sink transformation DataStreamSink.
      • Methods inherited from interface org.apache.flink.table.legacy.sinks.TableSink

        configure, getConsumedDataType, getFieldNames, getFieldTypes, getOutputType, getTableSchema
    • Method Detail

      • consumeDataStream

        org.apache.flink.streaming.api.datastream.DataStreamSink<?> consumeDataStream​(org.apache.flink.streaming.api.datastream.DataStream<T> dataStream)
        Deprecated.
        Consumes the DataStream and return the sink transformation DataStreamSink. The returned DataStreamSink will be used to set resources for the sink operator.