Was this page helpful?
CassRow¶
-
struct CassRow¶
A collection of column values.
Public Functions
-
CassIterator *cass_iterator_from_row(const CassRow *row)¶
Creates a new iterator for the specified row. This can be used to iterate over columns in a row.
See also
cass_iterator_free()
- Parameters:
row – [in]
- Returns:
A new iterator that must be freed.
-
const CassValue *cass_row_get_column(const CassRow *row, size_t index)¶
Get the column value at index for the specified row.
- Parameters:
row – [in]
index – [in]
- Returns:
The column value at the specified index. NULL is returned if the index is out of bounds.
-
const CassValue *cass_row_get_column_by_name(const CassRow *row, const char *name)¶
Get the column value by name for the specified row.
- Parameters:
row – [in]
name – [in]
- Returns:
The column value for the specified name. NULL is returned if the column does not exist.
-
const CassValue *cass_row_get_column_by_name_n(const CassRow *row, const char *name, size_t name_length)¶
Same as cass_row_get_column_by_name(), but with lengths for string parameters.
See also
- Parameters:
row – [in]
name – [in]
name_length – [in]
- Returns:
same as cass_row_get_column_by_name()
-
CassIterator *cass_iterator_from_row(const CassRow *row)¶