Create expression that selects list item identified by rank and returns selected
data specified by returnType.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 4.1.1.0 (4.1.1)
Syntax
Parameters
- returnType
- Type: Aerospike.Client ListReturnType
metadata attributes to return. See ListReturnType
- valueType
- Type: Aerospike.Client Exp Type
expected type of return value
- rank
- Type: Aerospike.Client Exp
rank expression
- bin
- Type: Aerospike.Client Exp
list bin or list value expression
- ctx
- Type: Aerospike.Client CTX
optional context path for nested CDT
Examples
// Player with lowest score. ListExp.GetByRank(ListReturnType.VALUE, Type.STRING, Exp.Val(0), Exp.ListBin("a"))
See Also