Class GroupIndexRewriter
java.lang.Object
com.google.gerrit.server.index.group.GroupIndexRewriter
- All Implemented Interfaces:
IndexRewriter<InternalGroup>
Rewriter for the group index. See
IndexRewriter
for details.-
Method Summary
Modifier and TypeMethodDescriptionrewrite
(Predicate<InternalGroup> in, QueryOptions opts) Returns a sanitized version of the provided predicate.
-
Method Details
-
rewrite
public Predicate<InternalGroup> rewrite(Predicate<InternalGroup> in, QueryOptions opts) throws QueryParseException Description copied from interface:IndexRewriter
Returns a sanitized version of the provided predicate. UsesQueryOptions
to enforce index-specific limits such asmaxTerms
.- Specified by:
rewrite
in interfaceIndexRewriter<InternalGroup>
- Throws:
QueryParseException
-