public class StringColumnDoubleBufferAggregatorWrapper extends DelegatingBufferAggregator
delegate| Constructor and Description |
|---|
StringColumnDoubleBufferAggregatorWrapper(BaseObjectColumnValueSelector selector,
Function<BaseDoubleColumnValueSelector,BufferAggregator> delegateBuilder,
double nullValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(ByteBuffer buf,
int position)
Aggregates metric values into the given aggregate byte representation
Implementations of this method must read in the aggregate value from the buffer at the given position,
aggregate the next element of data and write the updated aggregate value back into the buffer.
|
close, get, getDouble, getFloat, getLong, init, inspectRuntimeShape, isNull, relocatepublic StringColumnDoubleBufferAggregatorWrapper(BaseObjectColumnValueSelector selector, Function<BaseDoubleColumnValueSelector,BufferAggregator> delegateBuilder, double nullValue)
public void aggregate(ByteBuffer buf, int position)
BufferAggregatoraggregate in interface BufferAggregatoraggregate in class DelegatingBufferAggregatorbuf - byte buffer storing the byte array representation of the aggregateposition - offset within the byte buffer at which the current aggregate value is storedCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.