Class LocalAlignedGroupByExecutor
- java.lang.Object
-
- org.apache.iotdb.db.query.executor.groupby.impl.LocalAlignedGroupByExecutor
-
- All Implemented Interfaces:
AlignedGroupByExecutor
public class LocalAlignedGroupByExecutor extends java.lang.Object implements AlignedGroupByExecutor
-
-
Constructor Summary
Constructors Constructor Description LocalAlignedGroupByExecutor(org.apache.iotdb.commons.path.PartialPath path, QueryContext context, org.apache.iotdb.tsfile.read.filter.basic.Filter timeFilter, TsFileFilter fileFilter, boolean ascending)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAggregateResult(java.util.List<AggregateResult> aggregateResults)add reusable result cache in executorjava.util.List<java.util.List<AggregateResult>>calcAlignedResult(long curStartTime, long curEndTime)calculate result in [curStartTime, curEndTime)
-
-
-
Constructor Detail
-
LocalAlignedGroupByExecutor
public LocalAlignedGroupByExecutor(org.apache.iotdb.commons.path.PartialPath path, QueryContext context, org.apache.iotdb.tsfile.read.filter.basic.Filter timeFilter, TsFileFilter fileFilter, boolean ascending) throws StorageEngineException, QueryProcessException
-
-
Method Detail
-
addAggregateResult
public void addAggregateResult(java.util.List<AggregateResult> aggregateResults)
Description copied from interface:AlignedGroupByExecutoradd reusable result cache in executor- Specified by:
addAggregateResultin interfaceAlignedGroupByExecutor
-
calcAlignedResult
public java.util.List<java.util.List<AggregateResult>> calcAlignedResult(long curStartTime, long curEndTime) throws java.io.IOException, QueryProcessException
Description copied from interface:AlignedGroupByExecutorcalculate result in [curStartTime, curEndTime)- Specified by:
calcAlignedResultin interfaceAlignedGroupByExecutor- Throws:
java.io.IOExceptionQueryProcessException
-
-