Trino Functions
Bitwise Functions
bit_count
Count the number of bits set in x (treated as bits-bit signed integer) in 2’s complement representation.
Supported Signatures
bitwise_and
Returns the bitwise AND of x and y in 2’s complement representation.
Supported Signatures
bitwise_left_shift
Returns the left shifted value of value.
Supported Signatures
bitwise_not
Returns the bitwise NOT of x in 2’s complement representation (NOT x = -x - 1).
Supported Signatures
bitwise_or
Returns the bitwise OR of x and y in 2’s complement representation.
Supported Signatures
bitwise_right_shift
Returns the logical right shifted value of value.
Supported Signatures
bitwise_right_shift_arithmetic
Returns the arithmetic right shifted value of value.
Supported Signatures
bitwise_xor
Returns the bitwise XOR of x and y in 2’s complement representation.
Supported Signatures