Author: jbellis
Date: Sat Nov 27 02:16:31 2010
New Revision: 1039594
URL: http://svn.apache.org/viewvc?rev=1039594&view=rev
Log:
update README with semicolons in cli example
Modified:
cassandra/branches/cassandra-0.7/README.txt
Modified: cassandra/branches/cassandra-0.7/README.txt
URL:
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/README.txt?rev=1039594&r1=1039593&r2=1039594&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/README.txt (original)
+++ cassandra/branches/cassandra-0.7/README.txt Sat Nov 27 02:16:31 2010
@@ -51,27 +51,27 @@ be sitting in front of a prompt...
Connected to: "Test Cluster" on localhost/9160
Welcome to cassandra CLI.
- Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.
+ Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit.
[defa...@unknown]
-As the banner says, you can use 'help' or '?' to see what the CLI has to
-offer, and 'quit' or 'exit' when you've had enough fun. But lets try
+As the banner says, you can use 'help;' or '?' to see what the CLI has to
+offer, and 'quit;' or 'exit;' when you've had enough fun. But lets try
something slightly more interesting...
- [defa...@unknown] create keyspace Keyspace1
+ [defa...@unknown] create keyspace Keyspace1;
ece86bde-dc55-11df-8240-e700f669bcfc
- [defa...@unknown] use Keyspace1
+ [defa...@unknown] use Keyspace1;
Authenticated to keyspace: Keyspace1
- [defa...@keyspace1] create column family Users with comparator=UTF8Type
+ [defa...@keyspace1] create column family Users with comparator=UTF8Type;
737c7a71-dc56-11df-8240-e700f669bcfc
- [defa...@ks1] set Users[jsmith][first] = 'John'
+ [defa...@ks1] set Users[jsmith][first] = 'John';
Value inserted.
- [defa...@ks1] set Users[jsmith][last] = 'Smith'
+ [defa...@ks1] set Users[jsmith][last] = 'Smith';
Value inserted.
- [defa...@ks1] set Users[jsmith][age] = long(42)
+ [defa...@ks1] set Users[jsmith][age] = long(42);
Value inserted.
- [defa...@ks1] get Users[jsmith]
+ [defa...@ks1] get Users[jsmith];
=> (column=last, value=Smith, timestamp=1287604215498000)
=> (column=first, value=John, timestamp=1287604214111000)
=> (column=age, value=42, timestamp=1287604216661000)
@@ -81,7 +81,7 @@ If your session looks similar to what's
cluster is operational! But what exactly was all of that? Let's break it
down into pieces and see.
- set Users[jsmith][first] = 'John'
+ set Users[jsmith][first] = 'John';
\ \ \ \
\ \_ key \ \_ value
\ \_ column