Create expression that scans integer bits from left (most significant bit) to
right (least 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.3.0.0 (5.3.0)
Syntax
C#
public static Exp Lscan( Exp value, Exp search )
Parameters
- value
- Type: Aerospike.ClientExp
- search
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// lscan(a, true) == 4 Exp.EQ( Exp.Lscan(Exp.IntBin("a"), Exp.Val(true)), Exp.Val(4));
See Also