Create expression that returns the maximum value in a variable number of expressions.
All arguments must be the same type (integer or float).
Requires server version 5.6.0+.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.2.0 (5.3.2)
Syntax
C#
public static Exp Max( params Exp[] exps )
Parameters
- exps
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// max(a, b, c) > 100 Exp.GT( Exp.Max(Exp.IntBin("a"), Exp.IntBin("b"), Exp.IntBin("c")), Exp.Val(100));
See Also