Menu

CassColumnMeta

struct CassColumnMeta

Column metadata

Public Functions

void cass_column_meta_name(const CassColumnMeta *column_meta, const char **name, size_t *name_length)

Gets the name of the column.

Parameters
  • column_meta:

  • name:

  • name_length:

CassColumnType cass_column_meta_type(const CassColumnMeta *column_meta)

Gets the type of the column.

Return

The column’s type.

Parameters
  • column_meta:

const CassDataType *cass_column_meta_data_type(const CassColumnMeta *column_meta)

Gets the data type of the column.

Return

The column’s data type.

Parameters
  • column_meta:

const CassValue *cass_column_meta_field_by_name(const CassColumnMeta *column_meta, const char *name)

Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying “columns” metadata table.

Return

A metadata field value. NULL if the field does not exist.

Parameters
  • column_meta:

  • name:

const CassValue *cass_column_meta_field_by_name_n(const CassColumnMeta *column_meta, const char *name, size_t name_length)

Same as cass_column_meta_field_by_name(), but with lengths for string parameters.

Return

same as cass_column_meta_field_by_name()

See

cass_column_meta_field_by_name()

Parameters
  • column_meta:

  • name:

  • name_length:

CassIterator *cass_iterator_fields_from_column_meta(const CassColumnMeta *column_meta)

Creates a new fields iterator for the specified column metadata. Metadata fields allow direct access to the column data found in the underlying “columns” metadata table. This can be used to iterate those metadata field entries.

Return

A new iterator that must be freed.

See

cass_iterator_get_meta_field_name()

See

cass_iterator_get_meta_field_value()

See

cass_iterator_free()

Parameters
  • column_meta: