Package | Description |
---|---|
org.eclipse.equinox.p2.metadata.expression |
Provides a simple expression language used to represent requirements and filters in the metadada
Package Specification
This package defines a simple expression language that is used to define requirements and filters in the metadata, but also form the base of the p2 query language.
|
org.eclipse.equinox.p2.metadata.index |
Provides classes for metadata query indexing
Package Specification
This package provides API for creating and manipulating indices that are used
to optimize queries against a particular queryable source.
|
org.eclipse.equinox.p2.query |
Provides common classes for the query mechanism.
|
Modifier and Type | Method and Description |
---|---|
IEvaluationContext |
IMatchExpression.createContext()
Creates a new context to be passed to repeated subsequent evaluations.
|
IEvaluationContext |
IContextExpression.createContext(Class<? extends T> elementClass,
IIndexProvider<T> indexProvider)
Creates a new context to be passed to a subsequent evaluation.
|
IEvaluationContext |
IContextExpression.createContext(Class<? extends T> elementClass,
Iterator<T> everything)
Creates a new context to be passed to a subsequent evaluation.
|
IEvaluationContext |
IExpressionFactory.createContext(IExpression[] variables,
Object... params)
Create an evaluation context with one single variable
|
IEvaluationContext |
IExpressionFactory.createContext(Object... params)
Create an evaluation context with one single variable
|
Modifier and Type | Method and Description |
---|---|
Object |
IExpression.evaluate(IEvaluationContext context)
Evaluate this expression with given context and variables.
|
boolean |
IMatchExpression.isMatch(IEvaluationContext context,
T candidate)
This method assigns
candidate to the 'this' variable of the
context and then evaluates the expression. |
Iterator<T> |
IContextExpression.iterator(IEvaluationContext context)
Evaluate the expression and return the expected collection result as an iterator
|
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
IIndex.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 . |
Modifier and Type | Method and Description |
---|---|
IEvaluationContext |
ExpressionMatchQuery.getContext() |
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.