new ResultSet(response, host, triedHosts, consistency)
Creates a new instance of ResultSet
Information on the execution of a successful query:
||Number||The consistency level that has been actually achieved by the query.|
||String||The Cassandra host that coordinated this query.|
||Object||Gets the associative array of host that were queried before getting a valid response, being the last host the one that replied correctly.|
||Uuid||Identifier of the trace session.|
||Array.<string>||Warning messages generated by the server when executing the query.|
Method used to manually fetch the next page of results. This method is only exposed when using the Client#eachRow method and there are more rows available in following pages.
A string token representing the current page state of query. It can be used in the following executions to continue paging and retrieve the remained of the result for the query.
- Default Value:
Gets the row length of the result, regardless if the result has been buffered or not
Gets an array rows returned by the query, in case the result was buffered.
Returns the first row or null if the result rows are empty