diff --git a/README.txt b/README.txt index 4fb0845534..a45d7fc5f1 100644 --- a/README.txt +++ b/README.txt @@ -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. [default@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... - [default@unknown] create keyspace Keyspace1 + [default@unknown] create keyspace Keyspace1; ece86bde-dc55-11df-8240-e700f669bcfc - [default@unknown] use Keyspace1 + [default@unknown] use Keyspace1; Authenticated to keyspace: Keyspace1 - [default@Keyspace1] create column family Users with comparator=UTF8Type + [default@Keyspace1] create column family Users with comparator=UTF8Type; 737c7a71-dc56-11df-8240-e700f669bcfc - [default@KS1] set Users[jsmith][first] = 'John' + [default@KS1] set Users[jsmith][first] = 'John'; Value inserted. - [default@KS1] set Users[jsmith][last] = 'Smith' + [default@KS1] set Users[jsmith][last] = 'Smith'; Value inserted. - [default@KS1] set Users[jsmith][age] = long(42) + [default@KS1] set Users[jsmith][age] = long(42); Value inserted. - [default@KS1] get Users[jsmith] + [default@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 above, congrats, your single node 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