public VectorAggregateExpression.AggregationBuffer getAggregationBuffer(int bufferIndex) {
    return aggregationBuffers[bufferIndex];
  }
returns the aggregation buffer for an aggregation expression, by index.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorAggregationBufferRow.java