@Override
public int getAggregationBufferFixedSize() {
JavaDataModel model = JavaDataModel.get();
return JavaDataModel.alignUp(
model.object() +
model.primitive2() * 2,
model.memoryAlign());
}
@Override
public void init(AggregationDesc desc) throws HiveException {