public class StringColumnFloatBufferAggregatorWrapper extends DelegatingBufferAggregator
delegate
Constructor and Description |
---|
StringColumnFloatBufferAggregatorWrapper(BaseObjectColumnValueSelector selector,
Function<BaseFloatColumnValueSelector,BufferAggregator> delegateBuilder,
float 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, relocate
public StringColumnFloatBufferAggregatorWrapper(BaseObjectColumnValueSelector selector, Function<BaseFloatColumnValueSelector,BufferAggregator> delegateBuilder, float nullValue)
public void aggregate(ByteBuffer buf, int position)
BufferAggregator
aggregate
in interface BufferAggregator
aggregate
in class DelegatingBufferAggregator
buf
- byte buffer storing the byte array representation of the aggregateposition
- offset within the byte buffer at which the current aggregate value is storedCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.