Class SimpleExternalSortEngine

    • Method Detail

      • executeForIPointReader

        public java.util.List<org.apache.iotdb.tsfile.read.reader.IPointReader> executeForIPointReader​(long queryId,
                                                                                                       java.util.List<ChunkReaderWrap> chunkReaderWraps)
                                                                                                throws java.io.IOException
        Description copied from interface: ExternalSortJobEngine
        Receive a list of ChunkReaderWraps and judge whether it should be processed using external sort. If needed, do the merge sort for all ChunkReaderWraps using specific strategy.
        Specified by:
        executeForIPointReader in interface ExternalSortJobEngine
        Parameters:
        queryId - query job id
        chunkReaderWraps - A list of ChunkReaderWrap
        Throws:
        java.io.IOException
      • executeForByTimestampReader

        public java.util.List<IReaderByTimestamp> executeForByTimestampReader​(long queryId,
                                                                              java.util.List<ChunkReaderWrap> chunkReaderWraps)
                                                                       throws java.io.IOException
        Description copied from interface: ExternalSortJobEngine
        Receive a list of chunkReaderWraps and judge whether it should be processed using external sort. If needed, do the merge sort for all ChunkReaderWraps using specific strategy.
        Specified by:
        executeForByTimestampReader in interface ExternalSortJobEngine
        chunkReaderWraps - A list of ChunkReaderWrap
        Throws:
        java.io.IOException