public class IndexedAccountQuery extends com.google.gerrit.index.IndexedQuery<Account.Id,AccountState> implements com.google.gerrit.index.query.DataSource<AccountState>, com.google.gerrit.index.query.Matchable<AccountState>
Constructor and Description |
---|
IndexedAccountQuery(com.google.gerrit.index.Index<Account.Id,AccountState> index,
com.google.gerrit.index.query.Predicate<AccountState> pred,
com.google.gerrit.index.QueryOptions opts) |
Modifier and Type | Method and Description |
---|---|
int |
getCost() |
boolean |
match(AccountState accountState) |
copy, equals, getCardinality, getChild, getChildCount, getChildren, getOptions, hashCode, read, restart, toString
and, and, any, asMatchable, estimateCost, isMatchable, not, or, or
public IndexedAccountQuery(com.google.gerrit.index.Index<Account.Id,AccountState> index, com.google.gerrit.index.query.Predicate<AccountState> pred, com.google.gerrit.index.QueryOptions opts) throws QueryParseException
QueryParseException
public boolean match(AccountState accountState) throws com.google.gwtorm.server.OrmException
match
in interface com.google.gerrit.index.query.Matchable<AccountState>
com.google.gwtorm.server.OrmException
public int getCost()
getCost
in interface com.google.gerrit.index.query.Matchable<AccountState>