use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.
the class VectorUDAFVarPopTimestamp method getCurrentAggregationBuffer.
private Aggregation getCurrentAggregationBuffer(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, int row) {
VectorAggregationBufferRow mySet = aggregationBufferSets[row];
Aggregation myagg = (Aggregation) mySet.getAggregationBuffer(aggregateIndex);
return myagg;
}
use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.
the class VectorUDAFStdSampTimestamp method getCurrentAggregationBuffer.
private Aggregation getCurrentAggregationBuffer(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, int row) {
VectorAggregationBufferRow mySet = aggregationBufferSets[row];
Aggregation myagg = (Aggregation) mySet.getAggregationBuffer(aggregateIndex);
return myagg;
}
use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.
the class VectorUDAFComputeBitVectorDecimal method getAggregation.
private Aggregation getAggregation(VectorAggregationBufferRow[] sets, int rowid, int bufferIndex) {
VectorAggregationBufferRow bufferRow = sets[rowid];
Aggregation myagg = (Aggregation) bufferRow.getAggregationBuffer(bufferIndex);
myagg.prepare();
return myagg;
}
use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.
the class VectorUDAFComputeBitVectorTimestamp method getAggregation.
private Aggregation getAggregation(VectorAggregationBufferRow[] sets, int rowid, int bufferIndex) {
VectorAggregationBufferRow bufferRow = sets[rowid];
Aggregation myagg = (Aggregation) bufferRow.getAggregationBuffer(bufferIndex);
myagg.prepare();
return myagg;
}
use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.
the class VectorUDAFCountStar method getCurrentAggregationBuffer.
private Aggregation getCurrentAggregationBuffer(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, int row) {
VectorAggregationBufferRow mySet = aggregationBufferSets[row];
Aggregation myagg = (Aggregation) mySet.getAggregationBuffer(aggregateIndex);
return myagg;
}
Aggregations