Expand description
Index Schema
Constantsยง
- CREATE_
NAMESPACE_ ๐CQL 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.