Hi Daniel, do you have reasons not to upgrade to the latest driver. I know
the semantics have changed somewhat. Are you running a fork of the client?
Bryan
On 12 May 2015 00:40, "Daniel Iwan" <iwan.dan...@gmail.com> wrote:

> Hi all
>
> Am I right thinking that v1.1.4 does not support headOnly() on domain
> buckets?
>
> During domain.fetch()  line 237 in
>
> https://github.com/basho/riak-java-client/blob/1.1.4/src/main/java/com/basho/riak/client/bucket/DomainBucket.java
>
> there is no check/call headOnly() on FetchMeta object.
>
>
> Code snippet
>
> public T fetch(String key) throws RiakException {
>         final FetchObject<T> fo = bucket.fetch(key, clazz)
>             .withConverter(converter)
>             .withResolver(resolver)
>             .withRetrier(retrier);
>
>         if (fetchMeta.hasR()) {
>             fo.r(fetchMeta.getR());
>         }
>
>         if (fetchMeta.hasPr()) {
>             fo.pr(fetchMeta.getPr());
>         }
>
>         if (fetchMeta.hasBasicQuorum()) {
>             fo.basicQuorum(fetchMeta.getBasicQuorum());
>         }
>
>         if (fetchMeta.hasNotFoundOk()) {
>             fo.notFoundOK(fetchMeta.getNotFoundOK());
>         }
>
>         if (fetchMeta.hasReturnDeletedVClock()) {
>             fo.returnDeletedVClock(fetchMeta.getReturnDeletedVClock());
>         }
>         return fo.execute();
>     }
>
>
>
> --
> View this message in context:
> http://riak-users.197444.n3.nabble.com/Java-client-1-1-4-and-headOnly-in-domain-buckets-tp4033042.html
> Sent from the Riak Users mailing list archive at Nabble.com.
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to