|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of input object that this query acceptspublic interface IQuery<T>
The root interface for all queries that can be performed on an IQueryable
.
A query is a piece of logic that selects some objects from a list of provided
inputs using some established criteria.
Any given query must be stable - running the same query on the same inputs must return an equal query result each time the query is executed. Thus a client that has performed a query can freely cache the result as long as they know the query input has not changed.
Method Summary | |
---|---|
IExpression |
getExpression()
Returns the IExpression backing this query or null if
this is not an expression query. |
IQueryResult<T> |
perform(Iterator<T> iterator)
Evaluates the query for a specific input. |
Method Detail |
---|
IQueryResult<T> perform(Iterator<T> iterator)
iterator
- The elements for which to evaluate the query on
IExpression getExpression()
null
if
this is not an expression query.
null
.
|
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.