Search in sources :

Example 6 with VectorAggregationBufferRow

use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.

the class VectorUDAFSumDecimal64ToDecimal method getCurrentAggregationBuffer.

private Aggregation getCurrentAggregationBuffer(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, int row) {
    VectorAggregationBufferRow mySet = aggregationBufferSets[row];
    Aggregation myagg = (Aggregation) mySet.getAggregationBuffer(aggregateIndex);
    return myagg;
}
Also used : VectorAggregationBufferRow(org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow)

Example 7 with VectorAggregationBufferRow

use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.

the class VectorUDAFSumTimestamp method getCurrentAggregationBuffer.

private Aggregation getCurrentAggregationBuffer(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, int row) {
    VectorAggregationBufferRow mySet = aggregationBufferSets[row];
    Aggregation myagg = (Aggregation) mySet.getAggregationBuffer(aggregateIndex);
    return myagg;
}
Also used : VectorAggregationBufferRow(org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow)

Example 8 with VectorAggregationBufferRow

use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.

the class VectorUDAFAvgDecimal method getCurrentAggregationBuffer.

private Aggregation getCurrentAggregationBuffer(VectorAggregationBufferRow[] aggregationBufferSets, int bufferIndex, int row) {
    VectorAggregationBufferRow mySet = aggregationBufferSets[row];
    Aggregation myagg = (Aggregation) mySet.getAggregationBuffer(bufferIndex);
    return myagg;
}
Also used : VectorAggregationBufferRow(org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow)

Example 9 with VectorAggregationBufferRow

use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.

the class VectorUDAFSumDecimal method getCurrentAggregationBuffer.

private Aggregation getCurrentAggregationBuffer(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, int row) {
    VectorAggregationBufferRow mySet = aggregationBufferSets[row];
    Aggregation myagg = (Aggregation) mySet.getAggregationBuffer(aggregateIndex);
    return myagg;
}
Also used : VectorAggregationBufferRow(org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow)

Example 10 with VectorAggregationBufferRow

use of org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow in project hive by apache.

the class VectorUDAFVarSampTimestamp method getCurrentAggregationBuffer.

private Aggregation getCurrentAggregationBuffer(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, int row) {
    VectorAggregationBufferRow mySet = aggregationBufferSets[row];
    Aggregation myagg = (Aggregation) mySet.getAggregationBuffer(aggregateIndex);
    return myagg;
}
Also used : VectorAggregationBufferRow(org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow)

Aggregations

VectorAggregationBufferRow (org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow)15 Aggregation (org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorUDAFCount.Aggregation)1