You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Ashish Soni <as...@gmail.com> on 2015/10/05 00:21:35 UTC

Example of JavaBeanColumnMapper

Hi All ,

Are there any Java examples of how to use JavaBeanColumnMapper or RowReader
and RowWriter Factory.

Any link to example code will be helpful.

Ashish

Re: Example of JavaBeanColumnMapper

Posted by Alexandre Dutra <al...@datastax.com>.
Hi Ashish,

The components you mention are not part of the Java driver but belong to
the Spark Cassandra Connector project
<https://github.com/datastax/spark-cassandra-connector>, so I guess you
will have more comprehensive answers by asking your question on the
project's dedicated mailing list
<https://groups.google.com/a/lists.datastax.com/forum/#!forum/spark-connector-user>
.

That said, the Java driver *does* provide a Java Pojo mapping feature: you
can read more about it here
<http://datastax.github.io/java-driver/features/object_mapper/>.

And finally, you might also be interested in Achilles
<https://github.com/doanduyhai/Achilles>, which is also another
(third-party) mapping framework for Cassandra.

Hope that helps,

Alexandre

On Mon, Oct 5, 2015 at 12:21 AM Ashish Soni <as...@gmail.com> wrote:

> Hi All ,
>
> Are there any Java examples of how to use JavaBeanColumnMapper or
> RowReader and RowWriter Factory.
>
> Any link to example code will be helpful.
>
> Ashish
>
-- 
Alexandre Dutra
Driver & Tools Engineer @ DataStax