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 |
---|---|
java.util.List<Expression> |
arguments()
Returns Linq4j form of arguments.
|
java.util.List<RexNode> |
rexArguments()
Returns
RexNode representation of arguments. |
RexNode |
rexFilterArgument()
Returns
RexNode representation of the
filter, or null. |
RexToLixTranslator |
rowTranslator()
Returns a
RexToLixTranslator
suitable to transform the arguments. |
call, key, keyField
accumulator
currentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlock
java.util.List<RexNode> rexArguments()
RexNode
representation of arguments.
This can be useful for manual translation of required arguments with
different NullPolicy
.RexNode
representation of argumentsRexNode rexFilterArgument()
RexNode
representation of the
filter, or null.java.util.List<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–2019 The Apache Software Foundation. All rights reserved.