public interface AggAddContext extends AggResultContext
AggImplementor.implementAdd(AggContext, AggAddContext).
Typically, the aggregation implementation will use arguments()
or rexArguments() to update aggregate value.
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.calcite.linq4j.tree.Expression> |
arguments()
Returns Linq4j form of arguments.
|
List<RexNode> |
rexArguments()
Returns
RexNode representation of arguments. |
@Nullable RexNode |
rexFilterArgument()
Returns
RexNode representation of the
filter, or null. |
RexToLixTranslator |
rowTranslator()
Returns a
RexToLixTranslator
suitable to transform the arguments. |
call, key, keyFieldaccumulatorcurrentBlock, exitBlock, nestBlock, nestBlockList<RexNode> rexArguments()
RexNode representation of arguments.
This can be useful for manual translation of required arguments with
different NullPolicy.RexNode representation of arguments@Nullable RexNode rexFilterArgument()
RexNode representation of the
filter, or null.List<org.apache.calcite.linq4j.tree.Expression> arguments()
rowTranslator().translateList(rexArguments()).
This is handy if you need just operate on argument.RexToLixTranslator rowTranslator()
RexToLixTranslator
suitable to transform the arguments.RexToLixTranslator suitable to transform the argumentsCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.