Class GroupByTimeEngineDataSet
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
-
- org.apache.iotdb.db.query.dataset.groupby.GroupByTimeDataSet
-
- org.apache.iotdb.db.query.dataset.groupby.GroupByTimeEngineDataSet
-
- Direct Known Subclasses:
GroupByWithoutValueFilterDataSet,GroupByWithValueFilterDataSet
public abstract class GroupByTimeEngineDataSet extends GroupByTimeDataSet
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.query.dataset.groupby.GroupByTimeDataSet
curAggregateResults, curAggrTimeRange, curPreAggrTimeRange, endTime, hasCachedTimeInterval, interval, isIntervalByMonth, isSlidingStepByMonth, leftCRightO, queryId, slidingStep, slidingWindowGroupByExecutors, startTime
-
-
Constructor Summary
Constructors Constructor Description GroupByTimeEngineDataSet()GroupByTimeEngineDataSet(QueryContext context, GroupByTimePlan groupByTimePlan)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.apache.iotdb.tsfile.read.common.RowRecordconstructRowRecord(AggregateResult[] aggregateResultList)AggregateResult[]getCurAggregateResults()protected abstract AggregateResult[]getNextAggregateResult()protected booleanisEndCal()org.apache.iotdb.tsfile.read.common.RowRecordnextWithoutConstraint()protected voidupdatePreAggrInterval()-
Methods inherited from class org.apache.iotdb.db.query.dataset.groupby.GroupByTimeDataSet
getStartTime, hasNextWithoutConstraint, initGroupByTimeDataSetFields, nextTimePartition
-
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
-
-
-
-
Constructor Detail
-
GroupByTimeEngineDataSet
public GroupByTimeEngineDataSet()
-
GroupByTimeEngineDataSet
public GroupByTimeEngineDataSet(QueryContext context, GroupByTimePlan groupByTimePlan)
-
-
Method Detail
-
nextWithoutConstraint
public org.apache.iotdb.tsfile.read.common.RowRecord nextWithoutConstraint() throws java.io.IOException- Specified by:
nextWithoutConstraintin classGroupByTimeDataSet- Throws:
java.io.IOException
-
getNextAggregateResult
protected abstract AggregateResult[] getNextAggregateResult() throws java.io.IOException
- Throws:
java.io.IOException
-
constructRowRecord
protected org.apache.iotdb.tsfile.read.common.RowRecord constructRowRecord(AggregateResult[] aggregateResultList)
-
isEndCal
protected boolean isEndCal()
-
updatePreAggrInterval
protected void updatePreAggrInterval()
-
getCurAggregateResults
public AggregateResult[] getCurAggregateResults()
-
-