|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agimatec.sql.query.QueryResult<E>
public class QueryResult<E>
A LookupResult is the result of executing a query. It holds a list of result instances and the information if there are more results on the server that are not included (because the client did not want more results than requested.)
| Constructor Summary | |
|---|---|
QueryResult(java.util.List<E> list)
|
|
QueryResult(java.util.List<E> list,
boolean aIsComplete)
|
|
| Method Summary | |
|---|---|
E |
getFirst()
convenience - |
E |
getLast()
convenience - |
java.util.List<E> |
getList()
|
boolean |
isComplete()
|
boolean |
isEmpty()
convenience - return whether the list is empty. |
java.util.Iterator<E> |
iterator()
|
int |
size()
convenience - the number of objects in the list |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryResult(java.util.List<E> list)
list - - a serializable list
public QueryResult(java.util.List<E> list,
boolean aIsComplete)
list - - a list (should be serializable!)aIsComplete - | Method Detail |
|---|
public java.util.List<E> getList()
public java.util.Iterator<E> iterator()
iterator in interface java.lang.Iterable<E>public boolean isComplete()
public int size()
public boolean isEmpty()
public E getFirst()
public E getLast()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||