ASecondaryIndexAccess..::..Query Method (Filter, Exp, array<String>[]()[][])
Performs a secondary index query using the provided Filter and than apply the filter expression.
Namespace:
Aerospike.Database.LINQPadDriver.ExtensionsAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
public IEnumerable<ARecord> Query( Filter secondaryIdxFilter, Exp filterExpression, params string[] bins )
Parameters
- secondaryIdxFilter
- Type: Filter
The Filter used against the secondary index
- filterExpression
- Type: Exp
The Aerospike filter Exp that will be applied after the index filter is applied.
- 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 |