Package com.aerospike.client.command

Examples of com.aerospike.client.command.ExecuteCommand


   * @return            return value of user defined function
   * @throws AerospikeException  if transaction fails
   */
  public final Object execute(Policy policy, Key key, String packageName, String functionName, Value... args)
    throws AerospikeException {
    ExecuteCommand command = new ExecuteCommand(cluster, policy, key, packageName, functionName, args);
    command.execute();
   
    Record record = command.getRecord();
   
    if (record == null || record.bins == null) {
      return null;
    }
   
View Full Code Here


   * @return            return value of user defined function
   * @throws AerospikeException  if transaction fails
   */
  public final Object execute(Policy policy, Key key, String packageName, String functionName, Value... args)
    throws AerospikeException {
    ExecuteCommand command = new ExecuteCommand(cluster, policy, key, packageName, functionName, args);
    command.execute();
   
    Record record = command.getRecord();
   
    if (record == null || record.bins == null) {
      return null;
    }
   
View Full Code Here

   * @return            return value of user defined function
   * @throws AerospikeException  if transaction fails
   */
  public final Object execute(Policy policy, Key key, String packageName, String functionName, Value... args)
    throws AerospikeException {
    ExecuteCommand command = new ExecuteCommand(cluster, policy, key, packageName, functionName, args);
    command.execute();
   
    Record record = command.getRecord();
   
    if (record == null || record.bins == null) {
      return null;
    }
   
View Full Code Here

  public final Object execute(Policy policy, Key key, String packageName, String functionName, Value... args)
    throws AerospikeException {
    if (policy == null) {
      policy = readPolicyDefault;
    }
    ExecuteCommand command = new ExecuteCommand(cluster, policy, key, packageName, functionName, args);
    command.execute();
   
    Record record = command.getRecord();
   
    if (record == null || record.bins == null) {
      return null;
    }
   
View Full Code Here

  public final Object execute(Policy policy, Key key, String packageName, String functionName, Value... args)
    throws AerospikeException {
    if (policy == null) {
      policy = readPolicyDefault;
    }
    ExecuteCommand command = new ExecuteCommand(cluster, policy, key, packageName, functionName, args);
    command.execute();
   
    Record record = command.getRecord();
   
    if (record == null || record.bins == null) {
      return null;
    }
   
View Full Code Here

TOP

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

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.