[prev in list] [next in list] [prev in thread] [next in thread]
List: cassandra-dev
Subject: Use several non primary key column in Cassandra, and use Pycassa for inserts
From: "Pushkar Prasad" <pushkar.prasad () airtightnetworks ! net>
Date: 2013-03-08 6:34:02
Message-ID: D41DD468E35547C4AFF891EC0A24B130 () pune ! wibhu ! com
[Download RAW message or body]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic