|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.equinox.p2.query.CompoundQuery<T>
public abstract class CompoundQuery<T>
A query that combines a group of sub-queries.
In a CompoundQuery each sub-query is executed over the entire input and the results are combined using either logical AND or logical OR operations.
Clients are expected to call createCompoundQuery(IQuery[], boolean)
to create a concrete instance of a CompoundQuery. If all Queries are instances of
IMatchQuery
then the resulting compound query will be an IMatchQuery
, otherwise the
resulting query will be a context query}.
Constructor Summary | |
---|---|
CompoundQuery()
|
Method Summary | ||
---|---|---|
static
|
createCompoundQuery(IQuery<E>[] queries,
boolean and)
Creates a compound query that combines the given queries. |
|
static
|
createCompoundQuery(IQuery<T> query1,
IQuery<T> query2,
boolean and)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompoundQuery()
Method Detail |
---|
public static <E> IQuery<E> createCompoundQuery(IQuery<E>[] queries, boolean and)
IMatchQuery
then the resulting
compound query will be an instance of IMatchQuery, otherwise the resulting
compound query will be a context query.
queries
- The queries to performand
- true
if this query represents a logical 'and', and
false
if this query represents a logical 'or'.public static <T> IQuery<T> createCompoundQuery(IQuery<T> query1, IQuery<T> query2, boolean and)
|
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.