Create expression that selects map item identified by key and returns selected data
specified by returnType.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.0.0 (4.2.0)
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