Skip to content
Visit booth 3171 at Google Cloud Next to see how to unlock real-time decisions at scaleMore info

Blob bin operations

Aerospike blob bin expressions allow you to manipulate and query blob-type bins directly in database queries.

This guide covers operations such as blob_concat, blob_contains, and blob_get, enabling efficient handling of binary data.

Modify

bit_add
bit_add(policy, bit_offset, bit_size, value, action_flags, bin)
Description

Invokes the add operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
value integer_expr
action_flags library_specific
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_and
bit_and(policy, bit_offset, bit_size, value, bin)
Description

Invokes the and operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
value blob_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_insert
bit_insert(policy, bytes_offset, blob, bin)
Description

Invokes the insert operation.

Arguments
NameType
policy library_specific
bytes_offset integer_expr
blob blob_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_lshift
bit_lshift(policy, bit_offset, bit_size, shift_bit_count, bin)
Description

Invokes the lshift operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
shift_bit_count integer_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_not
bit_not(policy, bit_offset, bit_size, bin)
Description

Invokes the not operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
bin blob_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_or
bit_or(policy, bit_offset, bit_size, value, bin)
Description

Invokes the or operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
value blob_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_remove
bit_remove(policy, bytes_offset, byte_size, bin)
Description

Invokes the remove operation.

Arguments
NameType
policy library_specific
bytes_offset integer_expr
byte_size integer_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_resize
bit_resize(policy, bytes_size, flags, bin)
Description

Invokes the resize operation.

Arguments
NameType
policy library_specific
bytes_size integer_expr
flags library_specific
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_rshift
bit_rshift(policy, bit_offset, bit_size, shift_bit_count, bin)
Description

Invokes the rshift operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
shift_bit_count integer_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_set
bit_set(policy, bit_offset, bit_size, value, bin)
Description

Invokes the set operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
value blob_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_set_int
bit_set_int(policy, bit_offset, bit_size, value, bin)
Description

Invokes the set_integer operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
value integer_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_subtract
bit_subtract(policy, bit_offset, bit_size, value, action_flags, bin)
Description

Invokes the subtract operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
value integer_expr
action_flags library_specific
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_xor
bit_xor(policy, bit_offset, bit_size, value, bin)
Description

Invokes the xor operation.

Arguments
NameType
policy library_specific
bit_offset integer_expr
bit_size integer_expr
value blob_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4

Read

bit_count
bit_count(offset, bit_size, bin)
Description

Invokes the count operation.

Arguments
NameType
offset integer_expr
bit_size integer_expr
bin blob_bin_expr
Returns
integer_bin
Introduced
5.2.0.4
bit_get
bit_get(offset, bit_size, bin)
Description

Invokes the get operation.

Arguments
NameType
offset integer_expr
bit_size integer_expr
bin blob_bin_expr
Returns
blob_bin
Introduced
5.2.0.4
bit_get_int
bit_get_int(offset, bit_size, is_signed, bin)
Description

Invokes the get_integer operation.

Arguments
NameType
offset integer_expr
bit_size integer_expr
is_signed boolean_value
bin blob_bin_expr
Returns
integer_bin
Introduced
5.2.0.4
bit_lscan
bit_lscan(offset, bit_size, value, bin)
Description

Invokes the lscan operation.

Arguments
NameType
offset integer_expr
bit_size integer_expr
value boolean_expr
bin blob_bin_expr
Returns
integer_bin
Introduced
5.2.0.4
bit_rscan
bit_rscan(offset, bit_size, value, bin)
Description

Invokes the rscan operation.

Arguments
NameType
offset integer_expr
bit_size integer_expr
value boolean_expr
bin blob_bin_expr
Returns
integer_bin
Introduced
5.2.0.4
Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?