Class CreateTableASOperation
- java.lang.Object
-
- org.apache.flink.table.operations.CreateTableASOperation
-
- All Implemented Interfaces:
ModifyOperation
,Operation
@Internal public class CreateTableASOperation extends Object implements ModifyOperation
Operation to describe a CREATE TABLE AS statement.
-
-
Constructor Summary
Constructors Constructor Description CreateTableASOperation(CreateTableOperation createTableOperation, Map<String,String> sinkModifyStaticPartitions, QueryOperation sinkModifyQuery, boolean sinkModifyOverwrite)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(ModifyOperationVisitor<T> visitor)
String
asSummaryString()
Returns a string that summarizes this operation for printing to a console.QueryOperation
getChild()
CreateTableOperation
getCreateTableOperation()
boolean
getSinkModifyOverwrite()
Map<String,String>
getSinkModifyStaticPartitions()
SinkModifyOperation
toSinkModifyOperation(CatalogManager catalogManager)
StagedSinkModifyOperation
toStagedSinkModifyOperation(ObjectIdentifier tableIdentifier, ResolvedCatalogTable catalogTable, Catalog catalog, DynamicTableSink dynamicTableSink)
-
-
-
Constructor Detail
-
CreateTableASOperation
public CreateTableASOperation(CreateTableOperation createTableOperation, Map<String,String> sinkModifyStaticPartitions, QueryOperation sinkModifyQuery, boolean sinkModifyOverwrite)
-
-
Method Detail
-
getCreateTableOperation
public CreateTableOperation getCreateTableOperation()
-
getSinkModifyOverwrite
public boolean getSinkModifyOverwrite()
-
toSinkModifyOperation
public SinkModifyOperation toSinkModifyOperation(CatalogManager catalogManager)
-
toStagedSinkModifyOperation
public StagedSinkModifyOperation toStagedSinkModifyOperation(ObjectIdentifier tableIdentifier, ResolvedCatalogTable catalogTable, Catalog catalog, DynamicTableSink dynamicTableSink)
-
asSummaryString
public String asSummaryString()
Description copied from interface:Operation
Returns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryString
in interfaceOperation
- Returns:
- summary string of this operation for debugging purposes
-
getChild
public QueryOperation getChild()
- Specified by:
getChild
in interfaceModifyOperation
-
accept
public <T> T accept(ModifyOperationVisitor<T> visitor)
- Specified by:
accept
in interfaceModifyOperation
-
-