public abstract class AggResetContextImpl extends NestedBlockBuilderImpl implements AggResetContext
AggResetContext| Modifier and Type | Field and Description |
|---|---|
private List<Expression> |
accumulator |
| Constructor and Description |
|---|
AggResetContextImpl(BlockBuilder block,
List<Expression> accumulator)
Creates aggregate reset context.
|
| Modifier and Type | Method and Description |
|---|---|
List<Expression> |
accumulator()
Returns accumulator variables that should be reset.
|
AggregateCall |
call() |
currentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcurrentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlockprivate final List<Expression> accumulator
public AggResetContextImpl(BlockBuilder block, List<Expression> accumulator)
block - Code block that will contain the added initializationaccumulator - Accumulator variables that store the intermediate
aggregate statepublic List<Expression> accumulator()
AggResetContextaccumulator in interface AggResetContextAggImplementor.getStateType(org.apache.calcite.adapter.enumerable.AggContext)public AggregateCall call()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.