Class AggregationQueryOperator
- java.lang.Object
-
- org.apache.iotdb.db.qp.logical.Operator
-
- org.apache.iotdb.db.qp.logical.crud.QueryOperator
-
- org.apache.iotdb.db.qp.logical.crud.AggregationQueryOperator
-
- Direct Known Subclasses:
GroupByQueryOperator
public class AggregationQueryOperator extends QueryOperator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iotdb.db.qp.logical.Operator
Operator.OperatorType
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_MESSAGE1-
Fields inherited from class org.apache.iotdb.db.qp.logical.crud.QueryOperator
enableTracing, fromComponent, indexType, props, selectComponent, specialClauseComponent, whereComponent
-
Fields inherited from class org.apache.iotdb.db.qp.logical.Operator
isDebug, isPrefixMatchPath, operatorType, tokenIntType
-
-
Constructor Summary
Constructors Constructor Description AggregationQueryOperator()AggregationQueryOperator(QueryOperator queryOperator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheck()protected voidcheckSelectComponent(SelectComponent selectComponent)protected AlignByDevicePlangenerateAlignByDevicePlan(PhysicalGenerator generator)PhysicalPlangeneratePhysicalPlan(PhysicalGenerator generator)protected AggregationPlaninitAggregationPlan(QueryPlan queryPlan)protected voidinitGroupByLevel(AggregationPlan aggregationPlan)-
Methods inherited from class org.apache.iotdb.db.qp.logical.crud.QueryOperator
generateRawDataQueryPlan, getAliasSet, getFromComponent, getIndexType, getLevels, getMatchedDevices, getMatchedTimeseries, getProps, getSelectComponent, getSpecialClauseComponent, getWhereComponent, hasAggregationFunction, hasSlimit, hasSoffset, hasTimeSeriesGeneratingFunction, isAlignByDevice, isAlignByTime, isEnableTracing, isGroupByLevel, optimizeExpression, resetSLimitOffset, setAliasSet, setEnableTracing, setFromComponent, setIndexType, setProps, setSelectComponent, setSpecialClauseComponent, setWhereComponent, transformFilterOperatorToExpression
-
Methods inherited from class org.apache.iotdb.db.qp.logical.Operator
getTokenIntType, getType, isDebug, isPrefixMatchPath, isQuery, setDebug, setOperatorType, setPrefixMatchPath, toString
-
-
-
-
Field Detail
-
ERROR_MESSAGE1
public static final java.lang.String ERROR_MESSAGE1
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AggregationQueryOperator
public AggregationQueryOperator()
-
AggregationQueryOperator
public AggregationQueryOperator(QueryOperator queryOperator)
-
-
Method Detail
-
check
public void check() throws LogicalOperatorException- Overrides:
checkin classQueryOperator- Throws:
LogicalOperatorException
-
checkSelectComponent
protected void checkSelectComponent(SelectComponent selectComponent) throws LogicalOperatorException
- Throws:
LogicalOperatorException
-
generatePhysicalPlan
public PhysicalPlan generatePhysicalPlan(PhysicalGenerator generator) throws QueryProcessException
- Overrides:
generatePhysicalPlanin classQueryOperator- Throws:
QueryProcessException
-
generateAlignByDevicePlan
protected AlignByDevicePlan generateAlignByDevicePlan(PhysicalGenerator generator) throws QueryProcessException
- Overrides:
generateAlignByDevicePlanin classQueryOperator- Throws:
QueryProcessException
-
initAggregationPlan
protected AggregationPlan initAggregationPlan(QueryPlan queryPlan) throws QueryProcessException
- Throws:
QueryProcessException
-
initGroupByLevel
protected void initGroupByLevel(AggregationPlan aggregationPlan) throws QueryProcessException
- Throws:
QueryProcessException
-
-