Class CreateTableASOperation
java.lang.Object
org.apache.flink.table.operations.CreateTableASOperation
- All Implemented Interfaces:
ModifyOperation,Operation
Operation to describe a CREATE TABLE AS statement.
-
Constructor Summary
ConstructorsConstructorDescriptionCreateTableASOperation(CreateTableOperation createTableOperation, Map<String, String> sinkModifyStaticPartitions, QueryOperation sinkModifyQuery, boolean sinkModifyOverwrite) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ModifyOperationVisitor<T> visitor) Returns a string that summarizes this operation for printing to a console.getChild()booleantoSinkModifyOperation(CatalogManager catalogManager) toStagedSinkModifyOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, org.apache.flink.table.catalog.ResolvedCatalogTable catalogTable, org.apache.flink.table.catalog.Catalog catalog, org.apache.flink.table.connector.sink.DynamicTableSink dynamicTableSink)
-
Constructor Details
-
CreateTableASOperation
public CreateTableASOperation(CreateTableOperation createTableOperation, Map<String, String> sinkModifyStaticPartitions, QueryOperation sinkModifyQuery, boolean sinkModifyOverwrite)
-
-
Method Details
-
getCreateTableOperation
-
getSinkModifyStaticPartitions
-
getSinkModifyOverwrite
public boolean getSinkModifyOverwrite() -
toSinkModifyOperation
-
toStagedSinkModifyOperation
public StagedSinkModifyOperation toStagedSinkModifyOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, org.apache.flink.table.catalog.ResolvedCatalogTable catalogTable, org.apache.flink.table.catalog.Catalog catalog, org.apache.flink.table.connector.sink.DynamicTableSink dynamicTableSink) -
asSummaryString
Description copied from interface:OperationReturns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryStringin interfaceOperation- Returns:
- summary string of this operation for debugging purposes
-
getChild
- Specified by:
getChildin interfaceModifyOperation
-
accept
- Specified by:
acceptin interfaceModifyOperation
-