Package com.trifork.riak.RPB

Examples of com.trifork.riak.RPB.RpbDelReq


        rw);
  }

  public void delete(ByteString bucket, ByteString key, int rw)
      throws IOException {
    RpbDelReq req = RPB.RpbDelReq.newBuilder().setBucket(bucket)
        .setKey(key).setRw(rw).build();

    RiakConnection c = getConnection();
    try {
      c.send(MSG_DelReq, req);
View Full Code Here


  public void delete(String bucket, String key) throws IOException {
    delete(ByteString.copyFromUtf8(bucket), ByteString.copyFromUtf8(key));
  }

  public void delete(ByteString bucket, ByteString key) throws IOException {
    RpbDelReq req = RPB.RpbDelReq.newBuilder().setBucket(bucket)
        .setKey(key).build();

    RiakConnection c = getConnection();
    try {
      c.send(MSG_DelReq, req);
View Full Code Here

TOP

Related Classes of com.trifork.riak.RPB.RpbDelReq

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.