Examples of BucketKeyPair


Examples of org.springframework.data.keyvalue.riak.core.BucketKeyPair

        if (repr instanceof String) {
          // Using source
          json.writeStringField("source",
              String.format("%s", phase.getOperation().getRepresentation()));
        } else if (repr instanceof BucketKeyPair) {
          BucketKeyPair pair = (BucketKeyPair) repr;
          json.writeStringField("bucket",
              String.format("%s", pair.getBucket()));
          json.writeStringField("key", String.format("%s", pair.getKey()));
        } else if (repr instanceof Map) {
          for (Map.Entry<Object, Object> entry : ((Map<Object, Object>) repr).entrySet()) {
            json.writeStringField(entry.getKey().toString(),
                entry.getValue().toString());
          }
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.