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.InvalidRequestExceptionjava.nio.ByteBuffer compute(int protocolVersion)
throws InvalidRequestException
protocolVersion - native protocol versionInvalidRequestExceptionvoid reset()
Copyright © 2015 The Apache Software Foundation