Class 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
    • Constructor Detail

      • CQLQueryResult

        public CQLQueryResult​(org.datanucleus.store.query.Query query,
                              com.datastax.oss.driver.api.core.cql.ResultSet rs)
    • Method Detail

      • initialise

        public void initialise()
      • closingConnection

        protected void closingConnection()
        Specified by:
        closingConnection in class org.datanucleus.store.query.AbstractQueryResult
      • disconnect

        public void disconnect()
        Specified by:
        disconnect in interface org.datanucleus.store.query.QueryResult
        Overrides:
        disconnect in class org.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 interface org.datanucleus.store.query.QueryResult
        Overrides:
        close in class org.datanucleus.store.query.AbstractQueryResult
      • closeResults

        protected void closeResults()
        Internal method to close the ResultSet.
        Specified by:
        closeResults in class org.datanucleus.store.query.AbstractQueryResult
      • equals

        public boolean equals​(Object o)
        Specified by:
        equals in interface Collection
        Specified by:
        equals in interface List
        Specified by:
        equals in class org.datanucleus.store.query.AbstractQueryResult
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface Collection
        Specified by:
        hashCode in interface List
        Overrides:
        hashCode in class org.datanucleus.store.query.AbstractQueryResult
      • get

        public Object get​(int index)
        Specified by:
        get in interface List
        Specified by:
        get in class org.datanucleus.store.query.AbstractQueryResult
      • listIterator

        public ListIterator listIterator()
        Specified by:
        listIterator in interface List
        Specified by:
        listIterator in class org.datanucleus.store.query.AbstractQueryResult