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