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, size
modCount
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, toArray
listIterator, removeRange
addAll, remove, removeAll, retainAll, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream
addAll, remove, removeAll, replaceAll, retainAll, sort, spliterator
protected void closeResults()
AbstractQueryResult
closeResults
in class AbstractQueryResult<E>
protected void closingConnection()
AbstractQueryResult
closingConnection
in class AbstractQueryResult<E>
public boolean equals(Object o)
AbstractQueryResult
equals
in interface Collection<E>
equals
in interface List<E>
equals
in class AbstractQueryResult<E>
o
- The object to compare againstpublic int hashCode()
AbstractQueryResult
hashCode
in interface Collection<E>
hashCode
in interface List<E>
hashCode
in class AbstractQueryResult<E>
public E get(int index)
AbstractQueryResult
public Iterator<E> iterator()
AbstractQueryResult
public ListIterator<E> listIterator()
AbstractQueryResult
listIterator
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.