Package com.basho.riak.client.raw

Examples of com.basho.riak.client.raw.FetchMeta$Builder


        FetchResponse fr = client.fetch(bucket, key, convert(fetchMeta));

        if (fr.hasSiblings()) {
            // do a full fetch to get the sibling values
            FetchMeta fm = FetchMeta.Builder.from(fetchMeta).headOnly(false).build();
            fr = client.fetch(bucket, key, convert(fm));
        }

        return convert(fr);
    }
View Full Code Here


    static RequestMeta convert(DeleteMeta deleteMeta) {
        if(deleteMeta == null) {
            return null;
        }
        RequestMeta rm = convert(new FetchMeta(deleteMeta.getR(), deleteMeta.getPr(), null, null, null, null, null,
                                               null));

        if (deleteMeta.hasW()) {
            if (deleteMeta.getW().isSymbolic())
                rm.setQueryParam(Constants.QP_W, deleteMeta.getW().getName());
View Full Code Here

TOP

Related Classes of com.basho.riak.client.raw.FetchMeta$Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.