Class GroupQueryProcessor
- java.lang.Object
-
- com.google.gerrit.index.query.QueryProcessor<InternalGroup>
-
- com.google.gerrit.server.query.group.GroupQueryProcessor
-
public class GroupQueryProcessor extends com.google.gerrit.index.query.QueryProcessor<InternalGroup>
Query processor for the group 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
GroupQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider, AccountLimits.Factory limitsFactory, com.google.gerrit.metrics.MetricMaker metricMaker, com.google.gerrit.index.IndexConfig indexConfig, GroupIndexCollection indexes, GroupIndexRewriter rewriter, GroupControl.GenericFactory groupControlFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.google.gerrit.index.query.Predicate<InternalGroup>
enforceVisibility(com.google.gerrit.index.query.Predicate<InternalGroup> pred)
-
-
-
Constructor Detail
-
GroupQueryProcessor
@Inject protected GroupQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider, AccountLimits.Factory limitsFactory, com.google.gerrit.metrics.MetricMaker metricMaker, com.google.gerrit.index.IndexConfig indexConfig, GroupIndexCollection indexes, GroupIndexRewriter rewriter, GroupControl.GenericFactory groupControlFactory)
-
-
Method Detail
-
enforceVisibility
protected com.google.gerrit.index.query.Predicate<InternalGroup> enforceVisibility(com.google.gerrit.index.query.Predicate<InternalGroup> pred)
- Specified by:
enforceVisibility
in classcom.google.gerrit.index.query.QueryProcessor<InternalGroup>
-
-