Apache Cassandra 1.2 Documentation

SHOW

The Cassandra 1.2 documentation is transitioning to a new format!
Please use the new Cassandra 1.2 documentation instead.
Back to Table of Contents
CQL Commands Table of Contents

Shows the Cassandra version, host, or data type assumptions for the current cqlsh client session.

Synopsis

SHOW VERSION
| HOST
| ASSUMPTIONS

Description

A SHOW command displays this information about the current cqlsh client session:

  • The version and build number of the connected Cassandra instance, as well as the CQL mode for cqlsh and the Thrift protocol used by the connected Cassandra instance.
  • The host information of the Cassandra node that the cqlsh session is currently connected to.
  • The data type assumptions for the current cqlsh session as specified by the ASSUME command.

Examples

SHOW VERSION;

SHOW HOST;

SHOW ASSUMPTIONS;