ExpRscan Method

Aerospike
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+.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Exp Rscan(
	Exp value,
	Exp search
)

Parameters

value
Type: Aerospike.ClientExp
search
Type: Aerospike.ClientExp

Return Value

Type: Exp
Examples

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

Reference