Datastax driver object mapper and union field

2015-04-01 Thread Craig Ching
Hi! We need to implement a union field in our cassandra data model and we're using the datastax Mapper. Anyone have any recommendations for doing this? I'm thinking something like: public class Value { int dataType; String valueAsString; double valueAsDouble; } If the Value is a String,

HintedHandoff and ReplicationFactor with a downed node

2010-10-22 Thread Craig Ching
Hi, I'm testing Cassandra to ensure it fits my needs.  One of the tests I want to perform is writing while a node is down.  Here's the scenario: Cassandra 0.6.6 2 nodes replication factor of 2 hinted handoff on I load node A with 50,000 rows while B is shutdown (BTW, I'm using CL.ONE during the

Re: Does Cassandra fit my requirements?

2010-10-21 Thread Craig Ching
Hi Peter, thanks for the response! I appreciate your validation of our needs. Sorry it's taken me so long to get back, I've been knocked on my ass with a nasty cold since late last week. On Sat, Oct 16, 2010 at 7:37 AM, Peter Schuller wrote: > > 2. What we really want for small users is just

Does Cassandra fit my requirements?

2010-10-14 Thread Craig Ching
Hi! I've been reading the wiki and some posts to this mailing list and writing some tests to discover if Cassandra can be made to fit my needs. For the most part, things are looking good. However, I have one issue that I am currently having problems with and it's making me think that maybe Cassa