PredExpRecDigestModulo Method

Aerospike
Create a digest modulo record metadata value predicate expression. The digest modulo expression assumes the value of 4 bytes of the record's key digest modulo it's argument.

For example, the following sequence of predicate expressions selects records that have digest(key) % 3 == 1):

            PredExp.RecDigestModulo(3)
            PredExp.IntegerValue(1)
            PredExp.IntegerEqual()
            

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

C#
public static PredExp RecDigestModulo(
	int mod
)

Parameters

mod
Type: SystemInt32

Return Value

Type: PredExp
See Also

Reference