Exp Unknown Method Aerospike
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: 4.2.7.0 (4.2.7)
Syntax

Examples

// 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