Class ChunkDataIterator

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

    public class ChunkDataIterator
    extends java.lang.Object
    implements org.apache.iotdb.tsfile.read.reader.IPointReader
    To read chunk data on disk, this class implements an interface IPointReader based on the data reader ChunkReader.

    Note that ChunkReader is an abstract class with three concrete classes, two of which are used here: ChunkReaderWithoutFilter and ChunkReaderWithFilter .

    • Constructor Summary

      Constructors 
      Constructor Description
      ChunkDataIterator​(org.apache.iotdb.tsfile.read.reader.IChunkReader chunkReader)  
    • Constructor Detail

      • ChunkDataIterator

        public ChunkDataIterator​(org.apache.iotdb.tsfile.read.reader.IChunkReader chunkReader)
    • 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()
        Specified by:
        nextTimeValuePair in interface org.apache.iotdb.tsfile.read.reader.IPointReader
      • currentTimeValuePair

        public org.apache.iotdb.tsfile.read.TimeValuePair currentTimeValuePair()
        Specified by:
        currentTimeValuePair in interface org.apache.iotdb.tsfile.read.reader.IPointReader
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface org.apache.iotdb.tsfile.read.reader.IPointReader
        Throws:
        java.io.IOException