This topic describes the common terms of the Lindorm CQL syntax.
Term | Definition in Lindorm | Description |
keyspace | namespace | The keyspace. Each keyspace contains multiple tables. The properties of a keyspace apply to all the tables in the keyspace. |
table | table | The table. You must create a schema for a table when you create the table. The schema includes the columns and column types of the table. |
PRIMARY KEY | PRIMARY KEY | The primary key. A primary key is used to uniquely identify the distribution of a data row. In Lindorm CQL, a primary key consists of a partition key and clustering columns. |
partition key | Component of a primary key | A partition key is used in combination with clustering columns to form a primary key. The definition of primary keys in Lindorm CQL is different from the definition of primary keys in Cassandra CQL. |
cluster column | Component of a primary key | Cluster columns are used in combination with a partition key to form a primary key. |
regular column | COLUMN | Non-primary key columns. |
secondary index | secondary index | The secondary index. Lindorm CQL uses secondary indexes to accelerate the speed of queries. |
search index | search index | Lindorm CQL supports search indexes. You can implement multiple features based on search indexes. These features include multi-dimension queries, statistical analysis, and fuzzy match. |