MapExpGetByValue Method
Create expression that selects map items identified by value and returns selected data
specified by returnType.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
public static Exp GetByValue(
MapReturnType returnType,
Exp value,
Exp bin,
params CTX[] ctx
)
- returnType MapReturnType
- metadata attributes to return. See MapReturnType
- value Exp
- value expression
- bin Exp
- bin or map value expression
- ctx CTX
- optional context path for nested CDT
Exp // Map bin "a" contains value "BBB"
Exp.GT(
MapExp.GetByValue(MapReturnType.COUNT, Exp.Val("BBB"), Exp.MapBin("a")),
Exp.Val(0))