spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton B <tosh...@gmail.com>
Subject Cassandra composite and simple keys
Date Wed, 29 Jan 2014 07:40:47 GMT
Greetings,

I need to read data from Cassandra row which has both composite and simple
keys. As far as I understand I need CompositeType instance to read composite
keys and some "primitive" types to read simple ones. But how to tell which
row I'm reading at the moment?
I didn't find any methods on IColumn to tell composite key from simple one.
What am I missing here?
How one would read data from rows with mixed composite and simple keys in
Spark/Hadoop?

Thanks a lot,
Anton



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Cassandra-composite-and-simple-keys-tp1013.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Mime
View raw message