Class UDTFNonAlignDataSet

    • Nested Class Summary

      • 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
      org.apache.iotdb.service.rpc.thrift.TSQueryNonAlignDataSet fillBuffer​(int fetchSize, WatermarkEncoder encoder)  
      protected org.apache.iotdb.tsfile.utils.Pair<java.nio.ByteBuffer,​java.nio.ByteBuffer> fillColumnBuffer​(int transformedDataColumnIndex, int fetchSize, WatermarkEncoder encoder)  
      boolean hasNextWithoutConstraint()  
      protected void init()
      offsetArray can not be initialized in the constructor, because rowOffset is set after the DataSet's construction.
      org.apache.iotdb.tsfile.read.common.RowRecord nextWithoutConstraint()  
      • 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

      • isInitialized

        protected boolean isInitialized
      • alreadyReturnedRowNumArray

        protected int[] alreadyReturnedRowNumArray
      • offsetArray

        protected int[] offsetArray
    • Constructor Detail

      • UDTFNonAlignDataSet

        public UDTFNonAlignDataSet​(QueryContext context,
                                   UDTFPlan udtfPlan,
                                   org.apache.iotdb.tsfile.read.query.timegenerator.TimeGenerator timestampGenerator,
                                   java.util.List<IReaderByTimestamp> readersOfSelectedSeries,
                                   java.util.List<java.util.List<java.lang.Integer>> readerToIndexList,
                                   java.util.List<java.lang.Boolean> cached)
                            throws java.io.IOException,
                                   QueryProcessException
        execute with value filter
        Throws:
        java.io.IOException
        QueryProcessException
    • Method Detail

      • init

        protected void init()
        offsetArray can not be initialized in the constructor, because rowOffset is set after the DataSet's construction. note that this method only can be called once in a query.
      • fillColumnBuffer

        protected org.apache.iotdb.tsfile.utils.Pair<java.nio.ByteBuffer,​java.nio.ByteBuffer> fillColumnBuffer​(int transformedDataColumnIndex,
                                                                                                                     int fetchSize,
                                                                                                                     WatermarkEncoder encoder)
                                                                                                              throws java.io.IOException,
                                                                                                                     QueryProcessException
        Throws:
        java.io.IOException
        QueryProcessException
      • hasNextWithoutConstraint

        public boolean hasNextWithoutConstraint()
        Specified by:
        hasNextWithoutConstraint in class org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
      • nextWithoutConstraint

        public org.apache.iotdb.tsfile.read.common.RowRecord nextWithoutConstraint()
        Specified by:
        nextWithoutConstraint in class org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet