Class IndexedQuery<I,T>

java.lang.Object
com.google.gerrit.index.query.Predicate<T>
com.google.gerrit.index.query.IndexedQuery<I,T>
Type Parameters:
I - The type of the IDs by which the entities are stored in the index.
T - The type of the entities that are stored in the index.
All Implemented Interfaces:
DataSource<T>, HasCardinality, Paginated<T>
Direct Known Subclasses:
IndexedAccountQuery, IndexedChangeQuery, IndexedGroupQuery

public class IndexedQuery<I,T> extends Predicate<T> implements DataSource<T>, Paginated<T>
Wrapper combining an IndexPredicate together with a DataSource that returns matching results from the index.

Appropriate to return as the rootmost predicate that can be processed using the secondary index; such predicates must also implement DataSource to be chosen by the query processor.