incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcasandra <mohitanch...@gmail.com>
Subject Partioning and Sorting is it CF Key or Column Key?
Date Sat, 12 Feb 2011 19:52:17 GMT

public class ColumnFamily {
Byte[] name;

  // The key is a user generated key
  Map<Byte[] /* key */,

    // The key is equal to the name of the Column.
    Map<Byte[] /* key */, Column>> value = null;
}
Some questions I have:

1) Is partitioning based on CF.KEY or KEY of Column? From what I read it's
based on column keys and not the CF keys but want to confirm.
2) When data is entered is it sorted based on CF.KEY or KEY of column or
both?
3) Looking at examples of indexing it looks like indexes are on columns.
Would it make sense to have index on CF.KEY also?
-- 
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Partioning-and-Sorting-is-it-CF-Key-or-Column-Key-tp6019450p6019450.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message