Class ChunkDataIterator
- java.lang.Object
-
- org.apache.iotdb.db.query.reader.chunk.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.IPointReaderTo read chunk data on disk, this class implements an interfaceIPointReaderbased on the data readerChunkReader.Note that
ChunkReaderis an abstract class with three concrete classes, two of which are used here:ChunkReaderWithoutFilterandChunkReaderWithFilter.
-
-
Constructor Summary
Constructors Constructor Description ChunkDataIterator(org.apache.iotdb.tsfile.read.reader.IChunkReader chunkReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.apache.iotdb.tsfile.read.TimeValuePaircurrentTimeValuePair()booleanhasNextTimeValuePair()org.apache.iotdb.tsfile.read.TimeValuePairnextTimeValuePair()
-
-
-
Method Detail
-
hasNextTimeValuePair
public boolean hasNextTimeValuePair() throws java.io.IOException- Specified by:
hasNextTimeValuePairin interfaceorg.apache.iotdb.tsfile.read.reader.IPointReader- Throws:
java.io.IOException
-
nextTimeValuePair
public org.apache.iotdb.tsfile.read.TimeValuePair nextTimeValuePair()
- Specified by:
nextTimeValuePairin interfaceorg.apache.iotdb.tsfile.read.reader.IPointReader
-
currentTimeValuePair
public org.apache.iotdb.tsfile.read.TimeValuePair currentTimeValuePair()
- Specified by:
currentTimeValuePairin interfaceorg.apache.iotdb.tsfile.read.reader.IPointReader
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceorg.apache.iotdb.tsfile.read.reader.IPointReader- Throws:
java.io.IOException
-
-