Class TableSinkBase<T>

java.lang.Object
org.apache.flink.table.sinks.TableSinkBase<T>
Type Parameters:
T - The return type of the TableSinkBase.
All Implemented Interfaces:
TableSink<T>

@Deprecated @Internal public abstract class TableSinkBase<T> extends Object implements TableSink<T>
Deprecated.
This class is implementing the deprecated TableSink interface. Implement DynamicTableSink directly instead.
Base class for TableSink.
  • Constructor Details

    • TableSinkBase

      public TableSinkBase()
      Deprecated.
  • Method Details

    • copy

      protected abstract TableSinkBase<T> copy()
      Deprecated.
      Returns a deep copy of the TableSink.
    • getFieldNames

      public String[] getFieldNames()
      Deprecated.
      Returns the field names of the table to emit.
      Specified by:
      getFieldNames in interface TableSink<T>
    • getFieldTypes

      public org.apache.flink.api.common.typeinfo.TypeInformation<?>[] getFieldTypes()
      Deprecated.
      Returns the field types of the table to emit.
      Specified by:
      getFieldTypes in interface TableSink<T>
    • configure

      public final TableSink<T> configure(String[] fieldNames, org.apache.flink.api.common.typeinfo.TypeInformation<?>[] fieldTypes)
      Deprecated.
      Returns a copy of this TableSink configured with the field names and types of the table to emit.
      Specified by:
      configure in interface TableSink<T>
      Parameters:
      fieldNames - The field names of the table to emit.
      fieldTypes - The field types of the table to emit.
      Returns:
      A copy of this TableSink configured with the field names and types of the table to emit.