ListExp GetByIndex Method Aerospike
Create expression that selects list item identified by index and returns selected data specified by returnType.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.1.0 (4.2.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
index
Type: Aerospike.Client Exp
list index expression
bin
Type: Aerospike.Client Exp
list bin or list value expression
ctx
Type:  Aerospike.Client CTX 
optional context path for nested CDT
Examples

// a[3] == 5
Exp.EQ(
  ListExp.GetByIndex(ListReturnType.VALUE, Type.INT, Exp.Val(3), Exp.ListBin("a")),
  Exp.Val(5));
See Also