Class SeriesDataBlockReader
- java.lang.Object
-
- org.apache.iotdb.db.engine.compaction.reader.SeriesDataBlockReader
-
- All Implemented Interfaces:
IDataBlockReader
public class SeriesDataBlockReader extends java.lang.Object implements IDataBlockReader
-
-
Constructor Summary
Constructors Constructor Description SeriesDataBlockReader(org.apache.iotdb.commons.path.PartialPath seriesPath, java.util.Set<java.lang.String> allSensors, org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, FragmentInstanceContext context, QueryDataSource dataSource, boolean ascending)SeriesDataBlockReader(org.apache.iotdb.commons.path.PartialPath seriesPath, org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, FragmentInstanceContext context, java.util.List<TsFileResource> seqFileResource, java.util.List<TsFileResource> unseqFileResource, boolean ascending)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNextBatch()org.apache.iotdb.tsfile.read.common.block.TsBlocknextBatch()
-
-
-
Constructor Detail
-
SeriesDataBlockReader
public SeriesDataBlockReader(org.apache.iotdb.commons.path.PartialPath seriesPath, java.util.Set<java.lang.String> allSensors, org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, FragmentInstanceContext context, QueryDataSource dataSource, boolean ascending)
-
SeriesDataBlockReader
public SeriesDataBlockReader(org.apache.iotdb.commons.path.PartialPath seriesPath, org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, FragmentInstanceContext context, java.util.List<TsFileResource> seqFileResource, java.util.List<TsFileResource> unseqFileResource, boolean ascending)
-
-
Method Detail
-
hasNextBatch
public boolean hasNextBatch() throws java.io.IOException- Specified by:
hasNextBatchin interfaceIDataBlockReader- Throws:
java.io.IOException
-
nextBatch
public org.apache.iotdb.tsfile.read.common.block.TsBlock nextBatch() throws java.io.IOException- Specified by:
nextBatchin interfaceIDataBlockReader- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceIDataBlockReader- Throws:
java.io.IOException
-
-