Class AccountQueryProcessor
- java.lang.Object
-
- com.google.gerrit.index.query.QueryProcessor<AccountState>
-
- com.google.gerrit.server.query.account.AccountQueryProcessor
-
public class AccountQueryProcessor extends com.google.gerrit.index.query.QueryProcessor<AccountState>
Query processor for the account index.Instances are one-time-use. Other singleton classes should inject a Provider rather than holding on to a single instance.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AccountQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider, AccountLimits.Factory limitsFactory, com.google.gerrit.metrics.MetricMaker metricMaker, com.google.gerrit.index.IndexConfig indexConfig, AccountIndexCollection indexes, AccountIndexRewriter rewriter, AccountControl.Factory accountControlFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.google.gerrit.index.query.Predicate<AccountState>
enforceVisibility(com.google.gerrit.index.query.Predicate<AccountState> pred)
-
-
-
Constructor Detail
-
AccountQueryProcessor
@Inject protected AccountQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider, AccountLimits.Factory limitsFactory, com.google.gerrit.metrics.MetricMaker metricMaker, com.google.gerrit.index.IndexConfig indexConfig, AccountIndexCollection indexes, AccountIndexRewriter rewriter, AccountControl.Factory accountControlFactory)
-
-
Method Detail
-
enforceVisibility
protected com.google.gerrit.index.query.Predicate<AccountState> enforceVisibility(com.google.gerrit.index.query.Predicate<AccountState> pred)
- Specified by:
enforceVisibility
in classcom.google.gerrit.index.query.QueryProcessor<AccountState>
-
-