Class AlterMaterializedTableChangeOperation
- java.lang.Object
-
- org.apache.flink.table.operations.materializedtable.AlterMaterializedTableOperation
-
- org.apache.flink.table.operations.materializedtable.AlterMaterializedTableChangeOperation
-
- All Implemented Interfaces:
AlterOperation,ExecutableOperation,MaterializedTableOperation,Operation
- Direct Known Subclasses:
AlterMaterializedTableAsQueryOperation,FullAlterMaterializedTableOperation
@Internal public class AlterMaterializedTableChangeOperation extends AlterMaterializedTableOperation
Alter materialized table with new table definition and table changes represents the modification.
-
-
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 AlterMaterializedTableChangeOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, Function<org.apache.flink.table.catalog.ResolvedCatalogMaterializedTable,List<org.apache.flink.table.catalog.TableChange>> tableChangeForTable, org.apache.flink.table.catalog.ResolvedCatalogMaterializedTable oldTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasSummaryString()Returns a string that summarizes this operation for printing to a console.AlterMaterializedTableChangeOperationcopyAsTableChangeOperation()TableResultInternalexecute(ExecutableOperation.Context ctx)Executes the given operation and return the execution result.protected MaterializedTableChangeHandlergetHandlerWithChanges()org.apache.flink.table.catalog.CatalogMaterializedTablegetNewTable()protected StringgetOperationName()List<org.apache.flink.table.catalog.TableChange>getTableChanges()-
Methods inherited from class org.apache.flink.table.operations.materializedtable.AlterMaterializedTableOperation
getTableIdentifier
-
-
-
-
Constructor Detail
-
AlterMaterializedTableChangeOperation
public AlterMaterializedTableChangeOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, Function<org.apache.flink.table.catalog.ResolvedCatalogMaterializedTable,List<org.apache.flink.table.catalog.TableChange>> tableChangeForTable, org.apache.flink.table.catalog.ResolvedCatalogMaterializedTable oldTable)
-
-
Method Detail
-
getTableChanges
public List<org.apache.flink.table.catalog.TableChange> getTableChanges()
-
copyAsTableChangeOperation
public AlterMaterializedTableChangeOperation copyAsTableChangeOperation()
-
getNewTable
public org.apache.flink.table.catalog.CatalogMaterializedTable getNewTable()
-
getHandlerWithChanges
protected MaterializedTableChangeHandler getHandlerWithChanges()
-
execute
public TableResultInternal execute(ExecutableOperation.Context ctx)
Description copied from interface:ExecutableOperationExecutes 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)
-
asSummaryString
public String asSummaryString()
Description copied from interface:OperationReturns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Returns:
- summary string of this operation for debugging purposes
-
getOperationName
protected String getOperationName()
-
-