Using CQL
You can use CQL on the command line of a Cassandra node, from DataStax DevCenter, or programmatically using a number of APIs and drivers.
You can use CQL on the command line of a Cassandra node, from DataStax DevCenter, or programmatically using a number of APIs and drivers. Common ways to access CQL are:
- Start cqlsh, the Python-based command-line client, on the command line of a Cassandra node.
- Use DataStax DevCenter, a graphical user interface.
- Use a DataStax driver for programmatic access.
- DataStax Java Driver 2.0.0
Compatible with Cassandra 2.0/CQL 3.1 specification and Cassandra 1.2/CQL 3.0 specification. Supports a smooth upgrade to Cassandra 2.0.
-
DataStax Java Driver 1.0.x
Based on the native/binary protocol version 1, this driver accesses the CQL 3 version based on the CQL 3.0 specification. This version of CQL is the default CQL mode in Cassandra 1.2.
- DataStax C# Driver 1.0.x
- DataStax Python Driver 1.0.x
- DataStax Java Driver 2.0.0
- Use the set_cql_version Thrift method for programmatic access.
This document presents examples using cqlsh.