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 Summary
Modifier and TypeMethodDescriptionorg.apache.flink.configuration.ReadableConfiggetTable()booleanIt depends on whether theTableEnvironmentexecution mode is batch.booleanWhether the table is temporary.
-
Method Details
-
getObjectIdentifier
ObjectIdentifier getObjectIdentifier()- Returns:
- full identifier of the given
CatalogTable.
-
getTable
CatalogTable getTable()- Returns:
- table
CatalogTableinstance.
-
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 currentTableEnvironmentsession configurations.
-
isBounded
boolean isBounded()It depends on whether theTableEnvironmentexecution 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.
-