MapExp GetByKey Method Aerospike
Create expression that selects map item identified by key and returns selected data specified by returnType.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.1.4.0 (4.1.4)
Syntax

Parameters

returnType
Type: Aerospike.Client MapReturnType
metadata attributes to return. See MapReturnType
valueType
Type: Aerospike.Client Exp Type
expected type of return value
key
Type: Aerospike.Client Exp
map key 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 key "B"
Exp.GT(
  MapExp.GetByKey(MapReturnType.COUNT, Type.INT, Exp.Val("B"), Exp.MapBin("a")),
  Exp.Val(0));
See Also