What is Cassandra Query Language (CQL)? - Amazon Keyspaces (for Apache Cassandra)
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

What is Cassandra Query Language (CQL)?

Cassandra Query Language (CQL) is the primary language for communicating with Apache Cassandra. Amazon Keyspaces (for Apache Cassandra) is compatible with the CQL 3.x API (backward-compatible with version 2.x).

To run CQL queries, you can do one of the following:

  • Use the CQL editor on the Amazon Web Services Management Console.

  • Use Amazon CloudShell and the cqlsh-expansion.

  • Run them on the cqlsh client.

  • Run them programmatically using an Apache 2.0 licensed Cassandra client driver.

In addition, you can access Amazon Keyspaces using the Amazon SDK and the Amazon Command Line Interface.

For more information about using these methods to access Amazon Keyspaces, see Accessing Amazon Keyspaces (for Apache Cassandra).

For more information about CQL, see CQL language reference for Amazon Keyspaces (for Apache Cassandra).