T
- Type of the bounded OutputFormat
that this TableSink
expects and
supports.DynamicTableSink
. The new interface
consumes internal data structures and only works with the Blink planner. See FLIP-95 for more
information.@Deprecated @Experimental public abstract class OutputFormatTableSink<T> extends Object implements StreamTableSink<T>
Constructor and Description |
---|
OutputFormatTableSink()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DataStreamSink<T> |
consumeDataStream(DataStream<T> dataStream)
Deprecated.
Consumes the DataStream and return the sink transformation
DataStreamSink . |
abstract OutputFormat<T> |
getOutputFormat()
Deprecated.
Returns an
OutputFormat for writing the data of the table. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, getConsumedDataType, getFieldNames, getFieldTypes, getOutputType, getTableSchema
public abstract OutputFormat<T> getOutputFormat()
OutputFormat
for writing the data of the table.public final DataStreamSink<T> consumeDataStream(DataStream<T> dataStream)
StreamTableSink
DataStreamSink
. The
returned DataStreamSink
will be used to set resources for the sink operator.consumeDataStream
in interface StreamTableSink<T>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.