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, size_t index )

Get the column value at index for the specified row.

Parameters:
Name Type Details
in row const CassRow *
in index 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.

const CassValue *

cass_row_get_column_by_name_n

( const CassRow * row, const char * name, size_t name_length )

Same as CassRow::cass_row_get_column_by_name, but with lengths for string parameters.

Parameters:
Name Type Details
in row const CassRow *
in name const char *
in name_length size_t
Returns:
Type Details
const CassValue *

same as CassRow::cass_row_get_column_by_name

See Also: