public static interface AggregateFunction.Aggregate
Modifier and Type | Method and Description |
---|---|
void |
addInput(int protocolVersion,
java.util.List<java.nio.ByteBuffer> values)
Adds the specified input to this aggregate.
|
java.nio.ByteBuffer |
compute(int protocolVersion)
Computes and returns the aggregate current value.
|
void |
reset()
Reset this aggregate.
|
void addInput(int protocolVersion, java.util.List<java.nio.ByteBuffer> values) throws InvalidRequestException
protocolVersion
- native protocol versionvalues
- the values to add to the aggregate.InvalidRequestException
java.nio.ByteBuffer compute(int protocolVersion) throws InvalidRequestException
protocolVersion
- native protocol versionInvalidRequestException
void reset()
Copyright © 2016 The Apache Software Foundation