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: 5.1.1.0 (5.1.1)
Syntax
C#
public static Exp GetByValue( MapReturnType returnType, Exp value, Exp bin, params CTX[] ctx )
Parameters
- returnType
- Type: Aerospike.ClientMapReturnType
metadata attributes to return. See MapReturnType - value
- Type: Aerospike.ClientExp
value expression - bin
- Type: Aerospike.ClientExp
bin or map value expression - ctx
- Type: Aerospike.ClientCTX
optional context path for nested CDT
Return Value
Type: ExpExamples
// Map bin "a" contains value "BBB" Exp.GT( MapExp.GetByValue(MapReturnType.COUNT, Exp.Val("BBB"), Exp.MapBin("a")), Exp.Val(0))
See Also