cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xe...@apache.org
Subject [1/2] git commit: show index options in CLI patch by Pavel Yaskevich; reviewed by Jonathan Ellis for CASSANDRA-3809
Date Sun, 29 Jan 2012 01:16:11 GMT
Updated Branches:
  refs/heads/cassandra-1.0 b10d5bd70 -> 46adb0db9


show index options in CLI
patch by Pavel Yaskevich; reviewed by Jonathan Ellis for CASSANDRA-3809


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/46adb0db
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/46adb0db
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/46adb0db

Branch: refs/heads/cassandra-1.0
Commit: 46adb0db9ceeafb166012632d20d61d1d85ce5bc
Parents: 2c62ada
Author: Pavel Yaskevich <povel.y@gmail.com>
Authored: Sun Jan 29 02:19:45 2012 +0200
Committer: Pavel Yaskevich <povel.y@gmail.com>
Committed: Sun Jan 29 04:14:11 2012 +0200

----------------------------------------------------------------------
 CHANGES.txt                                      |    1 +
 src/java/org/apache/cassandra/cli/CliClient.java |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/46adb0db/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index db24da4..d32eba8 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -9,6 +9,7 @@
  * (cqlsh) format blobs correctly and use colors to improve output
    readability (CASSANDRA-3726)
  * synchronize BiMap of bootstrapping tokens (CASSANDRA-3417)
+ * show index options in CLI (CASSANDRA-3809)
 
 
 1.0.7

http://git-wip-us.apache.org/repos/asf/cassandra/blob/46adb0db/src/java/org/apache/cassandra/cli/CliClient.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cli/CliClient.java b/src/java/org/apache/cassandra/cli/CliClient.java
index c83ba97..61cc53e 100644
--- a/src/java/org/apache/cassandra/cli/CliClient.java
+++ b/src/java/org/apache/cassandra/cli/CliClient.java
@@ -2043,6 +2043,9 @@ public class CliClient
 
                 if (columnDef.isSetIndex_type())
                     sessionState.out.println(columnLeftSpace + "Index Type: " + columnDef.getIndex_type().name());
+
+                if (columnDef.isSetIndex_options())
+                    sessionState.out.println(columnLeftSpace + "Index Options: " + columnDef.getIndex_options());
             }
         }
 


Mime
View raw message