Class PinotSegmentSorter

    • Method Detail

      • getSortedDocIds

        public int[] getSortedDocIds​(List<String> sortOrder)
        Sort the segment by the sort order columns. Orderings are computed by comparing dictionary ids. TODO: add the support for no-dictionary and multi-value columns.
        Specified by:
        getSortedDocIds in interface SegmentSorter
        Parameters:
        sortOrder - a list of column names that represent the sorting order
        Returns:
        an array of sorted docIds