public class AggResultContextImpl extends AggResetContextImpl implements AggResultContext
AggResultContext.| Constructor and Description |
|---|
AggResultContextImpl(org.apache.calcite.linq4j.tree.BlockBuilder block,
AggregateCall call,
List<org.apache.calcite.linq4j.tree.Expression> accumulator,
org.apache.calcite.linq4j.tree.ParameterExpression key,
PhysType keyPhysType)
Creates aggregate result context.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateCall |
call() |
org.apache.calcite.linq4j.tree.Expression |
key()
Expression by which to reference the key upon which the values in the
accumulator were aggregated.
|
org.apache.calcite.linq4j.tree.Expression |
keyField(int i)
Returns an expression that references the
ith field of the key,
cast to the appropriate type. |
accumulatorcurrentBlock, exitBlock, nestBlock, nestBlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccumulatorcurrentBlock, exitBlock, nestBlock, nestBlockpublic AggResultContextImpl(org.apache.calcite.linq4j.tree.BlockBuilder block,
AggregateCall call,
List<org.apache.calcite.linq4j.tree.Expression> accumulator,
org.apache.calcite.linq4j.tree.ParameterExpression key,
PhysType keyPhysType)
block - Code block that will contain the result calculation statementscall - Aggregate callaccumulator - Accumulator variables that store the intermediate
aggregate statekey - Keypublic org.apache.calcite.linq4j.tree.Expression key()
AggResultContextkey in interface AggResultContextpublic org.apache.calcite.linq4j.tree.Expression keyField(int i)
AggResultContextith field of the key,
cast to the appropriate type.keyField in interface AggResultContextpublic AggregateCall call()
call in interface AggResultContextcall in class AggResetContextImplCopyright © 2012-2020 Apache Software Foundation. All Rights Reserved.