Examples of RiakBucketInfo


Examples of com.basho.riak.client.http.RiakBucketInfo

     *         {@link BucketProperties}
     * @throws IOException
     */
    static RiakBucketInfo convert(BucketProperties bucketProperties) throws IOException {
        String bucketSchemaJson = toJSON(bucketProperties);
        RiakBucketInfo rbi;
        try {
            rbi = new RiakBucketInfo(new JSONObject(bucketSchemaJson), null);
        } catch (JSONException e) {
            throw new IOException("Failed to create bucket schema JSON from JSON string: " + bucketSchemaJson, e);
        }

        return rbi;
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.