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