public class IndexRewriteImpl extends java.lang.Object implements ChangeQueryRewriter
Modifier and Type | Field and Description |
---|---|
static java.util.Set<com.google.gerrit.reviewdb.client.Change.Status> |
CLOSED_STATUSES
Set of all closed change statuses.
|
static java.util.Set<com.google.gerrit.reviewdb.client.Change.Status> |
OPEN_STATUSES
Set of all open change statuses.
|
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<com.google.gerrit.reviewdb.client.Change.Status> |
getPossibleStatus(Predicate<ChangeData> in)
Get the set of statuses that changes matching the given predicate may have.
|
Predicate<ChangeData> |
rewrite(Predicate<ChangeData> in,
int start) |
public static final java.util.Set<com.google.gerrit.reviewdb.client.Change.Status> OPEN_STATUSES
public static final java.util.Set<com.google.gerrit.reviewdb.client.Change.Status> CLOSED_STATUSES
public static java.util.EnumSet<com.google.gerrit.reviewdb.client.Change.Status> getPossibleStatus(Predicate<ChangeData> in)
in
- predicateChangeStatusPredicate
s.public Predicate<ChangeData> rewrite(Predicate<ChangeData> in, int start) throws com.google.gerrit.server.query.QueryParseException
rewrite
in interface ChangeQueryRewriter
com.google.gerrit.server.query.QueryParseException