public class VectorAggregationBufferRow extends Object
Constructor and Description |
---|
VectorAggregationBufferRow(VectorAggregateExpression.AggregationBuffer[] aggregationBuffers) |
Modifier and Type | Method and Description |
---|---|
VectorAggregateExpression.AggregationBuffer |
getAggregationBuffer(int bufferIndex)
returns the aggregation buffer for an aggregation expression, by index.
|
VectorAggregateExpression.AggregationBuffer[] |
getAggregationBuffers()
returns the array of aggregation buffers (the entire set).
|
int |
getIndex()
cached index used by VectorAggregationBufferBatch.
|
int |
getVersion()
Versioning used to detect staleness of the index cached for benefit of
VectorAggregationBufferBatch . |
void |
reset()
Resets the aggregation buffers for reuse
|
void |
setVersionAndIndex(int version,
int index)
accessor for VectorAggregationBufferBatch to set its caching info on this set.
|
public VectorAggregationBufferRow(VectorAggregateExpression.AggregationBuffer[] aggregationBuffers)
public VectorAggregateExpression.AggregationBuffer getAggregationBuffer(int bufferIndex)
public VectorAggregateExpression.AggregationBuffer[] getAggregationBuffers()
public int getVersion()
VectorAggregationBufferBatch
.public int getIndex()
public void setVersionAndIndex(int version, int index)
public void reset()
Copyright © 2017 The Apache Software Foundation. All rights reserved.