public class StringColumnLongBufferAggregatorWrapper extends DelegatingBufferAggregator
delegate
Constructor and Description |
---|
StringColumnLongBufferAggregatorWrapper(BaseObjectColumnValueSelector selector,
Function<BaseLongColumnValueSelector,BufferAggregator> delegateBuilder,
long 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 StringColumnLongBufferAggregatorWrapper(BaseObjectColumnValueSelector selector, Function<BaseLongColumnValueSelector,BufferAggregator> delegateBuilder, long 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–2023 The Apache Software Foundation. All rights reserved.