public class AggResetContextImpl extends NestedBlockBuilderImpl implements AggResetContext
AggResetContext| 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.
|
currentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcurrentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlockpublic 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)Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.