@Internal public class TableSinkFactoryContextImpl extends Object implements TableSinkFactory.Context
TableSinkFactory.Context.| 构造器和说明 |
|---|
TableSinkFactoryContextImpl(ObjectIdentifier identifier,
CatalogTable table,
org.apache.flink.configuration.ReadableConfig config,
boolean isBounded,
boolean isTemporary) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.configuration.ReadableConfig |
getConfiguration() |
ObjectIdentifier |
getObjectIdentifier() |
CatalogTable |
getTable() |
boolean |
isBounded()
It depends on whether the
TableEnvironment execution mode is batch. |
boolean |
isTemporary()
Whether the table is temporary.
|
public TableSinkFactoryContextImpl(ObjectIdentifier identifier, CatalogTable table, org.apache.flink.configuration.ReadableConfig config, boolean isBounded, boolean isTemporary)
public ObjectIdentifier getObjectIdentifier()
getObjectIdentifier 在接口中 TableSinkFactory.ContextCatalogTable.public CatalogTable getTable()
getTable 在接口中 TableSinkFactory.ContextCatalogTable instance.public org.apache.flink.configuration.ReadableConfig getConfiguration()
getConfiguration 在接口中 TableSinkFactory.ContextTableConfig#getConfiguration() which holds the current TableEnvironment session configurations.public boolean isBounded()
TableSinkFactory.ContextTableEnvironment execution mode is batch.
In the future, the new sink interface will infer from input to source. See Source.getBoundedness().
isBounded 在接口中 TableSinkFactory.Contextpublic boolean isTemporary()
TableSinkFactory.ContextisTemporary 在接口中 TableSinkFactory.ContextCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.