public class VectorAggregationBufferBatch extends Object
Constructor and Description |
---|
VectorAggregationBufferBatch() |
Modifier and Type | Method and Description |
---|---|
void |
compileAggregationBatchInfo(VectorAggregateExpression[] aggregators) |
VectorAggregationBufferRow[] |
getAggregationBuffers()
the array of aggregation buffers for the current batch.
|
int |
getAggregatorsFixedSize()
Returns the fixed size consumed by the aggregation buffers
|
int |
getDistinctBufferSetCount()
number of distinct aggregation buffer sets (ie.
|
boolean |
getHasVariableSize()
returns True if any of the aggregators has a variable size
|
int |
getVariableSize(int batchSize) |
void |
mapAggregationBufferSet(VectorAggregationBufferRow bufferSet,
int row)
assigns the given aggregation buffer set to a given batch row (by row number).
|
void |
startBatch()
resets the internal aggregation buffers sets index and increments the versioning
used to optimize the selection vector population.
|
public boolean getHasVariableSize()
public int getAggregatorsFixedSize()
public VectorAggregationBufferRow[] getAggregationBuffers()
getDistinctBufferSetCount()
index
is stale from previous batches.public int getDistinctBufferSetCount()
public void startBatch()
public void mapAggregationBufferSet(VectorAggregationBufferRow bufferSet, int row)
public void compileAggregationBatchInfo(VectorAggregateExpression[] aggregators)
public int getVariableSize(int batchSize)
Copyright © 2017 The Apache Software Foundation. All rights reserved.