Class GroupQueryProcessor
java.lang.Object
com.google.gerrit.index.query.QueryProcessor<InternalGroup>
com.google.gerrit.server.query.group.GroupQueryProcessor
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.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.google.gerrit.index.query.QueryProcessorQueryProcessor.Metrics
- 
Field SummaryFields inherited from class com.google.gerrit.index.query.QueryProcessorstart
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedGroupQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider, AccountLimits.Factory limitsFactory, GroupQueryProcessor.GroupQueryMetrics groupQueryMetrics, IndexConfig indexConfig, GroupIndexCollection indexes, GroupIndexRewriter rewriter, GroupControl.GenericFactory groupControlFactory) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected Predicate<InternalGroup> Invoked after the query was rewritten.protected StringformatForLogging(InternalGroup internalGroup) Methods inherited from class com.google.gerrit.index.query.QueryProcessorcreateOptions, enforceVisibility, getEffectiveLimit, getInitialPageSize, getUserQueryLimit, isDisabled, query, query, setAllowIncompleteResults, setNoLimit, setRequestedFields, setStart, setUserProvidedLimit, setUserProvidedLimit
- 
Constructor Details- 
GroupQueryProcessor@Inject protected GroupQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider, AccountLimits.Factory limitsFactory, GroupQueryProcessor.GroupQueryMetrics groupQueryMetrics, IndexConfig indexConfig, GroupIndexCollection indexes, GroupIndexRewriter rewriter, GroupControl.GenericFactory groupControlFactory) 
 
- 
- 
Method Details- 
enforceVisibilityDescription copied from class:QueryProcessorInvoked after the query was rewritten. Subclasses must overwrite this method to filter out results that are not visible to the calling user.- Specified by:
- enforceVisibilityin class- QueryProcessor<InternalGroup>
- Parameters:
- pred- the query
- Returns:
- the modified query
 
- 
formatForLogging- Specified by:
- formatForLoggingin class- QueryProcessor<InternalGroup>
 
 
-