public class CapabilityIndex extends Index<IInstallableUnit>
| Constructor and Description |
|---|
CapabilityIndex(java.util.Iterator<IInstallableUnit> itor) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<IInstallableUnit> |
getCandidates(IEvaluationContext ctx,
IExpression variable,
IExpression booleanExpr)
Obtains the elements that are candidates for the given
booleanExpr when applied
using the given variable as this. |
protected java.lang.Object |
getQueriedIDs(IEvaluationContext ctx,
IExpression variable,
java.lang.String memberName,
IExpression booleanExpr,
java.lang.Object queriedKeys) |
concatenateUnique, isIndexedMemberpublic CapabilityIndex(java.util.Iterator<IInstallableUnit> itor)
protected java.lang.Object getQueriedIDs(IEvaluationContext ctx, IExpression variable, java.lang.String memberName, IExpression booleanExpr, java.lang.Object queriedKeys)
getQueriedIDs in class Index<IInstallableUnit>public java.util.Iterator<IInstallableUnit> getCandidates(IEvaluationContext ctx, IExpression variable, IExpression booleanExpr)
IIndexbooleanExpr when applied
using the given variable as this.
The returned set of elements are the elements that must be present in order for the expression
to evaluate to true. The set may contain false positives.
TODO: Write more about how the valid set of elements is determined.ctx - The evaluation context used when examining the booleanExpr.variable - The variable used as this.booleanExpr - The boolean expression.null if this index cannot be used.