ExpDigestModulo Method

Aerospike
Create expression that returns record digest modulo as integer. This expression usually evaluates quickly because record meta data is cached in memory.

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

C#
public static Exp DigestModulo(
	int mod
)

Parameters

mod
Type: SystemInt32

Return Value

Type: Exp
Examples

// Records that have digest(key) % 3 == 1
Exp.EQ(Exp.DigestModulo(3), Exp.Val(1))
See Also

Reference