Class CatalogPartitionSpec

java.lang.Object
org.apache.flink.table.catalog.CatalogPartitionSpec

@PublicEvolving public class CatalogPartitionSpec extends Object
Represents a partition spec object in catalog. Partition columns and values are NOT of strict order, and they need to be re-arranged to the correct order by comparing with a list of strictly ordered partition keys.
  • Constructor Details

    • CatalogPartitionSpec

      public CatalogPartitionSpec(Map<String,String> partitionSpec)
  • Method Details

    • getPartitionSpec

      public Map<String,String> getPartitionSpec()
      Get the partition spec as key-value map.
      Returns:
      a map of partition spec keys and values
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object