Package com.aerospike.client.command

Examples of com.aerospike.client.command.OperateCommand


   * @return            record if there is a read in the operations list
   * @throws AerospikeException  if command fails
   */
  public final Record operate(WritePolicy policy, Key key, Operation... operations)
    throws AerospikeException {   
    OperateCommand command = new OperateCommand(cluster, policy, key, operations);
    command.execute();
    return command.getRecord();
  }
View Full Code Here


   * @return            record if there is a read in the operations list
   * @throws AerospikeException  if command fails
   */
  public final Record operate(WritePolicy policy, Key key, Operation... operations)
    throws AerospikeException {   
    OperateCommand command = new OperateCommand(cluster, policy, key, operations);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

   * @return            record if there is a read in the operations list
   * @throws AerospikeException  if command fails
   */
  public final Record operate(WritePolicy policy, Key key, Operation... operations)
    throws AerospikeException {   
    OperateCommand command = new OperateCommand(cluster, policy, key, operations);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

  public final Record operate(WritePolicy policy, Key key, Operation... operations)
    throws AerospikeException {   
    if (policy == null) {
      policy = writePolicyDefault;
    }
    OperateCommand command = new OperateCommand(cluster, policy, key, operations);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

  public final Record operate(WritePolicy policy, Key key, Operation... operations)
    throws AerospikeException {   
    if (policy == null) {
      policy = writePolicyDefault;
    }
    OperateCommand command = new OperateCommand(cluster, policy, key, operations);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

TOP

Related Classes of com.aerospike.client.command.OperateCommand

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.