Class GroupByTimeDataSet
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
-
- org.apache.iotdb.db.query.dataset.groupby.GroupByTimeDataSet
-
- Direct Known Subclasses:
GroupByFillDataSet,GroupByTimeEngineDataSet
public abstract class GroupByTimeDataSet extends org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
-
-
Field Summary
Fields Modifier and Type Field Description protected AggregateResult[]curAggregateResultsprotected org.apache.iotdb.tsfile.read.common.TimeRangecurAggrTimeRangeprotected org.apache.iotdb.tsfile.read.common.TimeRangecurPreAggrTimeRangeprotected longendTimeprotected booleanhasCachedTimeIntervalprotected longintervalprotected booleanisIntervalByMonthprotected booleanisSlidingStepByMonthprotected booleanleftCRightOprotected longqueryIdprotected longslidingStepprotected SlidingWindowGroupByExecutor[]slidingWindowGroupByExecutorsprotected longstartTime
-
Constructor Summary
Constructors Constructor Description GroupByTimeDataSet()GroupByTimeDataSet(QueryContext context, GroupByTimePlan groupByTimePlan)groupBy query.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description longgetStartTime()booleanhasNextWithoutConstraint()protected voidinitGroupByTimeDataSetFields(QueryContext context, GroupByTimePlan groupByTimePlan)org.apache.iotdb.tsfile.read.common.TimeRangenextTimePartition()abstract 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
-
-
-
-
Field Detail
-
queryId
protected long queryId
-
interval
protected long interval
-
slidingStep
protected long slidingStep
-
startTime
protected long startTime
-
endTime
protected long endTime
-
curAggrTimeRange
protected org.apache.iotdb.tsfile.read.common.TimeRange curAggrTimeRange
-
hasCachedTimeInterval
protected boolean hasCachedTimeInterval
-
curPreAggrTimeRange
protected org.apache.iotdb.tsfile.read.common.TimeRange curPreAggrTimeRange
-
leftCRightO
protected boolean leftCRightO
-
isIntervalByMonth
protected boolean isIntervalByMonth
-
isSlidingStepByMonth
protected boolean isSlidingStepByMonth
-
curAggregateResults
protected AggregateResult[] curAggregateResults
-
slidingWindowGroupByExecutors
protected SlidingWindowGroupByExecutor[] slidingWindowGroupByExecutors
-
-
Constructor Detail
-
GroupByTimeDataSet
public GroupByTimeDataSet()
-
GroupByTimeDataSet
public GroupByTimeDataSet(QueryContext context, GroupByTimePlan groupByTimePlan)
groupBy query.
-
-
Method Detail
-
initGroupByTimeDataSetFields
protected void initGroupByTimeDataSetFields(QueryContext context, GroupByTimePlan groupByTimePlan)
-
hasNextWithoutConstraint
public boolean hasNextWithoutConstraint()
- Specified by:
hasNextWithoutConstraintin classorg.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
-
nextWithoutConstraint
public abstract org.apache.iotdb.tsfile.read.common.RowRecord nextWithoutConstraint() throws java.io.IOException- Specified by:
nextWithoutConstraintin classorg.apache.iotdb.tsfile.read.query.dataset.QueryDataSet- Throws:
java.io.IOException
-
getStartTime
public long getStartTime()
-
nextTimePartition
public org.apache.iotdb.tsfile.read.common.TimeRange nextTimePartition()
-
-