incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CASSANDRA learner <cassandralear...@gmail.com>
Subject Re: Can we store java objects and images/files in cassandra
Date Wed, 27 Jul 2011 09:40:07 GMT
Thanks for the response Oliver,

Can you please let me know where can i find an example for storing images
and files. I could not able to find one in tht link. Please let me know

On Wed, Jul 27, 2011 at 1:48 PM, Oliver Dungey <oliver.dungey@gmail.com>wrote:

> You can store anything you like in Cassandra. The type of data is not
> relevant as there are no types in Cassandra, they all get stored as byte
> arrays. The only relevant limit is a column value cannot exceed 2GB (see
> http://wiki.apache.org/cassandra/CassandraLimitations).
>
> In terms of how: you just write the data like any other field. If you are
> new to NOSQL I would go and look at the Hector API and examples:
> https://github.com/rantav/hector
>
>
>

Mime
View raw message