Expand description
Defines BitAnd, BitOr, BitXor and BitXor DISTINCT aggregate accumulators
Macrosยง
- accumulator_
helper ๐ accumulator_helperis 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ยง
- BitAnd
Accumulator ๐ - BitOr
Accumulator ๐ - BitXor
Accumulator ๐ - Bitwise
Operation ๐ - BitwiseOperation struct encapsulates information about a bitwise operation.
- Distinct
BitXor ๐Accumulator
Enumsยง
- Bitwise
Operation ๐Type - 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
AggregateUDFforbit_and - bit_or
- Returns the bitwiseBitwiseOperationType::Orof a group of values
- bit_
or_ udaf - AggregateFunction that returns a
AggregateUDFforbit_or - bit_xor
- Returns the bitwiseBitwiseOperationType::Xorof a group of values
- bit_
xor_ udaf - AggregateFunction that returns a
AggregateUDFforbit_xor - get_
bit_ ๐and_ doc - get_
bit_ ๐or_ doc - get_
bit_ ๐xor_ doc