Class AlterTableChangeOperation

java.lang.Object
org.apache.flink.table.operations.ddl.AlterTableOperation
org.apache.flink.table.operations.ddl.AlterTableChangeOperation
All Implemented Interfaces:
AlterOperation, ExecutableOperation, Operation

@Internal public class AlterTableChangeOperation extends AlterTableOperation
Alter table with new table definition and table changes represents the modification.
  • Constructor Details

    • AlterTableChangeOperation

      public AlterTableChangeOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, List<org.apache.flink.table.catalog.TableChange> tableChanges, org.apache.flink.table.catalog.CatalogTable newTable, boolean ignoreIfNotExists)
  • Method Details

    • getTableChanges

      public List<org.apache.flink.table.catalog.TableChange> getTableChanges()
    • getNewTable

      public org.apache.flink.table.catalog.CatalogTable getNewTable()
    • 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.
      Returns:
      summary string of this operation for debugging purposes
    • toString

      public static String toString(org.apache.flink.table.catalog.TableChange tableChange)
    • execute

      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: