Menu

CassIndexMeta

struct CassIndexMeta

Index metadata

Public Functions

void cass_index_meta_name(const CassIndexMeta *index_meta, const char **name, size_t *name_length)

Gets the name of the index.

Parameters
  • index_meta:

  • name:

  • name_length:

CassIndexType cass_index_meta_type(const CassIndexMeta *index_meta)

Gets the type of the index.

Return

The index’s type.

Parameters
  • index_meta:

void cass_index_meta_target(const CassIndexMeta *index_meta, const char **target, size_t *target_length)

Gets the target of the index.

Parameters
  • index_meta:

  • target:

  • target_length:

const CassValue *cass_index_meta_options(const CassIndexMeta *index_meta)

Gets the options of the index.

Return

The index’s options.

Parameters
  • index_meta:

const CassValue *cass_index_meta_field_by_name(const CassIndexMeta *index_meta, const char *name)

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

Return

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

Parameters
  • index_meta:

  • name:

const CassValue *cass_index_meta_field_by_name_n(const CassIndexMeta *index_meta, const char *name, size_t name_length)

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

Return

same as cass_index_meta_field_by_name()

See

cass_index_meta_field_by_name()

Parameters
  • index_meta:

  • name:

  • name_length:

CassIterator *cass_iterator_fields_from_index_meta(const CassIndexMeta *index_meta)

Creates a new fields iterator for the specified index metadata. Metadata fields allow direct access to the index data found in the underlying “indexes” 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
  • index_meta: