Class SqlDropPartitions

java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.SqlCall
org.apache.flink.sql.parser.ddl.SqlAlterTable
org.apache.flink.sql.parser.ddl.SqlDropPartitions
All Implemented Interfaces:
Cloneable

public class SqlDropPartitions extends SqlAlterTable
ALTER TABLE DDL to drop partitions of a table.
  • Constructor Details

    • SqlDropPartitions

      public SqlDropPartitions(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, boolean ifExists, List<org.apache.calcite.sql.SqlNodeList> partSpecs)
  • Method Details

    • ifExists

      public boolean ifExists()
    • getPartSpecs

      public List<org.apache.calcite.sql.SqlNodeList> getPartSpecs()
    • getPartitionKVs

      public LinkedHashMap<String,String> getPartitionKVs(int i)
    • unparse

      public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
      Overrides:
      unparse in class SqlAlterTable
    • getOperandList

      @Nonnull public List<org.apache.calcite.sql.SqlNode> getOperandList()
      Specified by:
      getOperandList in class org.apache.calcite.sql.SqlCall