public class AggResultContextImpl extends AggResetContextImpl implements AggResultContext
AggResultContext| Modifier and Type | Field and Description |
|---|---|
private AggregateCall |
call |
private ParameterExpression |
key |
private PhysType |
keyPhysType |
| Constructor and Description |
|---|
AggResultContextImpl(BlockBuilder block,
AggregateCall call,
List<Expression> accumulator,
ParameterExpression key,
PhysType keyPhysType)
Creates aggregate result context.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateCall |
call() |
Expression |
key()
Expression by which to reference the key upon which the values in the
accumulator were aggregated.
|
Expression |
keyField(int i)
Returns an expression that references the
ith field of the key,
cast to the appropriate type. |
accumulatorcurrentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccumulatorcurrentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlockprivate final AggregateCall call
private final ParameterExpression key
private final PhysType keyPhysType
public AggResultContextImpl(BlockBuilder block, AggregateCall call, List<Expression> accumulator, 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 Expression key()
AggResultContextkey in interface AggResultContextpublic 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–2018 The Apache Software Foundation. All rights reserved.