Class RawQueryDataSetWithValueFilter
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
-
- org.apache.iotdb.db.query.dataset.RawQueryDataSetWithValueFilter
-
- All Implemented Interfaces:
IUDFInputDataSet
public class RawQueryDataSetWithValueFilter extends org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet implements IUDFInputDataSet
-
-
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 booleanhasNextRowInObjects()Whether the data set has next row.booleanhasNextWithoutConstraint()java.lang.Object[]nextRowInObjects()Get the next row for UDFPlan input.org.apache.iotdb.tsfile.read.common.RowRecordnextWithoutConstraint()-
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
-
Methods inherited from interface org.apache.iotdb.db.mpp.transformation.dag.input.IUDFInputDataSet
canYieldNextRowInObjects, getDataTypes
-
-
-
-
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 structuredataTypes- time series data typetimeGenerator- EngineTimeGenerator objectreaders- readers in List(IReaderByTimeStamp) structureascending- 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:
hasNextWithoutConstraintin classorg.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:
nextWithoutConstraintin classorg.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.IOExceptionDescription copied from interface:IUDFInputDataSetWhether the data set has next row.- Specified by:
hasNextRowInObjectsin interfaceIUDFInputDataSet- Throws:
java.io.IOException
-
nextRowInObjects
public java.lang.Object[] nextRowInObjects() throws java.io.IOExceptionDescription copied from interface:IUDFInputDataSetGet the next row for UDFPlan input.The last element in the row is the timestamp.
- Specified by:
nextRowInObjectsin interfaceIUDFInputDataSet- Throws:
java.io.IOException
-
-