Apache Cassandra 1.0 Documentation

SHOW

This document corresponds to an earlier product version. Make sure you are using the version that corresponds to your version.

Latest Cassandra documentation | Earlier Cassandra documentation

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 versions of the CQL specification and the Thrift protocol that the connected Cassandra instance understands.
  • 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;