You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Edward Kibardin <in...@gmail.com> on 2012/09/21 00:23:30 UTC

Code example for CompositeType.Builder and SSTableSimpleUnsortedWriter

Hi Everyone,

I'm writing a conversion tool from CSV files to SSTable
using SSTableSimpleUnsortedWriter and unable to find a good example of
using CompositeType.Builder with SSTableSimpleUnsortedWriter.
It also will be great if someone had an sample code for insert/update only
a single value in composites (if it possible in general).

Quick Google search didn't help me, so I'll be very appreciated for the
correct sample ;)

Thanks in advance,
Ed

Re: Code example for CompositeType.Builder and SSTableSimpleUnsortedWriter

Posted by Edward Kibardin <in...@gmail.com>.
Hey...

>From my understanding, there are several ways to use composites
with SSTableSimpleUnsortedWriter but which is the best?
And as usual, code examples are welcome ;)

Thanks in advance!

On Thu, Sep 20, 2012 at 11:23 PM, Edward Kibardin <in...@gmail.com> wrote:

> Hi Everyone,
>
> I'm writing a conversion tool from CSV files to SSTable
> using SSTableSimpleUnsortedWriter and unable to find a good example of
> using CompositeType.Builder with SSTableSimpleUnsortedWriter.
> It also will be great if someone had an sample code for insert/update only
> a single value in composites (if it possible in general).
>
> Quick Google search didn't help me, so I'll be very appreciated for the
> correct sample ;)
>
> Thanks in advance,
> Ed
>