Class CreateViewOperation

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

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

    • CreateViewOperation

      public CreateViewOperation(org.apache.flink.table.catalog.ObjectIdentifier viewIdentifier, org.apache.flink.table.catalog.CatalogView catalogView, boolean ignoreIfExists, boolean isTemporary)
  • Method Details

    • getCatalogView

      public org.apache.flink.table.catalog.CatalogView getCatalogView()
    • getViewIdentifier

      public org.apache.flink.table.catalog.ObjectIdentifier getViewIdentifier()
    • 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: