|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<T>
org.eclipse.stardust.engine.api.query.AbstractQueryResult<T>
public abstract class AbstractQueryResult<T>
| Method Summary | |
|---|---|
T |
get(int index)
|
long |
getSize()
|
SubsetPolicy |
getSubsetPolicy()
Retrieves the subset policy this result set is based on. |
long |
getTotalCount()
Gets the optionally evaluated count of all items satisfying the query this result is based on. |
long |
getTotalCountThreshold()
This returns the configured threshold up to which total count is counted exactly. |
boolean |
hasMore()
Indicates if there are more items available for this result set than allowed by its SubsetPolicy. |
int |
size()
|
| Methods inherited from class java.util.AbstractList |
|---|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
| Method Detail |
|---|
public T get(int index)
get in interface java.util.List<T>get in class java.util.AbstractList<T>public int size()
size in interface java.util.Collection<T>size in interface java.util.List<T>size in class java.util.AbstractCollection<T>public long getSize()
public long getTotalCount()
throws java.lang.UnsupportedOperationException
QueryResultSubsetPolicy.
If no subset policy is used, the total count of items is equal the size of the query
result.
getTotalCount in interface QueryResult<T>java.lang.UnsupportedOperationException - if the evaluation of the total count was not
requestedSubsetPolicy.isEvaluatingTotalCount()public SubsetPolicy getSubsetPolicy()
QueryResult
getSubsetPolicy in interface QueryResult<T>SubsetPolicy the result set is based on.public boolean hasMore()
QueryResultSubsetPolicy.
hasMore in interface QueryResult<T>true if there are more items available, false if
not.QueryResult.getSubsetPolicy()public long getTotalCountThreshold()
QueryResult
getTotalCountThreshold in interface QueryResult<T>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||