ExpExpr Method

Merge precompiled expression into a new expression tree. Useful for storing common precompiled expressions and then reusing these expressions as part of a greater expression.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp Expr(
	Expression e
)

Parameters

e  Expression
 

Return Value

Exp

Example

C#
Expression e = Exp.Build(Exp.EQ(Exp.IntBin("a"), Exp.Val(200)));
Expression merged = Exp.Build(Exp.And(Exp.Expr(e), Exp.EQ(Exp.IntBin("b"), Exp.Val(100))));

See Also