| Package | Description |
|---|---|
| org.apache.druid.sql.calcite.expression |
| Modifier and Type | Method and Description |
|---|---|
static DruidExpression |
OperatorConversions.convertCallWithPostAggOperands(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexNode rexNode,
Function<List<DruidExpression>,DruidExpression> expressionFunction,
PostAggregatorVisitor postAggregatorVisitor) |
static List<DruidExpression> |
Expressions.toDruidExpressionsWithPostAggOperands(PlannerContext plannerContext,
RowSignature rowSignature,
List<org.apache.calcite.rex.RexNode> rexNodes,
PostAggregatorVisitor postAggregatorVisitor)
Translate a list of Calcite
RexNode to Druid expressions, with the possibility of having postagg operands. |
static DruidExpression |
Expressions.toDruidExpressionWithPostAggOperands(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexNode rexNode,
PostAggregatorVisitor postAggregatorVisitor) |
DruidExpression |
DirectOperatorConversion.toDruidExpressionWithPostAggOperands(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexNode rexNode,
PostAggregatorVisitor postAggregatorVisitor) |
DruidExpression |
BinaryOperatorConversion.toDruidExpressionWithPostAggOperands(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexNode rexNode,
PostAggregatorVisitor postAggregatorVisitor) |
default DruidExpression |
SqlOperatorConversion.toDruidExpressionWithPostAggOperands(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexNode rexNode,
PostAggregatorVisitor postAggregatorVisitor)
Translate a Calcite
RexNode to a Druid expression, with the possibility of having postagg operands. |
static PostAggregator |
OperatorConversions.toPostAggregator(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexNode rexNode,
PostAggregatorVisitor postAggregatorVisitor)
Translate a Calcite
RexNode to a Druid PostAggregator |
default PostAggregator |
SqlOperatorConversion.toPostAggregator(PlannerContext plannerContext,
RowSignature querySignature,
org.apache.calcite.rex.RexNode rexNode,
PostAggregatorVisitor postAggregatorVisitor)
Returns a Druid PostAggregator corresponding to a Calcite
RexNode used to transform a row after
aggregation has occurred. |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.