Class AlterMaterializedTableAsQueryOperation
- java.lang.Object
-
- org.apache.flink.table.operations.materializedtable.AlterMaterializedTableOperation
-
- org.apache.flink.table.operations.materializedtable.AlterMaterializedTableAsQueryOperation
-
- All Implemented Interfaces:
AlterOperation
,ExecutableOperation
,MaterializedTableOperation
,Operation
@Internal public class AlterMaterializedTableAsQueryOperation extends AlterMaterializedTableOperation
Operation to describe an ALTER MATERIALIZED TABLE AS query operation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context
-
-
Field Summary
-
Fields inherited from class org.apache.flink.table.operations.materializedtable.AlterMaterializedTableOperation
tableIdentifier
-
-
Constructor Summary
Constructors Constructor Description AlterMaterializedTableAsQueryOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, List<org.apache.flink.table.catalog.TableChange.MaterializedTableChange> tableChanges, org.apache.flink.table.catalog.CatalogMaterializedTable newMaterializedTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asSummaryString()
Returns a string that summarizes this operation for printing to a console.TableResultInternal
execute(ExecutableOperation.Context ctx)
Executes the given operation and return the execution result.org.apache.flink.table.catalog.CatalogMaterializedTable
getNewMaterializedTable()
List<org.apache.flink.table.catalog.TableChange.MaterializedTableChange>
getTableChanges()
-
Methods inherited from class org.apache.flink.table.operations.materializedtable.AlterMaterializedTableOperation
getTableIdentifier
-
-
-
-
Constructor Detail
-
AlterMaterializedTableAsQueryOperation
public AlterMaterializedTableAsQueryOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, List<org.apache.flink.table.catalog.TableChange.MaterializedTableChange> tableChanges, org.apache.flink.table.catalog.CatalogMaterializedTable newMaterializedTable)
-
-
Method Detail
-
getTableChanges
public List<org.apache.flink.table.catalog.TableChange.MaterializedTableChange> getTableChanges()
-
getNewMaterializedTable
public org.apache.flink.table.catalog.CatalogMaterializedTable getNewMaterializedTable()
-
execute
public TableResultInternal execute(ExecutableOperation.Context ctx)
Description copied from interface:ExecutableOperation
Executes the given operation and return the execution result.- Parameters:
ctx
- the context to execute the operation.- Returns:
- the content of the execution result.
- See Also:
TableEnvironmentInternal.executeInternal(Operation)
-
-