public class CandidateIdsQueryResult<E> extends AbstractQueryResult<E>
| Modifier and Type | Class and Description |
|---|---|
class |
CandidateIdsQueryResult.ResultIterator
Iterator for results for this query.
|
api, closed, connectionListeners, loadResultsAtCommit, query, resultSizeMethod, sizemodCount| Constructor and Description |
|---|
CandidateIdsQueryResult(Query query,
List<Object> inputIds) |
| 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.
|
E |
get(int index)
Method to retrieve a particular element from the list.
|
protected E |
getObjectForIndex(int index)
Convenience method to get the object for a particular index.
|
int |
hashCode()
Accessor for the hashcode of this object
|
Iterator<E> |
iterator()
Accessor for an iterator for the results.
|
ListIterator<E> |
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, indexOf, isEmpty, isOpen, lastIndexOf, remove, set, size, subList, toArray, toArraylistIterator, removeRangeaddAll, remove, removeAll, retainAll, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, streamaddAll, remove, removeAll, replaceAll, retainAll, sort, spliteratorprotected void closeResults()
AbstractQueryResultcloseResults in class AbstractQueryResult<E>protected void closingConnection()
AbstractQueryResultclosingConnection in class AbstractQueryResult<E>public boolean equals(Object o)
AbstractQueryResultequals in interface Collection<E>equals in interface List<E>equals in class AbstractQueryResult<E>o - The object to compare againstpublic int hashCode()
AbstractQueryResulthashCode in interface Collection<E>hashCode in interface List<E>hashCode in class AbstractQueryResult<E>public E get(int index)
AbstractQueryResultpublic Iterator<E> iterator()
AbstractQueryResultpublic ListIterator<E> listIterator()
AbstractQueryResultlistIterator in interface List<E>listIterator in class AbstractQueryResult<E>protected E getObjectForIndex(int index)
index - The indexprotected Object writeReplace() throws ObjectStreamException
ObjectStreamException - if an error occursCopyright © 2019. All rights reserved.