public class DoubleMaxBufferAggregator extends SimpleDoubleBufferAggregator
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(ByteBuffer buf,
int position,
double 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 |
void |
putFirst(ByteBuffer buf,
int position,
double value)
Faster equivalent to
aggregator.init(buf, position);
aggregator.aggregate(buf, position, value);
|
aggregate, close, get, getDouble, getFloat, getLong, getSelector, inspectRuntimeShapeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNull, relocatepublic void init(ByteBuffer buf, int position)
BufferAggregatorAggregatorFactory.getMaxIntermediateSizeWithNulls()
in the corresponding AggregatorFactorybuf - byte buffer to initializeposition - offset within the byte buffer for initializationpublic void putFirst(ByteBuffer buf, int position, double value)
SimpleDoubleBufferAggregatorputFirst in class SimpleDoubleBufferAggregatorpublic void aggregate(ByteBuffer buf, int position, double value)
aggregate in class SimpleDoubleBufferAggregatorCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.