public class FloatSumBufferAggregator extends SimpleFloatBufferAggregator
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(ByteBuffer buf,
int position,
float value) |
void |
init(ByteBuffer buf,
int position)
Initializes the buffer location
Implementations of this method must initialize the byte buffer at the given position
Implementations must not change the position, limit or mark of the given buffer
This method must not exceed the number of bytes returned by
AggregatorFactory.getMaxIntermediateSizeWithNulls()
in the corresponding AggregatorFactory |
aggregate, close, get, getDouble, getFloat, getLong, inspectRuntimeShapeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNull, relocatepublic void aggregate(ByteBuffer buf, int position, float value)
aggregate in class SimpleFloatBufferAggregatorpublic void init(ByteBuffer buf, int position)
BufferAggregatorAggregatorFactory.getMaxIntermediateSizeWithNulls()
in the corresponding AggregatorFactorybuf - byte buffer to initializeposition - offset within the byte buffer for initializationCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.