Interface TableSinkFactory.Context

All Known Implementing Classes:
TableSinkFactoryContextImpl
Enclosing interface:
TableSinkFactory<T>

@Internal public static interface TableSinkFactory.Context
Context of table sink creation. Contains table information and environment information.
  • Method Details

    • getObjectIdentifier

      ObjectIdentifier getObjectIdentifier()
      Returns:
      full identifier of the given CatalogTable.
    • getTable

      CatalogTable getTable()
      Returns:
      table CatalogTable instance.
    • getConfiguration

      org.apache.flink.configuration.ReadableConfig getConfiguration()
      Returns:
      readable config of this table environment. The configuration gives the ability to access TableConfig#getConfiguration() which holds the current TableEnvironment session configurations.
    • isBounded

      boolean isBounded()
      It depends on whether the TableEnvironment execution mode is batch.

      In the future, the new sink interface will infer from input to source. See Source.getBoundedness().

    • isTemporary

      boolean isTemporary()
      Whether the table is temporary.