public class InternalChangeQuery extends InternalQuery<ChangeData>
indexConfig
Modifier and Type | Method and Description |
---|---|
java.util.List<ChangeData> |
byBranchCommit(com.google.gerrit.reviewdb.client.Branch.NameKey branch,
java.lang.String hash) |
java.util.List<ChangeData> |
byBranchCommit(java.lang.String project,
java.lang.String branch,
java.lang.String hash) |
java.util.List<ChangeData> |
byBranchKey(com.google.gerrit.reviewdb.client.Branch.NameKey branch,
com.google.gerrit.reviewdb.client.Change.Key key) |
java.util.List<ChangeData> |
byBranchNew(com.google.gerrit.reviewdb.client.Branch.NameKey branch) |
java.util.List<ChangeData> |
byBranchOpen(com.google.gerrit.reviewdb.client.Branch.NameKey branch) |
java.util.List<ChangeData> |
byCommit(org.eclipse.jgit.lib.ObjectId id) |
java.util.List<ChangeData> |
byCommit(java.lang.String hash) |
java.lang.Iterable<ChangeData> |
byCommitsOnBranchNotMerged(org.eclipse.jgit.lib.Repository repo,
com.google.gerrit.reviewdb.server.ReviewDb db,
com.google.gerrit.reviewdb.client.Branch.NameKey branch,
java.util.List<java.lang.String> hashes) |
java.util.List<ChangeData> |
byIsStarred(com.google.gerrit.reviewdb.client.Account.Id id) |
java.util.List<ChangeData> |
byKey(com.google.gerrit.reviewdb.client.Change.Key key) |
java.util.List<ChangeData> |
byKeyPrefix(java.lang.String prefix) |
java.util.List<ChangeData> |
byLegacyChangeId(com.google.gerrit.reviewdb.client.Change.Id id) |
java.util.List<ChangeData> |
byLegacyChangeIds(java.util.Collection<com.google.gerrit.reviewdb.client.Change.Id> ids) |
java.util.List<ChangeData> |
byProject(com.google.gerrit.reviewdb.client.Project.NameKey project) |
java.util.List<ChangeData> |
byProjectCommit(com.google.gerrit.reviewdb.client.Project.NameKey project,
java.lang.String hash) |
java.util.List<ChangeData> |
byProjectCommits(com.google.gerrit.reviewdb.client.Project.NameKey project,
java.util.List<java.lang.String> hashes) |
java.util.List<ChangeData> |
byProjectGroups(com.google.gerrit.reviewdb.client.Project.NameKey project,
java.util.Collection<java.lang.String> groups) |
java.util.List<ChangeData> |
byProjectOpen(com.google.gerrit.reviewdb.client.Project.NameKey project) |
java.util.List<ChangeData> |
bySubmissionId(java.lang.String cs) |
java.util.List<ChangeData> |
byTopicOpen(java.lang.String topic) |
InternalChangeQuery |
enforceVisibility(boolean enforce) |
InternalChangeQuery |
noFields() |
InternalChangeQuery |
setLimit(int n) |
InternalChangeQuery |
setRequestedFields(java.util.Set<java.lang.String> fields) |
query, schema
public InternalChangeQuery setLimit(int n)
setLimit
in class InternalQuery<ChangeData>
public InternalChangeQuery enforceVisibility(boolean enforce)
enforceVisibility
in class InternalQuery<ChangeData>
public InternalChangeQuery setRequestedFields(java.util.Set<java.lang.String> fields)
setRequestedFields
in class InternalQuery<ChangeData>
public InternalChangeQuery noFields()
noFields
in class InternalQuery<ChangeData>
public java.util.List<ChangeData> byKey(com.google.gerrit.reviewdb.client.Change.Key key) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byKeyPrefix(java.lang.String prefix) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byLegacyChangeId(com.google.gerrit.reviewdb.client.Change.Id id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byLegacyChangeIds(java.util.Collection<com.google.gerrit.reviewdb.client.Change.Id> ids) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byBranchKey(com.google.gerrit.reviewdb.client.Branch.NameKey branch, com.google.gerrit.reviewdb.client.Change.Key key) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byProject(com.google.gerrit.reviewdb.client.Project.NameKey project) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byBranchOpen(com.google.gerrit.reviewdb.client.Branch.NameKey branch) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byBranchNew(com.google.gerrit.reviewdb.client.Branch.NameKey branch) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.lang.Iterable<ChangeData> byCommitsOnBranchNotMerged(org.eclipse.jgit.lib.Repository repo, com.google.gerrit.reviewdb.server.ReviewDb db, com.google.gerrit.reviewdb.client.Branch.NameKey branch, java.util.List<java.lang.String> hashes) throws com.google.gwtorm.server.OrmException, java.io.IOException
com.google.gwtorm.server.OrmException
java.io.IOException
public java.util.List<ChangeData> byProjectOpen(com.google.gerrit.reviewdb.client.Project.NameKey project) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byTopicOpen(java.lang.String topic) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byCommit(org.eclipse.jgit.lib.ObjectId id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byCommit(java.lang.String hash) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byProjectCommit(com.google.gerrit.reviewdb.client.Project.NameKey project, java.lang.String hash) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byProjectCommits(com.google.gerrit.reviewdb.client.Project.NameKey project, java.util.List<java.lang.String> hashes) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byBranchCommit(java.lang.String project, java.lang.String branch, java.lang.String hash) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byBranchCommit(com.google.gerrit.reviewdb.client.Branch.NameKey branch, java.lang.String hash) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> bySubmissionId(java.lang.String cs) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byProjectGroups(com.google.gerrit.reviewdb.client.Project.NameKey project, java.util.Collection<java.lang.String> groups) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeData> byIsStarred(com.google.gerrit.reviewdb.client.Account.Id id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException