Examples of toDomain()


Examples of com.basho.riak.client.api.convert.StringConverter.toDomain()

        String value = "some value";
        RiakObject obj = new RiakObject()
                        .setValue(BinaryValue.create(value));
        StringConverter converter = new StringConverter();
       
        String result = converter.toDomain(obj, null);
       
        assertEquals(value, result);
       
                       
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.