incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Lihn <stevel...@gmail.com>
Subject Re: Cassandra data model for financial data
Date Thu, 13 May 2010 19:39:37 GMT
I am not sure this is a good design in Cassandra.
What if I just want to get all the data points for AAPL? Since AAPL is not a
key, how does Cassandra get the data if I don't provide the years?


On Thu, Apr 29, 2010 at 1:09 AM, Schubert Zhang <zsongbo@gmail.com> wrote:

> key : stock ID,  e.g. AAPL+year
> column family: closting price and valume, tow CFs.
> colum name: timestamp LongType
>
> AAPL+2010-> CF:closingPrice -> {'04-13' : 242, '04-14': 245}
> AAPL+2010-> CF:volume -> {'04-13' : 242, '04-14': 245}
>
>
>

Mime
View raw message