cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcasandra <mohitanch...@gmail.com>
Subject Re: Understanding Indexes
Date Thu, 24 Feb 2011 20:34:54 GMT

I wasn't aware that there is an index on primary key (that is row keys). So
from what I understand there is by default an index on for eg: 1111,2222 in
below example? Where can I read more about it?

UserProfile = { // this is a ColumnFamily
    1111 {   // this is the key to this Row inside the CF
        // now we have an infinite # of columns in this row
        username: "phatduckk",
        email: "[hidden email]",
        phone: "(900) 976-6666"
    }, // end row
    2222 {   // this is the key to another row in the CF
        // now we have another infinite # of columns in this row
        username: "ieure",
        email: "[hidden email]",
        phone: "(888) 555-1212"
        age: "66",
        gender: "undecided"
    },
 }


-- 
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Understanding-Indexes-tp6058238p6061857.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message