ListExpGetByValueRange Method

Aerospike
Create expression that selects list items identified by value range 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 GetByValueRange(
	ListReturnType returnType,
	Exp valueBegin,
	Exp valueEnd,
	Exp bin,
	params CTX[] ctx
)

Parameters

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

Return Value

Type: Exp
Examples

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

Reference