cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcasandra <>
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
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:
Sent from the mailing list archive at

View raw message