ASecondaryIndexAccess<(Of <(<'T>)>)>..::..Query Method (Int64, Int64, array<String>[]()[][])
Performs a secondary index range search based on inclusiveStartRange and inclusiveEndRange, inclusively.
For more information see Filter.
Namespace:
Aerospike.Database.LINQPadDriver.ExtensionsAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
public IEnumerable<T> Query( long inclusiveStartRange, long inclusiveEndRange, params string[] bins )
Parameters
- inclusiveStartRange
- Type: Int64
Start Rage, inclusive
- inclusiveEndRange
- Type: Int64
End Range, inclusive
- bins
- Type: array<String>[]()[][]
Only include these bins in the result.
Return Value
A collection of records that match the filters.Exceptions
Exception | Condition |
---|---|
AerospikeException | Thrown if an index cannot be found to match the filter |
ArgumentException | Thrown if inclusiveStartRange is greater than inclusiveEndRange |