Class RawQueryDataSetWithoutValueFilter

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected class  RawQueryDataSetWithoutValueFilter.ReadTask  
      • Nested classes/interfaces inherited from class org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet

        org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet.EndPoint
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void cacheNext​(int seriesIndex)  
      org.apache.iotdb.service.rpc.thrift.TSQueryDataSet fillBuffer​(int fetchSize, WatermarkEncoder encoder)
      for RPC in RawData query between client and server fill time buffer, value buffers and bitmap buffers
      protected void fillCache​(int seriesIndex)  
      protected RawQueryDataSetWithoutValueFilter.ReadTask generateReadTaskForGivenReader​(ManagedSeriesReader reader, int seriesIndex)  
      boolean hasNextWithoutConstraint()
      for spark/hadoop/hive integration and test
      org.apache.iotdb.tsfile.read.common.RowRecord nextWithoutConstraint()
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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.InterruptedException
        constructor of EngineDataSetWithoutValueFilter.
        Parameters:
        readers - readers in List(IPointReader) structure
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • RawQueryDataSetWithoutValueFilter

        public RawQueryDataSetWithoutValueFilter​(long queryId)
        Dummy dataSet for redirect query.
        Parameters:
        queryId - queryId for the query.
    • Method Detail

      • fillBuffer

        public org.apache.iotdb.service.rpc.thrift.TSQueryDataSet fillBuffer​(int fetchSize,
                                                                             WatermarkEncoder encoder)
                                                                      throws java.io.IOException,
                                                                             java.lang.InterruptedException
        for RPC in RawData query between client and server fill time buffer, value buffers and bitmap buffers
        Specified by:
        fillBuffer in interface DirectAlignByTimeDataSet
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • fillCache

        protected void fillCache​(int seriesIndex)
                          throws java.io.IOException,
                                 java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • hasNextWithoutConstraint

        public boolean hasNextWithoutConstraint()
        for spark/hadoop/hive integration and test
        Specified by:
        hasNextWithoutConstraint in class org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
      • nextWithoutConstraint

        public org.apache.iotdb.tsfile.read.common.RowRecord nextWithoutConstraint()
                                                                            throws java.io.IOException
        for spark/hadoop/hive integration and test
        Specified by:
        nextWithoutConstraint in class org.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