Class LazyLoadAlignedPagePointReader
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.reader.page.LazyLoadAlignedPagePointReader
-
- All Implemented Interfaces:
IPointReader
public class LazyLoadAlignedPagePointReader extends Object implements IPointReader
This class is used to read data of aligned-series row by row. It won't deserialize all data point of one page in memory. In contrast, it constructs row one by one as needed
-
-
Constructor Summary
Constructors Constructor Description LazyLoadAlignedPagePointReader(TimePageReader timeReader, List<ValuePageReader> valueReaders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()TimeValuePaircurrentTimeValuePair()booleanhasNextTimeValuePair()TimeValuePairnextTimeValuePair()
-
-
-
Constructor Detail
-
LazyLoadAlignedPagePointReader
public LazyLoadAlignedPagePointReader(TimePageReader timeReader, List<ValuePageReader> valueReaders) throws IOException
- Throws:
IOException
-
-
Method Detail
-
hasNextTimeValuePair
public boolean hasNextTimeValuePair() throws IOException- Specified by:
hasNextTimeValuePairin interfaceIPointReader- Throws:
IOException
-
nextTimeValuePair
public TimeValuePair nextTimeValuePair() throws IOException
- Specified by:
nextTimeValuePairin interfaceIPointReader- Throws:
IOException
-
currentTimeValuePair
public TimeValuePair currentTimeValuePair() throws IOException
- Specified by:
currentTimeValuePairin interfaceIPointReader- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceIPointReader- Throws:
IOException
-
-