ExpCount Method
Create expression that returns count of integer bits that are set to 1.
Requires server version 5.6.0+.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
public static Exp Count(
Exp exp
)
- exp Exp
-
Exp // count(a) == 4
Exp.EQ(
Exp.Count(Exp.IntBin("a")),
Exp.Val(4));