Class AnalyzeTableOperation

java.lang.Object
org.apache.flink.table.operations.ddl.AnalyzeTableOperation
All Implemented Interfaces:
Operation

@Internal public class AnalyzeTableOperation extends Object implements Operation
Operation to describe an ANALYZE TABLE statement.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AnalyzeTableOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, List<org.apache.flink.table.catalog.CatalogPartitionSpec> partitionSpecs, List<org.apache.flink.table.catalog.Column> columns)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a string that summarizes this operation for printing to a console.
    List<org.apache.flink.table.catalog.Column>
     
    Optional<List<org.apache.flink.table.catalog.CatalogPartitionSpec>>
    Returns Optional.empty() if the table is not a partition table, else returns the given partition specs.
    org.apache.flink.table.catalog.ObjectIdentifier
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AnalyzeTableOperation

      public AnalyzeTableOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, @Nullable List<org.apache.flink.table.catalog.CatalogPartitionSpec> partitionSpecs, List<org.apache.flink.table.catalog.Column> columns)
  • Method Details

    • getTableIdentifier

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

      public Optional<List<org.apache.flink.table.catalog.CatalogPartitionSpec>> getPartitionSpecs()
      Returns Optional.empty() if the table is not a partition table, else returns the given partition specs.
    • getColumns

      public List<org.apache.flink.table.catalog.Column> getColumns()
    • 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