# CassIndexMeta

### struct CassIndexMeta

Index metadata 

### Public Types

### enum CassIndexType

*Values:*

### Public Functions

### void cass_index_meta_name(const [CassIndexMeta](#_CPPv413CassIndexMeta) \*index_meta, const char \*\*name, size_t \*name_length)

Gets the name of the index.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **index_meta** – **[in]** 
  * **name** – **[out]** 
  * **name_length** – **[out]** 

### [CassIndexType](#_CPPv4N13CassIndexMeta13CassIndexTypeE) cass_index_meta_type(const [CassIndexMeta](#_CPPv413CassIndexMeta) \*index_meta)

Gets the type of the index.

**Warning:** This function is not yet implemented.

* **Parameters:**
  **index_meta** – **[in]** 
* **Returns:**
  The index’s type. 

### void cass_index_meta_target(const [CassIndexMeta](#_CPPv413CassIndexMeta) \*index_meta, const char \*\*target, size_t \*target_length)

Gets the target of the index.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **index_meta** – **[in]** 
  * **target** – **[out]** 
  * **target_length** – **[out]** 

### const [CassValue](https://cpp-rs-driver.docs.scylladb.com/v1.1.0/api/struct.CassValue.md#_CPPv49CassValue) \*cass_index_meta_options(const [CassIndexMeta](#_CPPv413CassIndexMeta) \*index_meta)

Gets the options of the index.

**Warning:** This function is not yet implemented.

* **Parameters:**
  **index_meta** – **[in]** 
* **Returns:**
  The index’s options. 

### const [CassValue](https://cpp-rs-driver.docs.scylladb.com/v1.1.0/api/struct.CassValue.md#_CPPv49CassValue) \*cass_index_meta_field_by_name(const [CassIndexMeta](#_CPPv413CassIndexMeta) \*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.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **index_meta** – **[in]** 
  * **name** – **[in]** 
* **Returns:**
  A metadata field value. NULL if the field does not exist. 

### const [CassValue](https://cpp-rs-driver.docs.scylladb.com/v1.1.0/api/struct.CassValue.md#_CPPv49CassValue) \*cass_index_meta_field_by_name_n(const [CassIndexMeta](#_CPPv413CassIndexMeta) \*index_meta, const char \*name, size_t name_length)

Same as [cass_index_meta_field_by_name()](#struct_cass_index_meta_1af535acba55cfe29f30ebb0db8a5fa80a), but with lengths for string parameters.

**Warning:** This function is not yet implemented.

#### SEE ALSO
[cass_index_meta_field_by_name()](#struct_cass_index_meta_1af535acba55cfe29f30ebb0db8a5fa80a)

* **Parameters:**
  * **index_meta** – **[in]** 
  * **name** – **[in]** 
  * **name_length** – **[in]** 
* **Returns:**
  same as [cass_index_meta_field_by_name()](#struct_cass_index_meta_1af535acba55cfe29f30ebb0db8a5fa80a)

### [CassIterator](https://cpp-rs-driver.docs.scylladb.com/v1.1.0/api/struct.CassIterator.md#_CPPv412CassIterator) \*cass_iterator_fields_from_index_meta(const [CassIndexMeta](#_CPPv413CassIndexMeta) \*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.

**Warning:** This function is not yet implemented.

#### SEE ALSO
cass_iterator_get_meta_field_name() 

#### SEE ALSO
cass_iterator_get_meta_field_value() 

#### SEE ALSO
cass_iterator_free() 

* **Parameters:**
  **index_meta** – **[in]** 
* **Returns:**
  A new iterator that must be freed.
