cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Haddad <...@jonhaddad.com>
Subject Re: Adding Options to Create Statements...
Date Fri, 01 Apr 2016 18:14:49 GMT
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 <james@carmanconsulting.com>
wrote:

> Ahhhh, 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 <tyler@datastax.com> 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://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user
>>
>> On Thu, Mar 31, 2016 at 4:40 PM, James Carman <james@carmanconsulting.com
>> > wrote:
>>
>>> No thoughts? Would an upgrade of the driver "fix" this?
>>>
>>> On Wed, Mar 30, 2016 at 10:42 AM James Carman <
>>> james@carmanconsulting.com> wrote:
>>>
>>>> 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 create;
>>>> }
>>>>
>>>> I don't want to have to return the Create.Options object from this
>>>> method (as I may need to add other columns).  Is there a way to have the
>>>> options "decorate" the Create directly without having to return the
>>>> Create.Options?
>>>>
>>>>
>>
>>
>> --
>> Tyler Hobbs
>> DataStax <http://datastax.com/>
>>
>

Mime
View raw message