Class CQLQueryResult
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.datanucleus.store.query.AbstractQueryResult
-
- org.datanucleus.store.cassandra.query.CQLQueryResult
-
- All Implemented Interfaces:
Serializable
,Iterable
,Collection
,List
,org.datanucleus.store.query.QueryResult
public class CQLQueryResult extends org.datanucleus.store.query.AbstractQueryResult
QueryResult for Cassandra CQL queries.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.datanucleus.store.query.AbstractQueryResult
api, closed, connectionListeners, loadResultsAtCommit, query, resultSizeMethod, size
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description CQLQueryResult(org.datanucleus.store.query.Query query, com.datastax.oss.driver.api.core.cql.ResultSet rs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Method to close the results, meaning that they are inaccessible after this point.protected void
closeResults()
Internal method to close the ResultSet.protected void
closingConnection()
void
disconnect()
boolean
equals(Object o)
Object
get(int index)
int
hashCode()
void
initialise()
Iterator
iterator()
ListIterator
listIterator()
-
Methods inherited from class org.datanucleus.store.query.AbstractQueryResult
add, add, addAll, addConnectionListener, assertIsOpen, clear, contains, containsAll, getSizeUsingMethod, indexOf, isEmpty, isOpen, lastIndexOf, remove, set, size, subList, toArray, toArray
-
Methods inherited from class java.util.AbstractList
listIterator, removeRange
-
Methods inherited from class java.util.AbstractCollection
addAll, remove, removeAll, retainAll, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, remove, removeAll, replaceAll, retainAll, sort, spliterator
-
-
-
-
Method Detail
-
initialise
public void initialise()
-
closingConnection
protected void closingConnection()
- Specified by:
closingConnection
in classorg.datanucleus.store.query.AbstractQueryResult
-
disconnect
public void disconnect()
- Specified by:
disconnect
in interfaceorg.datanucleus.store.query.QueryResult
- Overrides:
disconnect
in classorg.datanucleus.store.query.AbstractQueryResult
-
close
public void close()
Method to close the results, meaning that they are inaccessible after this point.- Specified by:
close
in interfaceorg.datanucleus.store.query.QueryResult
- Overrides:
close
in classorg.datanucleus.store.query.AbstractQueryResult
-
closeResults
protected void closeResults()
Internal method to close the ResultSet.- Specified by:
closeResults
in classorg.datanucleus.store.query.AbstractQueryResult
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceCollection
- Specified by:
equals
in interfaceList
- Specified by:
equals
in classorg.datanucleus.store.query.AbstractQueryResult
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceCollection
- Specified by:
hashCode
in interfaceList
- Overrides:
hashCode
in classorg.datanucleus.store.query.AbstractQueryResult
-
get
public Object get(int index)
-
iterator
public Iterator iterator()
-
listIterator
public ListIterator listIterator()
- Specified by:
listIterator
in interfaceList
- Specified by:
listIterator
in classorg.datanucleus.store.query.AbstractQueryResult
-
-