Interface TableSinkFactory.Context
-
- All Known Implementing Classes:
TableSinkFactoryContextImpl
- Enclosing interface:
- TableSinkFactory<T>
@Internal public static interface TableSinkFactory.ContextContext of table sink creation. Contains table information and environment information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.flink.configuration.ReadableConfiggetConfiguration()ObjectIdentifiergetObjectIdentifier()CatalogTablegetTable()booleanisBounded()It depends on whether theTableEnvironmentexecution mode is batch.booleanisTemporary()Whether the table is temporary.
-
-
-
Method Detail
-
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.
-
-