A collection of column values.

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.

Parameters:
Name Type Details
in row const CassRow *
Returns:
Type Details
CassIterator *

A new iterator that must be freed.

See Also:
const CassValue *

cass_row_get_column

( const CassRow * row, cass_size_t index )

Get the column value at index for the specified row.

Parameters:
Name Type Details
in row const CassRow *
in index cass_size_t
Returns:
Type Details
const CassValue *

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:
Name Type Details
in row const CassRow *
in name const char *
Returns:
Type Details
const CassValue *

The column value for the specified name. NULL is returned if the column does not exist.