Apache Cassandra 1.1 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;

CQL Commands

CQL Commands CQL Shell Commands
ALTER TABLE ASSUME
ALTER KEYSPACE CAPTURE
BATCH COPY
CREATE TABLE DESCRIBE
CREATE INDEX EXIT
CREATE KEYSPACE SHOW
DELETE SOURCE
DROP TABLE  
DROP INDEX  
DROP KEYSPACE  
INSERT  
SELECT  
TRUNCATE  
UPDATE  
USE