Create expression that returns integer count of set bits from byte[] bin starting at
bitOffset for bitSize.
Namespace: Aerospike.Client- bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
- bitOffset = 20
- bitSize = 4
- returns 2
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.1.6.0 (4.1.6)
Syntax
Parameters
- bitOffset
- Type: Aerospike.Client Exp
- bitSize
- Type: Aerospike.Client Exp
- bin
- Type: Aerospike.Client Exp
Examples
// Bin "a" bit count <= 2 Exp.LE(BitExp.Count(Exp.Val(0), Exp.Val(5), Exp.BlobBin("a")), Exp.Val(2))
See Also