ExpRscan Method

Create expression that scans integer bits from right (least significant bit) to left (most significant bit), looking for a search bit value. When the search value is found, the index of that bit (where the most significant bit is index 0) is returned. If "search" is true, the scan will search for the bit value 1. If "search" is false it will search for bit value 0. Requires server version 5.6.0+.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp Rscan(
	Exp value,
	Exp search
)

Parameters

value  Exp
 
search  Exp
 

Return Value

Exp

Example

C#
// rscan(a, true) == 4
Exp.EQ(
  Exp.Rscan(Exp.IntBin("a"), Exp.Val(true)),
  Exp.Val(4));

See Also