Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Drew Kutcharian
That's kinda what I was thinking to, just wanted to see if there's a built-in way. On Feb 13, 2013, at 10:07 AM, Shahryar Sedghi wrote: > The API allows to build your own batch through building a query I do not use > that, neither counter columns. I do not build a query, I create a CQL like:

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Drew Kutcharian
@Edward. I completely agree. I was just explaining my original rationale in posting to this mailing list. Maybe it's time to start a dedicated DataStax java-driver mailing list. On Feb 13, 2013, at 12:53 PM, Edward Capriolo wrote: > @Drew > > This list is for cassandra users. Since the Data

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Edward Capriolo
@Drew This list is for cassandra users. Since the DataStax java-driver is not actually part of Cassandra. If every user comes here to talk about their driver/orm/problems they are having with code that is not part of cassandra this list will get noisy. IMHO client-dev is the right place for these

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Michaël Figuière
As mentioned previously the code comes with some detailed Javadoc. But you're right as well that Javadoc isn't enough. At DataStax we're currently working on a documentation for our drivers that will be as detailed as the one we provide for Apache Cassandra. Meanwhile we'll also add more code samp

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Shahryar Sedghi
The API allows to build your own batch through building a query I do not use that, neither counter columns. I do not build a query, I create a CQL like: String batchInsert = "BEGIN BATCH " + "INSERT INTO xyz( a,b,c, " + " VALUES ( ?, ?, ?) " + "INSERT INTO def(a

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Drew Kutcharian
@Shahryar/Gabriel I know the source code is nicely documented, but I couldn't find much info on: 1. Creating/submitting atomic/non-atomic batches. 2. Handling Counter columns Do you have any examples for that? @Edward I was under impression that client-dev mailing list was to be used by the devel

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Edward Capriolo
Just an FYI. More appropriate for the client-dev list. On Wed, Feb 13, 2013 at 10:37 AM, Gabriel Ciuloaica wrote: > Code has good documentation and also the example module has enough sample > code to help you started. > > --Gabi > > On 2/13/13 5:31 PM, Shahryar Sedghi wrote: > > Source code has e

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Gabriel Ciuloaica
Code has good documentation and also the example module has enough sample code to help you started. --Gabi On 2/13/13 5:31 PM, Shahryar Sedghi wrote: Source code has enough documentation in it, apparently this is how they do it with new stuff. Start with Custer class, it tells you how to writ

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Shahryar Sedghi
Source code has enough documentation in it, apparently this is how they do it with new stuff. Start with Custer class, it tells you how to write. If you still had problem let me know, I can give you sample code. On Tue, Feb 12, 2013 at 9:19 PM, Drew Kutcharian wrote: > Are there any documentati