myagg.minmaxValue(vector[0], inputVector.scale);
private void iterateHasNullsSelectionWithAggregationSelection( VectorAggregationBufferRow[] aggregationBufferSets, int aggregrateIndex, HiveDecimalWritable[] vector, short scale, int batchSize, int[] selection, boolean[] isNull) { for (int j=0; j < batchSize; ++j) { int i = selection[j]; if (!isNull[i]) { Aggregation myagg = getCurrentAggregationBuffer( aggregationBufferSets, aggregrateIndex, j); myagg.minmaxValue(vector[i], scale); } } }
private void iterateHasNullsRepeatingWithAggregationSelection( VectorAggregationBufferRow[] aggregationBufferSets, int aggregrateIndex, HiveDecimalWritable value, short scale, int batchSize, boolean[] isNull) { if (isNull[0]) { return; } for (int i=0; i < batchSize; ++i) { Aggregation myagg = getCurrentAggregationBuffer( aggregationBufferSets, aggregrateIndex, i); myagg.minmaxValue(value, scale); } }
private void iterateHasNullsWithAggregationSelection( VectorAggregationBufferRow[] aggregationBufferSets, int aggregrateIndex, HiveDecimalWritable[] vector, short scale, int batchSize, boolean[] isNull) { for (int i=0; i < batchSize; ++i) { if (!isNull[i]) { Aggregation myagg = getCurrentAggregationBuffer( aggregationBufferSets, aggregrateIndex, i); myagg.minmaxValue(vector[i], scale); } } }
private void iterateNoNullsSelectionWithAggregationSelection( VectorAggregationBufferRow[] aggregationBufferSets, int aggregrateIndex, HiveDecimalWritable[] vector, short scale, int[] selection, int batchSize) { for (int i=0; i < batchSize; ++i) { Aggregation myagg = getCurrentAggregationBuffer( aggregationBufferSets, aggregrateIndex, i); myagg.minmaxValue(vector[selection[i]], scale); } }
private void iterateNoNullsRepeatingWithAggregationSelection( VectorAggregationBufferRow[] aggregationBufferSets, int aggregrateIndex, HiveDecimalWritable value, short scale, int batchSize) { for (int i=0; i < batchSize; ++i) { Aggregation myagg = getCurrentAggregationBuffer( aggregationBufferSets, aggregrateIndex, i); myagg.minmaxValue(value, scale); } }
private void iterateSelectionHasNulls( Aggregation myagg, HiveDecimalWritable[] vector, short scale, int batchSize, boolean[] isNull, int[] selected) { for (int j=0; j< batchSize; ++j) { int i = selected[j]; if (!isNull[i]) { myagg.minmaxValue(vector[i], scale); } } }
private void iterateNoNullsWithAggregationSelection( VectorAggregationBufferRow[] aggregationBufferSets, int aggregrateIndex, HiveDecimalWritable[] vector, short scale, int batchSize) { for (int i=0; i < batchSize; ++i) { Aggregation myagg = getCurrentAggregationBuffer( aggregationBufferSets, aggregrateIndex, i); myagg.minmaxValue(vector[i], scale); } }
private void iterateNoSelectionNoNulls( Aggregation myagg, HiveDecimalWritable[] vector, short scale, int batchSize) { for (int i=0;i<batchSize;++i) { myagg.minmaxValue(vector[i], scale); } }
private void iterateNoSelectionHasNulls( Aggregation myagg, HiveDecimalWritable[] vector, short scale, int batchSize, boolean[] isNull) { for(int i=0;i<batchSize;++i) { if (!isNull[i]) { myagg.minmaxValue(vector[i], scale); } } }
private void iterateSelectionNoNulls( Aggregation myagg, HiveDecimalWritable[] vector, short scale, int batchSize, int[] selected) { for (int i=0; i< batchSize; ++i) { myagg.minmaxValue(vector[selected[i]], scale); } }