cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1043274 - /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/cli/CliUserHelp.java
Date Wed, 08 Dec 2010 01:41:46 GMT
Author: jbellis
Date: Wed Dec  8 01:41:46 2010
New Revision: 1043274

URL: http://svn.apache.org/viewvc?rev=1043274&view=rev
Log:
fix "create column family" example in cli help
patch by jbellis

Modified:
    cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/cli/CliUserHelp.java

Modified: cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/cli/CliUserHelp.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/cli/CliUserHelp.java?rev=1043274&r1=1043273&r2=1043274&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/cli/CliUserHelp.java (original)
+++ cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/cli/CliUserHelp.java Wed
Dec  8 01:41:46 2010
@@ -181,8 +181,8 @@ public class CliUserHelp {
                 state.out.println("create column family Bar with column_type = 'Super' and
comparator = 'AsciiType'");
                 state.out.println("      and rows_cached = 10000;");
                 state.out.println("create column family Baz with comparator = 'LongType'
and rows_cached = 10000;");
-                state.out.print("create column family Foo with comparator=LongType and column_metadata=");
-                state.out.print("[{ column_name:Test, validation_class:IntegerType, index_type:0,
index_name:IdxName");
+                state.out.print("create column family Foo with comparator=UTF8Type and column_metadata=");
+                state.out.print("[{ column_name:test, validation_class:IntegerType, index_type:0,
index_name:TextIdx");
                 state.out.println("}, { column_name:'other name', validation_class:LongType
}];");
                 break;
 



Mime
View raw message