MapExp GetByValue Method Aerospike
Create expression that selects map items identified by value and returns selected data specified by returnType.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.1.0 (4.2.1)
Syntax

Parameters

returnType
Type: Aerospike.Client MapReturnType
metadata attributes to return. See MapReturnType
value
Type: Aerospike.Client Exp
value expression
bin
Type: Aerospike.Client Exp
bin or map value expression
ctx
Type:  Aerospike.Client CTX 
optional context path for nested CDT
Examples

// Map bin "a" contains value "BBB"
Exp.GT(
  MapExp.GetByValue(MapReturnType.COUNT, Exp.Val("BBB"), Exp.MapBin("a")),
  Exp.Val(0))
See Also