|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
QueryUtil
or
use the QueryUtil.createMatchQuery(String, Object...)
to create a custom expression based query. If the query cannot be expressed using
the p2QL, then use a predefined or custom expression query as a first filter
(in worst case, use QueryUtil.createIUAnyQuery()
) and then provide further filtering
like so:for(iter = queryable.query(someExpressionQuery).iterator(); iter.hasNext();) { // do your match here }
public interface IMatchQuery<T>
A query in which the elements can be evaluated by calling isMatch on. Each
element can be evaluated independently of all other elements. Match queries
can be evaluated in parallel as each call isMatch(Object)
is mutually
exclusive from all other calls.
ExpressionMatchQuery
.Method Summary | |
---|---|
boolean |
isMatch(T candidate)
Deprecated. Returns whether the given object satisfies the parameters of this query. |
Methods inherited from interface org.eclipse.equinox.p2.query.IQuery |
---|
getExpression, perform |
Method Detail |
---|
boolean isMatch(T candidate)
candidate
- The object to perform the query against
true
if the unit satisfies the parameters
of this query, and false
otherwise
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.