public interface IQueryWithIndex<T> extends IQuery<T>
IQuery
that allows use of indexes.Modifier and Type | Method and Description |
---|---|
IQueryResult<T> |
perform(IIndexProvider<T> indexProvider)
Evaluates the query using the
indexProvider . |
getExpression, perform
IQueryResult<T> perform(IIndexProvider<T> indexProvider)
indexProvider
. The query
is first analyzed for index candidates (typically expressions like
id == <some value>) and if possible, indexes returned by
IIndexProvider.getIndex(String)
will be used
in place of the iterator returned by IIndexProvider.everything()
.indexProvider
- The provider of the material to evaluate the query on
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.