public interface SearchService
Modifier and Type | Method and Description |
---|---|
java.util.List<ReviewData> |
getReviewsForChangeset(java.lang.String repository,
java.lang.String csid) |
java.util.Map<java.lang.String,java.util.List<ReviewData>> |
getReviewsForChangesets(java.lang.String repository,
java.util.Set<java.lang.String> changesets) |
java.util.List<FileRevisionKeyData> |
query(java.lang.String repository,
java.lang.String query)
Run an EyeQL query against the specified repository.
|
java.util.List<FileRevisionKeyData> |
query(java.lang.String repository,
java.lang.String query,
int maxResults)
Run an EyeQL query against the specified repository.
|
TabularQueryResultData |
queryAsRows(java.lang.String repository,
java.lang.String query)
Run an EyeQL query against the specified repository.
|
TabularQueryResultData |
queryAsRows(java.lang.String repository,
java.lang.String query,
int maxResults)
Run an EyeQL query against the specified repository.
|
java.util.List<FileRevisionKeyData> query(java.lang.String repository, java.lang.String query, int maxResults)
The maximum number of results will be limited to maxResults
or 3000, whichever is the smallest number.
repository
- the key of the repository to searchquery
- the EyeQL query to perform. Should not contain a "returns" statementmaxResults
- the maximum number of results to returnmaxResults
or 3000 results, whichever is the smallest numberjava.util.List<FileRevisionKeyData> query(java.lang.String repository, java.lang.String query)
The maximum number of results will be limited to 3000 results.
repository
- the key of the repository to searchquery
- the EyeQL query to perform. Should not contain a "returns" statementTabularQueryResultData queryAsRows(java.lang.String repository, java.lang.String query, int maxResults)
The maximum number of results will be limited to maxResults
or 3000, whichever is the smallest number.
repository
- the key of the repository to searchquery
- the EyeQL query to perform. Should contain a "returns" statement.maxResults
- the maximum number of results to returnmaxResults
or 3000 results, whichever is the smallest numberTabularQueryResultData queryAsRows(java.lang.String repository, java.lang.String query)
The maximum number of results will be limited to 3000 results.
repository
- the key of the repository to searchquery
- the EyeQL query to perform. Should contain a "returns" statement.java.util.List<ReviewData> getReviewsForChangeset(java.lang.String repository, java.lang.String csid)
repository
- the key of the repository to searchcsid
- the changeset id to lookup reviews forjava.util.Map<java.lang.String,java.util.List<ReviewData>> getReviewsForChangesets(java.lang.String repository, java.util.Set<java.lang.String> changesets)
repository
- the key of the repository to searchchangesets
- the changeset id to lookup reviews for