ExpCount Method

Aerospike
Create expression that returns count of integer bits that are set to 1. 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 Count(
	Exp exp
)

Parameters

exp
Type: Aerospike.ClientExp

Return Value

Type: Exp
Examples

// count(a) == 4
Exp.EQ(
  Exp.Count(Exp.IntBin("a")),
  Exp.Val(4));
See Also

Reference