Re: Java client 1.1.4 and headOnly() in domain buckets

2015-05-13 Thread Daniel Iwan
Hi Alex >> It appears that the domain buckets api does not support headOnly(). That >> api was written to be a higher-level abstraction around a common usage, >> so >> it abstracted that idea of head vs object data away. I think it may be quite useful functionality anyway, to check the existen

Re: Java client 1.1.4 and headOnly() in domain buckets

2015-05-13 Thread Alex Moore
Hey Daniel, It appears that the domain buckets api does not support headOnly(). That api was written to be a higher-level abstraction around a common usage, so it abstracted that idea of head vs object data away. If you need that support, I would use the regular bucket methods instead. Thanks,

Re: Java client 1.1.4 and headOnly() in domain buckets

2015-05-12 Thread Daniel Iwan
We are using official 1.1.4 which is the latest recommended with Riak 1.3 we have installed. Upgrade to Riak 1.4 is not possible at the moment. D. -- View this message in context: http://riak-users.197444.n3.nabble.com/Java-client-1-1-4-and-headOnly-in-domain-buckets-tp4033042p4033048.html Sen

Re: Java client 1.1.4 and headOnly() in domain buckets

2015-05-12 Thread Bryan Hunt
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" wrote: > Hi all > > Am I right thinking that v1.1.4 does not support headOnly() on domain > buckets? > >

Java client 1.1.4 and headOnly() in domain buckets

2015-05-11 Thread Daniel Iwan
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. Cod