Search in sources :

Example 11 with VectorAggregationBufferRow

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

the class VectorUDAFAvgTimestamp 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 12 with VectorAggregationBufferRow

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

the class VectorUDAFCount 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 13 with VectorAggregationBufferRow

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

the class VectorUDAFCountMerge 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 14 with VectorAggregationBufferRow

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

the class VectorUDAFStdPopTimestamp 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 15 with VectorAggregationBufferRow

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

the class VectorUDAFBloomFilter method getCurrentAggregationBuffer.

private Aggregation getCurrentAggregationBuffer(VectorAggregationBufferRow[] aggregationBufferSets, int aggregrateIndex, int row) {
    VectorAggregationBufferRow mySet = aggregationBufferSets[row];
    Aggregation myagg = (Aggregation) mySet.getAggregationBuffer(aggregrateIndex);
    return myagg;
}
Also used : Aggregation(org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorUDAFCount.Aggregation) 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