Module bit_and_or_xor

Module bit_and_or_xor 

Source
Expand description

Defines BitAnd, BitOr, BitXor and BitXor DISTINCT aggregate accumulators

Macrosยง

accumulator_helper ๐Ÿ”’
accumulator_helper is a macro accepting (ArrowPrimitiveType, BitwiseOperationType, bool)
downcast_bitwise_accumulator ๐Ÿ”’
AND, OR and XOR only supports a subset of numeric types
group_accumulator_helper ๐Ÿ”’
This macro helps create group accumulators based on bitwise operations typically used internally and might not be necessary for users to call directly.
make_bitwise_udaf_expr_and_func ๐Ÿ”’
Simplifies the creation of User-Defined Aggregate Functions (UDAFs) for performing bitwise operations in a declarative manner.

Structsยง

BitAndAccumulator ๐Ÿ”’
BitOrAccumulator ๐Ÿ”’
BitXorAccumulator ๐Ÿ”’
BitwiseOperation ๐Ÿ”’
BitwiseOperation struct encapsulates information about a bitwise operation.
DistinctBitXorAccumulator ๐Ÿ”’

Enumsยง

BitwiseOperationType ๐Ÿ”’
The different types of bitwise operations that can be performed.

Staticsยง

BIT_AND_DOC ๐Ÿ”’
BIT_OR_DOC ๐Ÿ”’
BIT_XOR_DOC ๐Ÿ”’

Functionsยง

bit_and
Returns the bitwiseBitwiseOperationType::Andof a group of values
bit_and_udaf
AggregateFunction that returns a AggregateUDF for bit_and
bit_or
Returns the bitwiseBitwiseOperationType::Orof a group of values
bit_or_udaf
AggregateFunction that returns a AggregateUDF for bit_or
bit_xor
Returns the bitwiseBitwiseOperationType::Xorof a group of values
bit_xor_udaf
AggregateFunction that returns a AggregateUDF for bit_xor
get_bit_and_doc ๐Ÿ”’
get_bit_or_doc ๐Ÿ”’
get_bit_xor_doc ๐Ÿ”’