Class GroupQueryBuilder
java.lang.Object
com.google.gerrit.index.query.QueryBuilder<InternalGroup,GroupQueryBuilder>
 
com.google.gerrit.server.query.group.GroupQueryBuilder
Parses a query string meant to be applied to group objects.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.google.gerrit.index.query.QueryBuilderQueryBuilder.Definition<T,Q extends QueryBuilder<T, Q>>, QueryBuilder.Operator, QueryBuilder.OperatorFactory<T, Q extends QueryBuilder<T, Q>> 
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.google.gerrit.index.query.QueryBuilderbuilderDef, opAliases
- 
Method SummaryModifier and TypeMethodDescriptionprotected Predicate<InternalGroup>defaultField(String query) Handle a value present outside of an operator.description(String description) Methods inherited from class com.google.gerrit.index.query.QueryBuildererror, error, find, find, parse, parse, setOperatorAliases
- 
Field Details- 
FIELD_UUID- See Also:
 
- 
FIELD_DESCRIPTION- See Also:
 
- 
FIELD_INNAME- See Also:
 
- 
FIELD_NAME- See Also:
 
- 
FIELD_OWNER- See Also:
 
- 
FIELD_LIMIT- See Also:
 
 
- 
- 
Method Details- 
uuid
- 
description- Throws:
- QueryParseException
 
- 
inname
- 
name
- 
owner- Throws:
- QueryParseException
 
- 
is- Throws:
- QueryParseException
 
- 
defaultFieldDescription copied from class:QueryBuilderHandle a value present outside of an operator.This default implementation always throws an "Unsupported query: " message containing the input text. Subclasses may override this method to perform do-what-i-mean guesses based on the input string. - Overrides:
- defaultFieldin class- QueryBuilder<InternalGroup,- GroupQueryBuilder> 
- Parameters:
- query- the value supplied by itself in the query.
- Returns:
- predicate representing this value.
- Throws:
- QueryParseException- the parser does not recognize this value.
 
- 
memberpublic Predicate<InternalGroup> member(String query) throws QueryParseException, org.eclipse.jgit.errors.ConfigInvalidException, IOException - Throws:
- QueryParseException
- org.eclipse.jgit.errors.ConfigInvalidException
- IOException
 
- 
subgroup- Throws:
- QueryParseException
 
- 
limit- Throws:
- QueryParseException
 
 
-