Class ShowPartitionsOperation

java.lang.Object
org.apache.flink.table.operations.ShowPartitionsOperation
All Implemented Interfaces:
ExecutableOperation, Operation, ShowOperation

@Internal public class ShowPartitionsOperation extends Object implements ShowOperation
Operation to describe a SHOW PARTITIONS statement.
  • Field Details

    • tableIdentifier

      protected final org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier
  • Constructor Details

    • ShowPartitionsOperation

      public ShowPartitionsOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, @Nullable org.apache.flink.table.catalog.CatalogPartitionSpec partitionSpec)
    • ShowPartitionsOperation

      public ShowPartitionsOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, @Nullable org.apache.flink.table.catalog.CatalogPartitionSpec partitionSpec, @Nullable String defaultPartitionName)
  • Method Details

    • getTableIdentifier

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

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