Java client 1.1.4 and headOnly() in domain buckets

Daniel Iwan iwan.daniel at gmail.com
Mon May 11 19:39:53 EDT 2015


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.




More information about the riak-users mailing list