public class ApproximateHistogramFoldingBufferAggregator extends Object implements BufferAggregator
| Constructor and Description |
|---|
ApproximateHistogramFoldingBufferAggregator(ObjectColumnSelector<ApproximateHistogram> selector,
int resolution,
float lowerLimit,
float upperLimit) |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(ByteBuffer buf,
int position) |
void |
close() |
Object |
get(ByteBuffer buf,
int position) |
float |
getFloat(ByteBuffer buf,
int position) |
long |
getLong(ByteBuffer buf,
int position) |
void |
init(ByteBuffer buf,
int position) |
public ApproximateHistogramFoldingBufferAggregator(ObjectColumnSelector<ApproximateHistogram> selector, int resolution, float lowerLimit, float upperLimit)
public void init(ByteBuffer buf, int position)
init in interface BufferAggregatorpublic void aggregate(ByteBuffer buf, int position)
aggregate in interface BufferAggregatorpublic Object get(ByteBuffer buf, int position)
get in interface BufferAggregatorpublic float getFloat(ByteBuffer buf, int position)
getFloat in interface BufferAggregatorpublic long getLong(ByteBuffer buf, int position)
getLong in interface BufferAggregatorpublic void close()
close in interface BufferAggregatorCopyright © 2011–2016. All rights reserved.