public class ChangeQueryBuilder extends com.google.gerrit.index.query.QueryBuilder<ChangeData>
Modifier and Type | Class and Description |
---|---|
static class |
ChangeQueryBuilder.Arguments |
static interface |
ChangeQueryBuilder.ChangeHasOperandFactory |
static interface |
ChangeQueryBuilder.ChangeOperatorFactory |
com.google.gerrit.index.query.QueryBuilder.Definition<T,Q extends com.google.gerrit.index.query.QueryBuilder<T>>, com.google.gerrit.index.query.QueryBuilder.Operator, com.google.gerrit.index.query.QueryBuilder.OperatorFactory<T,Q extends com.google.gerrit.index.query.QueryBuilder<T>>
Modifier | Constructor and Description |
---|---|
protected |
ChangeQueryBuilder(com.google.gerrit.index.query.QueryBuilder.Definition<ChangeData,? extends com.google.gerrit.index.query.QueryBuilder<ChangeData>> def,
ChangeQueryBuilder.Arguments args) |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.index.query.Predicate<ChangeData> |
added(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
after(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
age(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
assignee(String who) |
ChangeQueryBuilder |
asUser(CurrentUser user) |
com.google.gerrit.index.query.Predicate<ChangeData> |
author(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
before(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
branch(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
bug(String trackingId) |
com.google.gerrit.index.query.Predicate<ChangeData> |
cc(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
change(String query) |
com.google.gerrit.index.query.Predicate<ChangeData> |
comment(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
commentby(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
commit(String id) |
com.google.gerrit.index.query.Predicate<ChangeData> |
committer(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
conflicts(String value) |
protected com.google.gerrit.index.query.Predicate<ChangeData> |
defaultField(String query) |
com.google.gerrit.index.query.Predicate<ChangeData> |
deleted(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
delta(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
destination(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
draftby(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
f(String file) |
com.google.gerrit.index.query.Predicate<ChangeData> |
file(String file) |
com.google.gerrit.index.query.Predicate<ChangeData> |
from(String who) |
ChangeQueryBuilder.Arguments |
getArgs() |
com.google.gerrit.index.query.Predicate<ChangeData> |
has(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
hashtag(String hashtag) |
com.google.gerrit.index.query.Predicate<ChangeData> |
intopic(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
is_visible() |
com.google.gerrit.index.query.Predicate<ChangeData> |
is(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
label(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
limit(String query) |
com.google.gerrit.index.query.Predicate<ChangeData> |
message(String text) |
com.google.gerrit.index.query.Predicate<ChangeData> |
o(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
owner(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
ownerin(String group) |
com.google.gerrit.index.query.Predicate<ChangeData> |
p(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
parentproject(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
path(String path) |
com.google.gerrit.index.query.Predicate<ChangeData> |
project(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
projects(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
query(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
r(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
ref(String ref) |
com.google.gerrit.index.query.Predicate<ChangeData> |
revertof(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
reviewedby(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
reviewer(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
reviewerByState(String who,
ReviewerStateInternal state,
boolean forDefaultField) |
com.google.gerrit.index.query.Predicate<ChangeData> |
reviewerin(String group) |
com.google.gerrit.index.query.Predicate<ChangeData> |
since(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
size(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
star(String label) |
com.google.gerrit.index.query.Predicate<ChangeData> |
starredby(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
status_open() |
com.google.gerrit.index.query.Predicate<ChangeData> |
status(String statusName) |
com.google.gerrit.index.query.Predicate<ChangeData> |
submittable(String str) |
com.google.gerrit.index.query.Predicate<ChangeData> |
topic(String name) |
com.google.gerrit.index.query.Predicate<ChangeData> |
tr(String trackingId) |
com.google.gerrit.index.query.Predicate<ChangeData> |
unresolved(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
until(String value) |
com.google.gerrit.index.query.Predicate<ChangeData> |
visibleto(CurrentUser user) |
com.google.gerrit.index.query.Predicate<ChangeData> |
visibleto(String who) |
com.google.gerrit.index.query.Predicate<ChangeData> |
watchedby(String who) |
public static final String FIELD_ADDED
public static final String FIELD_AGE
public static final String FIELD_ASSIGNEE
public static final String FIELD_AUTHOR
public static final String FIELD_EXACTAUTHOR
public static final String FIELD_BEFORE
public static final String FIELD_CHANGE
public static final String FIELD_CHANGE_ID
public static final String FIELD_COMMENT
public static final String FIELD_COMMENTBY
public static final String FIELD_COMMIT
public static final String FIELD_COMMITTER
public static final String FIELD_EXACTCOMMITTER
public static final String FIELD_CONFLICTS
public static final String FIELD_DELETED
public static final String FIELD_DELTA
public static final String FIELD_DESTINATION
public static final String FIELD_DRAFTBY
public static final String FIELD_EDITBY
public static final String FIELD_EXACTCOMMIT
public static final String FIELD_FILE
public static final String FIELD_FILEPART
public static final String FIELD_GROUP
public static final String FIELD_HASHTAG
public static final String FIELD_LABEL
public static final String FIELD_LIMIT
public static final String FIELD_MERGE
public static final String FIELD_MERGEABLE
public static final String FIELD_MESSAGE
public static final String FIELD_OWNER
public static final String FIELD_OWNERIN
public static final String FIELD_PARENTPROJECT
public static final String FIELD_PATH
public static final String FIELD_PENDING_REVIEWER
public static final String FIELD_PENDING_REVIEWER_BY_EMAIL
public static final String FIELD_PRIVATE
public static final String FIELD_PROJECT
public static final String FIELD_PROJECTS
public static final String FIELD_REF
public static final String FIELD_REVIEWEDBY
public static final String FIELD_REVIEWER
public static final String FIELD_REVIEWERIN
public static final String FIELD_STAR
public static final String FIELD_STARBY
public static final String FIELD_STARREDBY
public static final String FIELD_STARTED
public static final String FIELD_STATUS
public static final String FIELD_SUBMISSIONID
public static final String FIELD_TR
public static final String FIELD_UNRESOLVED_COMMENT_COUNT
public static final String FIELD_VISIBLETO
public static final String FIELD_WATCHEDBY
public static final String FIELD_WIP
public static final String FIELD_REVERTOF
public static final String ARG_ID_USER
public static final String ARG_ID_GROUP
public static final String ARG_ID_OWNER
public static final Account.Id OWNER_ACCOUNT_ID
protected ChangeQueryBuilder(com.google.gerrit.index.query.QueryBuilder.Definition<ChangeData,? extends com.google.gerrit.index.query.QueryBuilder<ChangeData>> def, ChangeQueryBuilder.Arguments args)
public ChangeQueryBuilder.Arguments getArgs()
public ChangeQueryBuilder asUser(CurrentUser user)
public com.google.gerrit.index.query.Predicate<ChangeData> age(String value)
public com.google.gerrit.index.query.Predicate<ChangeData> before(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> until(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> after(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> since(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> change(String query) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> comment(String value)
public com.google.gerrit.index.query.Predicate<ChangeData> status(String statusName)
public com.google.gerrit.index.query.Predicate<ChangeData> status_open()
public com.google.gerrit.index.query.Predicate<ChangeData> has(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> is(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> commit(String id)
public com.google.gerrit.index.query.Predicate<ChangeData> conflicts(String value) throws com.google.gwtorm.server.OrmException, QueryParseException
com.google.gwtorm.server.OrmException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> p(String name)
public com.google.gerrit.index.query.Predicate<ChangeData> project(String name)
public com.google.gerrit.index.query.Predicate<ChangeData> projects(String name)
public com.google.gerrit.index.query.Predicate<ChangeData> parentproject(String name)
public com.google.gerrit.index.query.Predicate<ChangeData> branch(String name)
public com.google.gerrit.index.query.Predicate<ChangeData> hashtag(String hashtag)
public com.google.gerrit.index.query.Predicate<ChangeData> topic(String name)
public com.google.gerrit.index.query.Predicate<ChangeData> intopic(String name)
public com.google.gerrit.index.query.Predicate<ChangeData> ref(String ref)
public com.google.gerrit.index.query.Predicate<ChangeData> f(String file)
public com.google.gerrit.index.query.Predicate<ChangeData> file(String file)
public com.google.gerrit.index.query.Predicate<ChangeData> path(String path)
public com.google.gerrit.index.query.Predicate<ChangeData> label(String name) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> message(String text)
public com.google.gerrit.index.query.Predicate<ChangeData> star(String label) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> starredby(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> watchedby(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> draftby(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> visibleto(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> visibleto(CurrentUser user)
public com.google.gerrit.index.query.Predicate<ChangeData> is_visible() throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> o(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> owner(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> assignee(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> ownerin(String group) throws QueryParseException, com.google.gwtorm.server.OrmException
QueryParseException
com.google.gwtorm.server.OrmException
public com.google.gerrit.index.query.Predicate<ChangeData> r(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> reviewer(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> cc(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> reviewerin(String group) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> tr(String trackingId)
public com.google.gerrit.index.query.Predicate<ChangeData> bug(String trackingId)
public com.google.gerrit.index.query.Predicate<ChangeData> limit(String query) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> added(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> deleted(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> size(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> delta(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> commentby(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> from(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> query(String name) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> reviewedby(String who) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.index.query.Predicate<ChangeData> destination(String name) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> author(String who) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> committer(String who) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> submittable(String str) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> unresolved(String value) throws QueryParseException
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> revertof(String value) throws QueryParseException
QueryParseException
protected com.google.gerrit.index.query.Predicate<ChangeData> defaultField(String query) throws QueryParseException
defaultField
in class com.google.gerrit.index.query.QueryBuilder<ChangeData>
QueryParseException
public com.google.gerrit.index.query.Predicate<ChangeData> reviewerByState(String who, ReviewerStateInternal state, boolean forDefaultField) throws QueryParseException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
QueryParseException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException