|
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.CompoundQueryable<T>
public class CompoundQueryable<T>
A queryable that holds a number of other IQueryables and provides a mechanism for querying the entire set.
Constructor Summary | |
---|---|
CompoundQueryable(Collection<? extends IQueryable<T>> queryables)
Creates a queryable that combines the given collection of input queryables |
|
CompoundQueryable(IQueryable<T> query1,
IQueryable<T> query2)
Creates a queryable that combines the two provided input queryables |
|
CompoundQueryable(IQueryable<T> query1,
IQueryable<T> query2,
IQueryable<T> query3)
Creates a queryable that combines the three provided input queryables |
Method Summary | |
---|---|
Iterator<T> |
everything()
Return the iterator that delivers all rows that the target query should consider. |
org.eclipse.equinox.p2.metadata.index.IIndex<T> |
getIndex(String memberName)
Return an index optimized for producing candidates based on values for a memberName that denotes a member of the index
type. |
Object |
getManagedProperty(Object client,
String memberName,
Object key)
Returns a property that this index manages on behalf of a client object. |
IQueryResult<T> |
query(IQuery<T> query,
IProgressMonitor monitor)
Performs a query, passing any objects that satisfy the query to the provided collector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompoundQueryable(Collection<? extends IQueryable<T>> queryables)
queryables
- The collection of queryables to be combinedpublic CompoundQueryable(IQueryable<T> query1, IQueryable<T> query2)
query1
- The first queryablequery2
- The second queryablepublic CompoundQueryable(IQueryable<T> query1, IQueryable<T> query2, IQueryable<T> query3)
query1
- The first queryablequery2
- The second queryablequery3
- The third queryableMethod Detail |
---|
public IQueryResult<T> query(IQuery<T> query, IProgressMonitor monitor)
IQueryable
This method is long-running; progress and cancellation are provided by the given progress monitor.
query
in interface IQueryable<T>
query
- The query to performmonitor
- a progress monitor, or null
if progress
reporting is not desired
public org.eclipse.equinox.p2.metadata.index.IIndex<T> getIndex(String memberName)
org.eclipse.equinox.p2.metadata.index.IIndexProvider
memberName
that denotes a member of the index
type.
getIndex
in interface org.eclipse.equinox.p2.metadata.index.IIndexProvider<T>
memberName
- A member of type T
.
null
if this provider does not support
this index.public Iterator<T> everything()
org.eclipse.equinox.p2.metadata.index.IIndexProvider
everything
in interface org.eclipse.equinox.p2.metadata.index.IIndexProvider<T>
null
.public Object getManagedProperty(Object client, String memberName, Object key)
org.eclipse.equinox.p2.metadata.index.IIndexProvider
client
object.
Examples of this is the properties that a profile manages for installable
units.
getManagedProperty
in interface org.eclipse.equinox.p2.metadata.index.IIndexProvider<T>
client
- The client for which the property is managed. Typically an IU.memberName
- The name of the managed properties, i.e. "profileProperties"key
- The property key
null
if no value could be found.
|
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.