PolicySetPredExp Method

Aerospike
Set predicate expression filter in postfix notation. If the predicate expression exists and evaluates to false, the transaction is ignored.

Postfix notation is described here: http://wiki.c2.com/?PostfixNotation

Example:

            // Record last update time > 2017-01-15
            policy.SetPredExp(
              PredExp.RecLastUpdate(),
              PredExp.IntegerValue(new DateTime(2017, 1, 15)),
              PredExp.IntegerGreater(),
            ); 
            

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

C#
public void SetPredExp(
	params PredExp[] predExp
)

Parameters

predExp
Type: Aerospike.ClientPredExp
See Also

Reference