Package com.basho.riak.client.convert

Examples of com.basho.riak.client.convert.PassThroughConverter


                } else {
                    original.setValue(value);
                    return original;
                }
            }
        }).withResolver(new DefaultResolver<IRiakObject>()).withConverter(new PassThroughConverter());
    }
View Full Code Here


    }

    @SuppressWarnings("unchecked") private <T> Converter<T> getDefaultConverter(Class<T> clazz, String key) {
        Converter<T> converter;
        if (IRiakObject.class.isAssignableFrom(clazz)) {
            converter = (Converter<T>) new PassThroughConverter();
        } else {
            if (key != null) {
                converter = new JSONConverter<T>(clazz, name, key);
            } else {
                converter = new JSONConverter<T>(clazz, name);
View Full Code Here

     * @see FetchObject
     */
    public FetchObject<IRiakObject> fetch(String key) {
        return new FetchObject<IRiakObject>(client, name, key, retrier)
        .withResolver(new DefaultResolver<IRiakObject>())
        .withConverter(new PassThroughConverter());
    }
View Full Code Here

     */
    public MultiFetchObject<IRiakObject> multiFetch(String[] keys)
    {
        return new MultiFetchObject<IRiakObject>(client, name, Arrays.asList(keys), retrier)
        .withResolver(new DefaultResolver<IRiakObject>())
        .withConverter(new PassThroughConverter());
    }
View Full Code Here

                } else {
                    original.setValue(value);
                    return original;
                }
            }
        }).withResolver(new DefaultResolver<IRiakObject>()).withConverter(new PassThroughConverter());
    }
View Full Code Here

    }

    @SuppressWarnings("unchecked") private <T> Converter<T> getDefaultConverter(Class<T> clazz, String key) {
        Converter<T> converter;
        if (IRiakObject.class.isAssignableFrom(clazz)) {
            converter = (Converter<T>) new PassThroughConverter();
        } else {
            if (key != null) {
                converter = new JSONConverter<T>(clazz, name, key);
            } else {
                converter = new JSONConverter<T>(clazz, name);
View Full Code Here

     * @see FetchObject
     */
    public FetchObject<IRiakObject> fetch(String key) {
        return new FetchObject<IRiakObject>(client, name, key, retrier)
        .withResolver(new DefaultResolver<IRiakObject>())
        .withConverter(new PassThroughConverter());
    }
View Full Code Here

TOP

Related Classes of com.basho.riak.client.convert.PassThroughConverter

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.