Class CreateTableOperation

java.lang.Object
org.apache.flink.table.operations.ddl.CreateTableOperation
All Implemented Interfaces:
CreateOperation, ExecutableOperation, Operation

@Internal public class CreateTableOperation extends Object implements CreateOperation
Operation to describe a CREATE TABLE statement.
  • Constructor Details

    • CreateTableOperation

      public CreateTableOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, org.apache.flink.table.catalog.ResolvedCatalogTable catalogTable, boolean ignoreIfExists, boolean isTemporary)
  • Method Details

    • getCatalogTable

      public org.apache.flink.table.catalog.ResolvedCatalogTable getCatalogTable()
    • getTableIdentifier

      public org.apache.flink.table.catalog.ObjectIdentifier getTableIdentifier()
    • isIgnoreIfExists

      public boolean isIgnoreIfExists()
    • isTemporary

      public boolean isTemporary()
    • 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.
      Specified by:
      asSummaryString in interface Operation
      Returns:
      summary string of this operation for debugging purposes
    • execute

      Description copied from interface: ExecutableOperation
      Executes the given operation and return the execution result.
      Specified by:
      execute in interface ExecutableOperation
      Parameters:
      ctx - the context to execute the operation.
      Returns:
      the content of the execution result.
      See Also: