Class SegmentPartitionConfig

    • Field Detail

    • Method Detail

      • getFunctionName

        @Nullable
        public String getFunctionName​(String column)
        Returns the partition function for the given column, null if there isn't one.
        Parameters:
        column - Column for which to return the partition function.
        Returns:
        Partition function for the column.
      • getNumPartitions

        public int getNumPartitions​(String column)
        Returns the number of partitions for the specified column. Returns INVALID_NUM_PARTITIONS if it does not exist for the column.
        Parameters:
        column - Column for which to get number of partitions.
        Returns:
        Number of partitions of the column.