public class DoubleMinBufferAggregator extends SimpleDoubleBufferAggregator
selector
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.getMaxIntermediateSize()
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, inspectRuntimeShape
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
relocate
public void init(ByteBuffer buf, int position)
BufferAggregator
AggregatorFactory.getMaxIntermediateSize()
in the corresponding AggregatorFactory
buf
- byte buffer to initializeposition
- offset within the byte buffer for initializationpublic void putFirst(ByteBuffer buf, int position, double value)
SimpleDoubleBufferAggregator
putFirst
in class SimpleDoubleBufferAggregator
public void aggregate(ByteBuffer buf, int position, double value)
aggregate
in class SimpleDoubleBufferAggregator
Copyright © 2011–2018. All rights reserved.