struct CassResult
The result of a query.
A result object is read-only and is thread-safe to read or iterate over concurrently.
Functions
Frees a result instance.
This method invalidates all values, rows, and iterators that were derived from this result.
Gets the number of rows for the specified result.
Gets the number of columns per row for the specified result.
CassError
cass_result_column_name
(const CassResult *
result, size_t
index, const char **
name, size_t *
name_length )
Gets the column name at index for the specified result.
Gets the column type at index for the specified result.
Gets the column data type at index for the specified result.
Gets the first row of the result.
Returns true if there are more pages.
Requires Cassandra: 2.0+
CassError
cass_result_paging_state_token
(const CassResult *
result, const char **
paging_state, size_t *
paging_state_size )
Gets the raw paging state from the result. The paging state is bound to the lifetime of the result object. If paging state needs to live beyond the lifetime of the result object it must be copied.
Warning: The paging state should not be exposed to or come from untrusted environments. The paging state could be spoofed and potentially used to gain access to other data.
Requires Cassandra: 2.0+
Creates a new iterator for the specified result. This can be used to iterate over rows in the result.