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, inspectRuntimeShape
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNull, relocate
public void aggregate(ByteBuffer buf, int position, float value)
aggregate
in class SimpleFloatBufferAggregator
public void init(ByteBuffer buf, int position)
BufferAggregator
AggregatorFactory.getMaxIntermediateSizeWithNulls()
in the corresponding AggregatorFactory
buf
- byte buffer to initializeposition
- offset within the byte buffer for initializationCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.