Package org.apache.flink.table.sinks
Class TableSinkBase<T>
java.lang.Object
org.apache.flink.table.sinks.TableSinkBase<T>
- Type Parameters:
T- The return type of theTableSinkBase.
- All Implemented Interfaces:
TableSink<T>
Deprecated.
Base class for
TableSink.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigure(String[] fieldNames, org.apache.flink.api.common.typeinfo.TypeInformation<?>[] fieldTypes) Deprecated.Returns a copy of thisTableSinkconfigured with the field names and types of the table to emit.protected abstract TableSinkBase<T>copy()Deprecated.Returns a deep copy of theTableSink.String[]Deprecated.Returns the field names of the table to emit.org.apache.flink.api.common.typeinfo.TypeInformation<?>[]Deprecated.Returns the field types of the table to emit.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
getConsumedDataType, getOutputType, getTableSchema
-
Constructor Details
-
TableSinkBase
public TableSinkBase()Deprecated.
-
-
Method Details
-
copy
Deprecated.Returns a deep copy of theTableSink. -
getFieldNames
Deprecated.Returns the field names of the table to emit.- Specified by:
getFieldNamesin interfaceTableSink<T>
-
getFieldTypes
public org.apache.flink.api.common.typeinfo.TypeInformation<?>[] getFieldTypes()Deprecated.Returns the field types of the table to emit.- Specified by:
getFieldTypesin interfaceTableSink<T>
-
configure
public final TableSink<T> configure(String[] fieldNames, org.apache.flink.api.common.typeinfo.TypeInformation<?>[] fieldTypes) Deprecated.Returns a copy of thisTableSinkconfigured with the field names and types of the table to emit.
-
TableSinkinterface. ImplementDynamicTableSinkdirectly instead.