ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Server
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Download
ScyllaDB Docs Scylla C/C++ Driver API Documentation CassIndexMeta

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 – [in]

  • name – [out]

  • name_length – [out]

CassIndexType cass_index_meta_type(const CassIndexMeta *index_meta)¶

Gets the type of the index.

Parameters:

index_meta – [in]

Returns:

The index’s type.

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 – [in]

  • target – [out]

  • target_length – [out]

const CassValue *cass_index_meta_options(const CassIndexMeta *index_meta)¶

Gets the options of the index.

Parameters:

index_meta – [in]

Returns:

The index’s options.

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.

Parameters:
  • index_meta – [in]

  • name – [in]

Returns:

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

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.

See also

cass_index_meta_field_by_name()

Parameters:
  • index_meta – [in]

  • name – [in]

  • name_length – [in]

Returns:

same as cass_index_meta_field_by_name()

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.

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.

Was this page helpful?

PREVIOUS
CassFuture
NEXT
CassInet
  • Create an issue
  • Edit this page

On this page

  • CassIndexMeta
    • CassIndexMeta
      • CassIndexMeta::cass_index_meta_name()
      • CassIndexMeta::cass_index_meta_type()
      • CassIndexMeta::cass_index_meta_target()
      • CassIndexMeta::cass_index_meta_options()
      • CassIndexMeta::cass_index_meta_field_by_name()
      • CassIndexMeta::cass_index_meta_field_by_name_n()
      • CassIndexMeta::cass_iterator_fields_from_index_meta()
Scylla C/C++ Driver
  • master
    • master
  • C/C++ Driver for ScyllaDB
  • API Documentation
    • CassAggregateMeta
    • CassAuthenticator
    • CassAuthenticatorCallbacks
    • CassBatch
    • CassCluster
    • CassCollection
    • CassColumnMeta
    • CassCustomPayload
    • CassDataType
    • CassErrorResult
    • CassExecProfile
    • CassFunctionMeta
    • CassFuture
    • CassIndexMeta
    • CassInet
    • CassIterator
    • CassKeyspaceMeta
    • CassLogMessage
    • CassMaterializedViewMeta
    • CassMetrics
    • CassNode
    • CassPrepared
    • CassResult
    • CassRetryPolicy
    • CassRow
    • CassSchemaMeta
    • CassSession
    • CassSpeculativeExecutionMetrics
    • CassSsl
    • CassStatement
    • CassTableMeta
    • CassTimestampGen
    • CassTuple
    • CassUserType
    • CassUuid
    • CassUuidGen
    • CassValue
    • CassVersion
    • DseDateRange
    • DseDateRangeBound
    • DseLineString
    • DseLineStringIterator
    • DsePolygon
    • DsePolygonIterator
  • Features
    • Basics
      • Batches
      • Binding Parameters
      • Client-side timestamps
      • Consistency
      • Data Types
      • The date and time Types
      • Futures
      • Handling Results
      • Keyspaces
      • Prepared Statements
      • Schema Metadata
      • Tuples
      • User-Defined Types (UDTs)
      • UUIDs
    • Building
    • Client Configuration
    • Cloud
    • Configuration
      • Retry policies
    • Execution Profiles
    • FAQ
    • Installation
    • Logging
    • Metrics
    • Scylla Specific Features
    • Security
      • SSL
    • Testing
      • Cassandra Cluster Manager (CCM)
    • Tracing
  • DSE Features
    • Authentication
    • Geospatial types
Docs Tutorials University Contact Us About Us
© 2025, ScyllaDB. All rights reserved. | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 28 April 2025.
Powered by Sphinx 7.4.7 & ScyllaDB Theme 1.8.6