Introduction to Cassandra Query LanguageCassandra Query Language (CQL) is a query language for the Cassandra database.
Data modeling concepts How data modeling should be approached for Cassandra. A Pro Cycling statistics example is used throughout the CQL document.
Data modeling analysisHow to analyze a logical data model.
Using materialized viewsLearn about materialized views, which are tables with data that is automatically inserted and updated from another base table.
Using CQLCQL provides an API to Cassandra that is simpler than the Thrift API.
Starting cqlsh on Linux and Mac OS XA brief description on starting cqlsh on Linux and Mac OS X.
Creating and updating a keyspaceCreating a keyspace is the CQL counterpart to creating an SQL database.
Creating a tableHow to create tables to store data.
Creating advanced data types in tablesHow to create collections and user defined types (UDTs) in tables.
Creating functionsHow to create functions.
Inserting and updating dataHow to insert data into a table with either regular or JSON data.
Batching data insertion and updatesHow to batch insert or update data into a table.
Querying tablesHow to query data from tables.
IndexingAn index provides a means to access data in Cassandra using attributes other than the partition key for fast, efficient lookup of data matching a given condition.
Altering a tableHow to alter a table to add or delete columns or change table properties.
Altering a user-defined typeAdding columns to a user-defined type with the ALTER TYPE command.
Securing a tableHow to secure a table.
Tracing consistency changesThis tutorial shows the difference between these consistency levels and the number of replicas that participate to satisfy a request.
Determining time-to-live (TTL) for a columnHow to insert and retrieve data pertaining to TTL for columns.
Determining the date/time of a writeUsing the WRITETIME function in a SELECT statement to determine when the date/time that the column was written to the database.
Legacy tablesHow to work with legacy tables.
IntroductionAbout using CQL.
CQL lexical structureCQL input consists of statements that change data, look up data, store data, or change the way data is stored.
CQL data typesBuilt-in data types for columns.
FunctionsCQL support functions for transforming one or more column values into a new value.
CQL limitsUpper CQL limits.
CQL shell commandsThe CQL shell (cqlsh utility) commands.
CQL commandsCQL commands.