Search code examples
command-linenosqlcassandradatamodel

Is there any good guide for using the Cassandra Command line Interface?


I wanted to try out Cassandra, and thought the easiest way to get up and running would be via the command line. I was wondering if there is a good guide to using the cli tool that is shipped with Cassandra. I am primarily looking for options to create column families, super columns, insert sample data and query them. The documentation on apache wiki is insufficient.


Solution

  • Everything the cli can do, which isn't much, is contained in its online help.

    $ cassandra-cli Welcome to cassandra CLI. Type 'help' or '?' for help. Type 'quit' or 'exit' to quit. cassandra> ? List of all CLI commands: ...