@Internal public class ReplaceTableAsOperation extends Object implements ModifyOperation
Constructor and Description |
---|
ReplaceTableAsOperation(CreateTableOperation createTableOperation,
QueryOperation sinkModifyQuery,
boolean isCreateOrReplace) |
Modifier and Type | Method and 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 |
isCreateOrReplace() |
SinkModifyOperation |
toSinkModifyOperation(CatalogManager catalogManager) |
StagedSinkModifyOperation |
toStagedSinkModifyOperation(ObjectIdentifier tableIdentifier,
ResolvedCatalogTable catalogTable,
Catalog catalog,
DynamicTableSink dynamicTableSink) |
public ReplaceTableAsOperation(CreateTableOperation createTableOperation, QueryOperation sinkModifyQuery, boolean isCreateOrReplace)
public QueryOperation getChild()
getChild
in interface ModifyOperation
public <T> T accept(ModifyOperationVisitor<T> visitor)
accept
in interface ModifyOperation
public CreateTableOperation getCreateTableOperation()
public boolean isCreateOrReplace()
public SinkModifyOperation toSinkModifyOperation(CatalogManager catalogManager)
public StagedSinkModifyOperation toStagedSinkModifyOperation(ObjectIdentifier tableIdentifier, ResolvedCatalogTable catalogTable, Catalog catalog, DynamicTableSink dynamicTableSink)
public String asSummaryString()
Operation
asSummaryString
in interface Operation
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.