cat_gateway::db::index

Module schema

source
Expand description

Index Schema

Constantsยง

  • Keyspace Create (Templated)
  • SCHEMAS ๐Ÿ”’
    All Schema Creation Statements
  • SCHEMA_VERSION ๐Ÿ”’
    The version of the Index DB Schema we SHOULD BE using. DO NOT change this unless you are intentionally changing the Schema.

Functionsยง

  • create_namespace ๐Ÿ”’
    Create the namespace we will use for this session Ok to run this if the namespace already exists.
  • create_schema ๐Ÿ”’
    Create the Schema on the connected Cassandra DB
  • Generates a unique schema version identifier based on the content of all CQL schemas.
  • namespace ๐Ÿ”’
    Get the namespace for a particular db configuration
  • Removes all comments from each line in the input query text and joins the remaining lines into a single string, reducing consecutive whitespace characters to a single space. Comments are defined as any text following -- on a line.