You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2014/03/19 18:12:24 UTC
[07/16] git commit: comment CqlRow for #6807
comment CqlRow for #6807
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/73a3eeb6
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/73a3eeb6
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/73a3eeb6
Branch: refs/heads/cassandra-1.2
Commit: 73a3eeb6f679adeb6982229ad730437177a0430d
Parents: 7e87001
Author: Jonathan Ellis <jb...@apache.org>
Authored: Wed Mar 19 12:10:52 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Wed Mar 19 12:10:52 2014 -0500
----------------------------------------------------------------------
interface/cassandra.thrift | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/73a3eeb6/interface/cassandra.thrift
----------------------------------------------------------------------
diff --git a/interface/cassandra.thrift b/interface/cassandra.thrift
index 1fc7201..4eda4f8 100644
--- a/interface/cassandra.thrift
+++ b/interface/cassandra.thrift
@@ -496,7 +496,14 @@ enum CqlResultType {
INT = 3
}
-/** Row returned from a CQL query */
+/**
+ Row returned from a CQL query.
+
+ This struct is used for both CQL2 and CQL3 queries. For CQL2, the partition key
+ is special-cased and is always returned. For CQL3, it is not special cased;
+ it will be included in the columns list if it was included in the SELECT and
+ the key field is always null.
+*/
struct CqlRow {
1: required binary key,
2: required list<Column> columns