Re: Adding Options to Create Statements...

2016-04-01 Thread James Carman
But, if there were a Java driver provided by the Apache Cassandra project itself, then it'd be an easy choice. On Fri, Apr 1, 2016 at 2:16 PM Robert Coli wrote: > On Fri, Apr 1, 2016 at 10:43 AM, James Carman > wrote: > >> A, my bad. One might wonder why the heck the Java driver is "owned

Re: Adding Options to Create Statements...

2016-04-01 Thread Robert Coli
On Fri, Apr 1, 2016 at 10:43 AM, James Carman wrote: > A, my bad. One might wonder why the heck the Java driver is "owned" > by an outside entity, eh? > FWIW, the status quo prior to the Datastax drivers was a wide assortment of non-compatible drivers in different languages, not one set of

Re: Adding Options to Create Statements...

2016-04-01 Thread Jonathan Haddad
Because it's a community driver not provided by the Apache project. There have historically been community provided drivers in the past. See Hector, Astyanax, pycassa, etc. On Fri, Apr 1, 2016 at 10:43 AM James Carman wrote: > A, my bad. One might wonder why the heck the Java driver is "o

Re: Adding Options to Create Statements...

2016-04-01 Thread James Carman
A, my bad. One might wonder why the heck the Java driver is "owned" by an outside entity, eh? On Fri, Apr 1, 2016 at 11:58 AM Tyler Hobbs wrote: > I'm not sure which driver you're referring to, but if it's the java > driver, it has its own mailing list that may be more helpful: > https://gr

Re: Adding Options to Create Statements...

2016-04-01 Thread Tyler Hobbs
I'm not sure which driver you're referring to, but if it's the java driver, it has its own mailing list that may be more helpful: https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user On Thu, Mar 31, 2016 at 4:40 PM, James Carman wrote: > No thoughts? Would an upgrade of

Re: Adding Options to Create Statements...

2016-03-31 Thread James Carman
No thoughts? Would an upgrade of the driver "fix" this? On Wed, Mar 30, 2016 at 10:42 AM James Carman wrote: > I am trying to perform the following operation: > > public Create createCreate() { > Create create = > SchemaBuilder.createTable("foo").addPartitionColumn("bar", > varchar()).addClust

Adding Options to Create Statements...

2016-03-30 Thread James Carman
I am trying to perform the following operation: public Create createCreate() { Create create = SchemaBuilder.createTable("foo").addPartitionColumn("bar", varchar()).addClusteringColumn("baz", varchar); if(descending) { create.withOptions().clusteringOrder("baz", Direction.DESC); return c