Class 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 Detail

      • CatalogPartitionSpec

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

      • getPartitionSpec

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

        public int hashCode()
        Overrides:
        hashCode in class Object