Class OutputFormatTableSink<T>
java.lang.Object
org.apache.flink.legacy.table.sinks.OutputFormatTableSink<T>
- Type Parameters:
T- Type of the boundedOutputFormatthat thisTableSinkexpects and supports.
- All Implemented Interfaces:
StreamTableSink<T>,org.apache.flink.table.legacy.sinks.TableSink<T>
@Deprecated
@Internal
public abstract class OutputFormatTableSink<T>
extends Object
implements StreamTableSink<T>
Deprecated.
Defines an external
TableSink to emit a bounded Table.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal org.apache.flink.streaming.api.datastream.DataStreamSink<T>consumeDataStream(org.apache.flink.streaming.api.datastream.DataStream<T> dataStream) Deprecated.Consumes the DataStream and return the sink transformationDataStreamSink.abstract org.apache.flink.api.common.io.OutputFormat<T>Deprecated.Returns anOutputFormatfor writing the data of the table.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.legacy.sinks.TableSink
configure, getConsumedDataType, getFieldNames, getFieldTypes, getOutputType, getTableSchema
-
Constructor Details
-
OutputFormatTableSink
public OutputFormatTableSink()Deprecated.
-
-
Method Details
-
getOutputFormat
Deprecated.Returns anOutputFormatfor writing the data of the table. -
consumeDataStream
public final org.apache.flink.streaming.api.datastream.DataStreamSink<T> consumeDataStream(org.apache.flink.streaming.api.datastream.DataStream<T> dataStream) Deprecated.Description copied from interface:StreamTableSinkConsumes the DataStream and return the sink transformationDataStreamSink. The returnedDataStreamSinkwill be used to set resources for the sink operator.- Specified by:
consumeDataStreamin interfaceStreamTableSink<T>
-
DynamicTableSink. The new interface consumes internal data structures. See FLIP-95 for more information.