Defines an index on a Cassandra table column, facilitating efficient querying by column values. This interface specifies the necessary configuration for creating secondary indexes on table columns, enhancing query performance and flexibility.

Properties:

  • name: The name of the index. Typically related to the column it indexes for clarity.
  • value: The name of the column on which the index is created.
  • options: Optional. Custom options for the index, specified as a string. This can include various index configurations supported by Cassandra, such as using specific indexing classes or options.
interface Index {
    name: string;
    options?: string;
    value: string;
}

Properties

Properties

name: string
options?: string
value: string