Interface AggregateFunction.Aggregate
-
- Enclosing interface:
- AggregateFunction
public static interface AggregateFunction.AggregateAn aggregation operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddInput(Arguments arguments)Adds the specified input to this aggregate.java.nio.ByteBuffercompute(ProtocolVersion protocolVersion)Computes and returns the aggregate current value.voidreset()Reset this aggregate.
-
-
-
Method Detail
-
addInput
void addInput(Arguments arguments) throws InvalidRequestException
Adds the specified input to this aggregate.- Parameters:
arguments- the values to add to the aggregate.- Throws:
InvalidRequestException
-
compute
java.nio.ByteBuffer compute(ProtocolVersion protocolVersion) throws InvalidRequestException
Computes and returns the aggregate current value.- Parameters:
protocolVersion- native protocol version- Returns:
- the aggregate current value.
- Throws:
InvalidRequestException
-
reset
void reset()
Reset this aggregate.
-
-