Create unknown value. Used to intentionally fail an expression.
The failure can be ignored with EVAL_NO_FAIL
or EVAL_NO_FAIL
Requires server version 5.6.0+.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.1.0 (5.3.1)
Syntax
C#
public static Exp Unknown()
Return Value
Type: ExpExamples
// double v = balance - 100.0; // return (v > 0.0)? v : unknown; Exp.Let( Exp.Def("v", Exp.Sub(Exp.FloatBin("balance"), Exp.Val(100.0))), Exp.Cond( Exp.GE(Exp.var("v"), Exp.Val(0.0)), Exp.Var("v"), Exp.Unknown()));
See Also