Class AlterTableRenameOperation
java.lang.Object
org.apache.flink.table.operations.ddl.AlterTableOperation
org.apache.flink.table.operations.ddl.AlterTableRenameOperation
- All Implemented Interfaces:
AlterOperation,ExecutableOperation,Operation
Operation to describe a ALTER TABLE .. RENAME to .. statement.
-
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.ddl.AlterTableOperation
ignoreIfTableNotExists, tableIdentifier -
Constructor Summary
ConstructorsConstructorDescriptionAlterTableRenameOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, org.apache.flink.table.catalog.ObjectIdentifier newTableIdentifier, boolean ignoreIfNotExists) -
Method Summary
Modifier and TypeMethodDescriptionReturns a string that summarizes this operation for printing to a console.Executes the given operation and return the execution result.org.apache.flink.table.catalog.ObjectIdentifierMethods inherited from class org.apache.flink.table.operations.ddl.AlterTableOperation
getTableIdentifier, ignoreIfTableNotExists
-
Constructor Details
-
AlterTableRenameOperation
public AlterTableRenameOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, org.apache.flink.table.catalog.ObjectIdentifier newTableIdentifier, boolean ignoreIfNotExists)
-
-
Method Details
-
getNewTableIdentifier
public org.apache.flink.table.catalog.ObjectIdentifier getNewTableIdentifier() -
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
-
execute
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:
-