Expand description
Defines aggregations over Arrow arrays.
Macrosยง
- bit_operation ๐
Structsยง
- MaxAccumulator ๐
- MinAccumulator ๐
- SumAccumulator ๐
Constantsยง
- PREFERRED_VECTOR_ ๐SIZE 
- The preferred vector size in bytes for the target platform. Note that the avx512 target feature is still unstable and this also means it is not detected on stable rust.
- PREFERRED_VECTOR_ ๐SIZE_ NON_ NULL 
- non-nullable aggregation requires fewer temporary registers so we can use more of them for accumulators
Traitsยง
- NumericAccumulator ๐
- An accumulator for primitive numeric values.
Functionsยง
- aggregate ๐
- Generic aggregation for any primitive type.
Returns None if there are no non-null values in array.
- aggregate_nonnull_ ๐chunk 
- aggregate_nonnull_ ๐lanes 
- aggregate_nonnull_ ๐simple 
- aggregate_nullable_ ๐chunk 
- aggregate_nullable_ ๐lanes 
- bit_and
- Returns the bitwise and of all non-null input values.
- bit_or
- Returns the bitwise or of all non-null input values.
- bit_xor
- Returns the bitwise xor of all non-null input values.
- bool_and 
- Returns true if all non-null input values are true, otherwise false.
- bool_or
- Returns true if any non-null input value is true, otherwise false.
- max
- Returns the maximum value in the array, according to the natural order. For floating point arrays any NaN values are considered to be greater than any other non-null value
- max_array 
- Returns the max of values in the array of ArrowNumericTypetype, or dictionary array with value ofArrowNumericTypetype.
- max_binary 
- Returns the maximum value in the binary array, according to the natural order.
- max_binary_ view 
- Returns the maximum value in the binary view array, according to the natural order.
- max_boolean 
- Returns the maximum value in the boolean array
- max_fixed_ size_ binary 
- Returns the maximum value in the fixed size binary array, according to the natural order.
- max_string 
- Returns the maximum value in the string array, according to the natural order.
- max_string_ view 
- Returns the maximum value in the string view array, according to the natural order.
- min
- Returns the minimum value in the array, according to the natural order. For floating point arrays any NaN values are considered to be greater than any other non-null value
- min_array 
- Returns the min of values in the array of ArrowNumericTypetype, or dictionary array with value ofArrowNumericTypetype.
- min_binary 
- Returns the minimum value in the binary array, according to the natural order.
- min_binary_ view 
- Returns the minimum value in the binary view array, according to the natural order.
- min_boolean 
- Returns the minimum value in the boolean array.
- min_fixed_ size_ binary 
- Returns the minimum value in the fixed size binary array, according to the natural order.
- min_max_ ๐array_ helper 
- min_max_ ๐helper 
- Helper to compute min/max of [ArrayAccessor].
- min_max_ ๐view_ helper 
- Helper to compute min/max of [GenericByteViewArray<T>]. The specialized min/max leverages the inlined values to compare the byte views.swap_condis the condition to swap current min/max with the new value. For example,Ordering::Greaterfor max andOrdering::Lessfor min.
- min_string 
- Returns the minimum value in the string array, according to the natural order.
- min_string_ view 
- Returns the minimum value in the string view array, according to the natural order.
- reduce_accumulators ๐
- select ๐
- Helper for branchlessly selecting either aorbbased on the booleanm. After verifying the generated assembly this can be a simpleif.
- sum
- Returns the sum of values in the primitive array.
- sum_array 
- Returns the sum of values in the array.
- sum_array_ checked 
- Returns the sum of values in the array.
- sum_checked 
- Returns the sum of values in the primitive array.