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