Interface IIndex<T>
public interface IIndex<T>
Indexed access to the elements provided by an IQueryable
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptiongetCandidates(IEvaluationContext ctx, IExpression variable, IExpression booleanExpr) Obtains the elements that are candidates for the givenbooleanExprwhen applied using the givenvariableasthis.
-
Method Details
-
getCandidates
Obtains the elements that are candidates for the givenbooleanExprwhen applied using the givenvariableasthis. The returned set of elements are the elements that must be present in order for the expression to evaluate totrue. The set may contain false positives. TODO: Write more about how the valid set of elements is determined.- Parameters:
ctx- The evaluation context used when examining thebooleanExpr.variable- The variable used asthis.booleanExpr- The boolean expression.- Returns:
- The candidate elements or
nullif this index cannot be used.
-