incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Dungey <oliver.dun...@gmail.com>
Subject Re: Can we store java objects and images/files in cassandra
Date Wed, 27 Jul 2011 08:18:08 GMT
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