|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.client.query.QueryResultSet
public class QueryResultSet
An instance of this class is returned by the Atom API client when consumers call the query methods.
| Constructor Summary | |
|---|---|
QueryResultSet(org.jboss.resteasy.plugins.providers.atom.Feed feed)
Constructor. |
|
| Method Summary | |
|---|---|
ArtifactSummary |
get(int index)
Gets an item at the given index. |
int |
getItemsPerPage()
Returns the number of items per page in the result set, even if the total number of items returned is less. |
int |
getStartIndex()
Returns the starting index for the result set. |
long |
getTotalResults()
Returns the total results matched by the query. |
Iterator<ArtifactSummary> |
iterator()
|
long |
size()
Returns the number of artifacts that matched the query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryResultSet(org.jboss.resteasy.plugins.providers.atom.Feed feed)
feed - | Method Detail |
|---|
public long size()
public long getTotalResults()
public int getItemsPerPage()
public int getStartIndex()
public ArtifactSummary get(int index)
index - public Iterator<ArtifactSummary> iterator()
iterator in interface Iterable<ArtifactSummary>Iterable.iterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||