Class ArrowResultChunkIndexSorter


  • public class ArrowResultChunkIndexSorter
    extends Object
    Use quick sort to sort Arrow result chunk The sorted order is represented in the indices vector
    • Constructor Detail

      • ArrowResultChunkIndexSorter

        public ArrowResultChunkIndexSorter​(List<org.apache.arrow.vector.ValueVector> resultChunk,
                                           List<ArrowVectorConverter> converters)
    • Method Detail

      • sort

        public org.apache.arrow.vector.IntVector sort()
                                               throws SFException
        This method is only used when sf-property sort is on
        Returns:
        sorted indices
        Throws:
        SFException