ListExpGetByValueRange Method

Create expression that selects list items identified by value range and returns selected data specified by returnType.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp GetByValueRange(
	ListReturnType returnType,
	Exp valueBegin,
	Exp valueEnd,
	Exp bin,
	params CTX[] ctx
)

Parameters

returnType  ListReturnType
metadata attributes to return. See ListReturnType
valueBegin  Exp
begin expression inclusive. If null, range is less than valueEnd.
valueEnd  Exp
end expression exclusive. If null, range is greater than equal to valueBegin.
bin  Exp
bin or list value expression
ctx  CTX
optional context path for nested CDT

Return Value

Exp

Example

C#
// List bin "a" items >= 10 && items < 20
ListExp.GetByValueRange(ListReturnType.VALUE, Exp.Val(10), Exp.Val(20), Exp.ListBin("a"))

See Also