Class MemChunkReader

  • All Implemented Interfaces:
    org.apache.iotdb.tsfile.read.reader.IChunkReader, org.apache.iotdb.tsfile.read.reader.IPointReader

    public class MemChunkReader
    extends java.lang.Object
    implements org.apache.iotdb.tsfile.read.reader.IChunkReader, org.apache.iotdb.tsfile.read.reader.IPointReader
    To read chunk data in memory
    • Constructor Detail

      • MemChunkReader

        public MemChunkReader​(ReadOnlyMemChunk readableChunk,
                              org.apache.iotdb.tsfile.read.filter.basic.Filter filter)
    • Method Detail

      • hasNextTimeValuePair

        public boolean hasNextTimeValuePair()
                                     throws java.io.IOException
        Specified by:
        hasNextTimeValuePair in interface org.apache.iotdb.tsfile.read.reader.IPointReader
        Throws:
        java.io.IOException
      • nextTimeValuePair

        public org.apache.iotdb.tsfile.read.TimeValuePair nextTimeValuePair()
                                                                     throws java.io.IOException
        Specified by:
        nextTimeValuePair in interface org.apache.iotdb.tsfile.read.reader.IPointReader
        Throws:
        java.io.IOException
      • currentTimeValuePair

        public org.apache.iotdb.tsfile.read.TimeValuePair currentTimeValuePair()
                                                                        throws java.io.IOException
        Specified by:
        currentTimeValuePair in interface org.apache.iotdb.tsfile.read.reader.IPointReader
        Throws:
        java.io.IOException
      • hasNextSatisfiedPage

        public boolean hasNextSatisfiedPage()
                                     throws java.io.IOException
        Specified by:
        hasNextSatisfiedPage in interface org.apache.iotdb.tsfile.read.reader.IChunkReader
        Throws:
        java.io.IOException
      • nextPageData

        public org.apache.iotdb.tsfile.read.common.BatchData nextPageData()
                                                                   throws java.io.IOException
        Specified by:
        nextPageData in interface org.apache.iotdb.tsfile.read.reader.IChunkReader
        Throws:
        java.io.IOException
      • close

        public void close()
        Specified by:
        close in interface org.apache.iotdb.tsfile.read.reader.IChunkReader
        Specified by:
        close in interface org.apache.iotdb.tsfile.read.reader.IPointReader
      • loadPageReaderList

        public java.util.List<org.apache.iotdb.tsfile.read.reader.IPageReader> loadPageReaderList()
        Specified by:
        loadPageReaderList in interface org.apache.iotdb.tsfile.read.reader.IChunkReader