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