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, size
modCount
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, 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
protected void closingConnection()
AbstractQueryResult
closingConnection
in class AbstractQueryResult
public boolean equals(Object o)
AbstractQueryResult
equals
in interface Collection
equals
in interface List
equals
in class AbstractQueryResult
o
- The object to compare againstpublic Object get(int index)
AbstractQueryResult
get
in interface List
get
in class AbstractQueryResult
index
- The index of the elementpublic Iterator iterator()
AbstractQueryResult
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface List
iterator
in class AbstractQueryResult
public ListIterator listIterator()
AbstractQueryResult
listIterator
in interface List
listIterator
in class AbstractQueryResult
protected Object getObjectForIndex(int index)
index
- The indexprotected Object writeReplace() throws ObjectStreamException
ObjectStreamException
Copyright © 2019. All rights reserved.