Class RawQueryDataSetWithValueFilter

  • All Implemented Interfaces:
    IUDFInputDataSet

    public class RawQueryDataSetWithValueFilter
    extends org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
    implements IUDFInputDataSet
    • 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
    • Field Summary

      • Fields inherited from class org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet

        alreadyReturnedRowNum, ascending, columnNum, dataTypes, endPoint, fetchSize, paths, rowLimit, rowOffset, withoutAllNull, withoutAnyNull, withoutNullColumnsIndex
    • Constructor Summary

      Constructors 
      Constructor Description
      RawQueryDataSetWithValueFilter​(java.util.List<org.apache.iotdb.commons.path.PartialPath> paths, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> dataTypes, org.apache.iotdb.tsfile.read.query.timegenerator.TimeGenerator timeGenerator, java.util.List<IReaderByTimestamp> readers, java.util.List<java.util.List<java.lang.Integer>> readerToIndexList, java.util.List<java.lang.Boolean> cached, boolean ascending)
      constructor of EngineDataSetWithValueFilter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNextRowInObjects()
      Whether the data set has next row.
      boolean hasNextWithoutConstraint()  
      java.lang.Object[] nextRowInObjects()
      Get the next row for UDFPlan input.
      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
    • Constructor Detail

      • RawQueryDataSetWithValueFilter

        public RawQueryDataSetWithValueFilter​(java.util.List<org.apache.iotdb.commons.path.PartialPath> paths,
                                              java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> dataTypes,
                                              org.apache.iotdb.tsfile.read.query.timegenerator.TimeGenerator timeGenerator,
                                              java.util.List<IReaderByTimestamp> readers,
                                              java.util.List<java.util.List<java.lang.Integer>> readerToIndexList,
                                              java.util.List<java.lang.Boolean> cached,
                                              boolean ascending)
        constructor of EngineDataSetWithValueFilter.
        Parameters:
        paths - paths in List structure
        dataTypes - time series data type
        timeGenerator - EngineTimeGenerator object
        readers - readers in List(IReaderByTimeStamp) structure
        ascending - specifies how the data should be sorted,'True' means read in ascending time order, and 'false' means read in descending time order
    • Method Detail

      • hasNextWithoutConstraint

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

        public org.apache.iotdb.tsfile.read.common.RowRecord nextWithoutConstraint()
                                                                            throws java.io.IOException
        Specified by:
        nextWithoutConstraint in class org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
        Returns:
        the first record of cached rows or null if there is no more data
        Throws:
        java.io.IOException
      • hasNextRowInObjects

        public boolean hasNextRowInObjects()
                                    throws java.io.IOException
        Description copied from interface: IUDFInputDataSet
        Whether the data set has next row.
        Specified by:
        hasNextRowInObjects in interface IUDFInputDataSet
        Throws:
        java.io.IOException
      • nextRowInObjects

        public java.lang.Object[] nextRowInObjects()
                                            throws java.io.IOException
        Description copied from interface: IUDFInputDataSet
        Get the next row for UDFPlan input.

        The last element in the row is the timestamp.

        Specified by:
        nextRowInObjects in interface IUDFInputDataSet
        Throws:
        java.io.IOException