Class RawQueryDataSetWithoutValueFilter
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
-
- org.apache.iotdb.db.query.dataset.RawQueryDataSetWithoutValueFilter
-
- All Implemented Interfaces:
DirectAlignByTimeDataSet
- Direct Known Subclasses:
UDFRawQueryInputDataSetWithoutValueFilter
public class RawQueryDataSetWithoutValueFilter extends org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet implements DirectAlignByTimeDataSet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classRawQueryDataSetWithoutValueFilter.ReadTask
-
Field Summary
Fields Modifier and Type Field Description protected int[]batchDataLengthListprotected java.util.concurrent.BlockingQueue<org.apache.iotdb.tsfile.read.common.BatchData>[]blockingQueueArrayprotected org.apache.iotdb.tsfile.read.common.BatchData[]cachedBatchDataArrayprotected boolean[]noMoreDataInQueueArrayprotected intoriginalRowOffsetprotected java.util.List<ManagedSeriesReader>seriesReaderListprotected TimeSelectortimeHeap-
Fields inherited from class org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
alreadyReturnedRowNum, ascending, columnNum, dataTypes, endPoint, fetchSize, paths, rowLimit, rowOffset, withoutAllNull, withoutAnyNull, withoutNullColumnsIndex
-
Fields inherited from interface org.apache.iotdb.db.query.dataset.DirectAlignByTimeDataSet
FLAG
-
-
Constructor Summary
Constructors Constructor Description RawQueryDataSetWithoutValueFilter(long queryId)Dummy dataSet for redirect query.RawQueryDataSetWithoutValueFilter(long queryId, RawDataQueryPlan queryPlan, java.util.List<ManagedSeriesReader> readers)constructor of EngineDataSetWithoutValueFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcacheNext(int seriesIndex)org.apache.iotdb.service.rpc.thrift.TSQueryDataSetfillBuffer(int fetchSize, WatermarkEncoder encoder)for RPC in RawData query between client and server fill time buffer, value buffers and bitmap buffersprotected voidfillCache(int seriesIndex)protected RawQueryDataSetWithoutValueFilter.ReadTaskgenerateReadTaskForGivenReader(ManagedSeriesReader reader, int seriesIndex)booleanhasNextWithoutConstraint()for spark/hadoop/hive integration and testorg.apache.iotdb.tsfile.read.common.RowRecordnextWithoutConstraint()for spark/hadoop/hive integration and test-
Methods inherited from class org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
decreaseAlreadyReturnedRowNum, getColumnNum, getDataTypes, getEndPoint, getPaths, getRowLimit, getRowOffset, getWithoutNullColumnsIndex, hasLimit, hasNext, initQueryDataSetFields, isWithoutAllNull, isWithoutAnyNull, next, setColumnNum, setDataTypes, setEndPoint, setFetchSize, setRowLimit, setRowOffset, setWithoutAllNull, setWithoutAnyNull, setWithoutNullColumnsIndex, withoutNullFilter
-
-
-
-
Field Detail
-
seriesReaderList
protected java.util.List<ManagedSeriesReader> seriesReaderList
-
timeHeap
protected TimeSelector timeHeap
-
blockingQueueArray
protected final java.util.concurrent.BlockingQueue<org.apache.iotdb.tsfile.read.common.BatchData>[] blockingQueueArray
-
noMoreDataInQueueArray
protected boolean[] noMoreDataInQueueArray
-
cachedBatchDataArray
protected org.apache.iotdb.tsfile.read.common.BatchData[] cachedBatchDataArray
-
batchDataLengthList
protected int[] batchDataLengthList
-
originalRowOffset
protected final int originalRowOffset
-
-
Constructor Detail
-
RawQueryDataSetWithoutValueFilter
public RawQueryDataSetWithoutValueFilter(long queryId, RawDataQueryPlan queryPlan, java.util.List<ManagedSeriesReader> readers) throws java.io.IOException, java.lang.InterruptedExceptionconstructor of EngineDataSetWithoutValueFilter.- Parameters:
readers- readers in List(IPointReader) structure- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
RawQueryDataSetWithoutValueFilter
public RawQueryDataSetWithoutValueFilter(long queryId)
Dummy dataSet for redirect query.- Parameters:
queryId- queryId for the query.
-
-
Method Detail
-
generateReadTaskForGivenReader
protected RawQueryDataSetWithoutValueFilter.ReadTask generateReadTaskForGivenReader(ManagedSeriesReader reader, int seriesIndex)
-
fillBuffer
public org.apache.iotdb.service.rpc.thrift.TSQueryDataSet fillBuffer(int fetchSize, WatermarkEncoder encoder) throws java.io.IOException, java.lang.InterruptedExceptionfor RPC in RawData query between client and server fill time buffer, value buffers and bitmap buffers- Specified by:
fillBufferin interfaceDirectAlignByTimeDataSet- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
fillCache
protected void fillCache(int seriesIndex) throws java.io.IOException, java.lang.InterruptedException- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
hasNextWithoutConstraint
public boolean hasNextWithoutConstraint()
for spark/hadoop/hive integration and test- Specified by:
hasNextWithoutConstraintin classorg.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
-
nextWithoutConstraint
public org.apache.iotdb.tsfile.read.common.RowRecord nextWithoutConstraint() throws java.io.IOExceptionfor spark/hadoop/hive integration and test- Specified by:
nextWithoutConstraintin classorg.apache.iotdb.tsfile.read.query.dataset.QueryDataSet- Throws:
java.io.IOException
-
cacheNext
protected void cacheNext(int seriesIndex) throws java.io.IOException- Throws:
java.io.IOException
-
-