Menu

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.

Return

A new iterator that must be freed.

See

cass_iterator_free()

Parameters
  • row:

const CassValue *cass_row_get_column(const CassRow *row, size_t index)

Get the column value at index for the specified row.

Return

The column value at the specified index. NULL is returned if the index is out of bounds.

Parameters
  • row:

  • index:

const CassValue *cass_row_get_column_by_name(const CassRow *row, const char *name)

Get the column value by name for the specified row.

Return

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

Parameters
  • row:

  • name:

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.

Return

same as cass_row_get_column_by_name()

See

cass_row_get_column_by_name()

Parameters
  • row:

  • name:

  • name_length: