public class CandidateIdsQueryResult extends AbstractQueryResult implements Serializable
| Modifier and Type | Class and Description |
|---|---|
class |
CandidateIdsQueryResult.ResultIterator
Iterator for results for this query.
|
closed, connectionListeners, loadResultsAtCommit, LOCALISER, query, resultSizeMethod, sizemodCount| Constructor and Description |
|---|
CandidateIdsQueryResult(Query query,
List<Object> ids) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeResults()
Inform the query result that we are closing the results now.
|
protected void |
closingConnection()
Inform the query result that the connection is being closed so perform
any operations now, or rest in peace.
|
boolean |
equals(Object o)
Equality operator for QueryResults.
|
Object |
get(int index)
Method to retrieve a particular element from the list.
|
protected Object |
getObjectForIndex(int index)
Convenience method to get the object for a particular index.
|
Iterator |
iterator()
Accessor for an iterator for the results.
|
ListIterator |
listIterator()
Accessor for a list iterator for the results.
|
protected Object |
writeReplace()
Handle serialisation by returning a java.util.ArrayList of all of the results for this query
after disconnecting the query which has the consequence of enforcing the load of all objects.
|
add, add, addAll, addConnectionListener, assertIsOpen, clear, close, contains, containsAll, disconnect, getSizeUsingMethod, hashCode, indexOf, isEmpty, isOpen, lastIndexOf, remove, set, size, subList, toArray, toArraylistIterator, removeRangeaddAll, remove, removeAll, retainAll, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, remove, removeAll, retainAllprotected void closeResults()
AbstractQueryResultcloseResults in class AbstractQueryResultprotected void closingConnection()
AbstractQueryResultclosingConnection in class AbstractQueryResultpublic boolean equals(Object o)
AbstractQueryResultequals in interface Collectionequals in interface Listequals in class AbstractQueryResulto - The object to compare againstpublic Object get(int index)
AbstractQueryResultget in interface Listget in class AbstractQueryResultindex - The index of the elementpublic Iterator iterator()
AbstractQueryResultiterator in interface Iterableiterator in interface Collectioniterator in interface Listiterator in class AbstractQueryResultpublic ListIterator listIterator()
AbstractQueryResultlistIterator in interface ListlistIterator in class AbstractQueryResultprotected Object getObjectForIndex(int index)
index - The indexprotected Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionCopyright © 2013. All Rights Reserved.