incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pushkar Prasad" <pushkar.pra...@airtightnetworks.net>
Subject Use several non primary key column in Cassandra, and use Pycassa for inserts
Date Fri, 08 Mar 2013 06:22:02 GMT
My requirement is to have a column family like the following:

    mac_ap text,
    proto int,
    stime int,
    total_data int,
    total_assoc int,
    location_id int,
    location_name text
    PRIMARY KEY(mac_ap, proto, stime)

I don't think COMPACT STORAGE allows this. Also, I want to use pycassa. Is
there any way with which I can achieve the above using Cassandra 1.2 and
Pycassa? I want to insert lots of rows into the above column family, hence
pycassa. 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message