Package com.aerospike.client.command

Examples of com.aerospike.client.command.ExistsCommand.execute()


   * @return            whether record exists or not
   * @throws AerospikeException  if command fails
   */
  public final boolean exists(Policy policy, Key key) throws AerospikeException {
    ExistsCommand command = new ExistsCommand(cluster, policy, key);
    command.execute();
    return command.exists();
  }

  /**
   * Check if multiple record keys exist in one batch call.
View Full Code Here


   * @return            whether record exists or not
   * @throws AerospikeException  if command fails
   */
  public final boolean exists(Policy policy, Key key) throws AerospikeException {
    ExistsCommand command = new ExistsCommand(cluster, policy, key);
    command.execute();
    return command.exists();
  }

  /**
   * Check if multiple record keys exist in one batch call.
View Full Code Here

   * @return            whether record exists or not
   * @throws AerospikeException  if command fails
   */
  public final boolean exists(Policy policy, Key key) throws AerospikeException {
    ExistsCommand command = new ExistsCommand(cluster, policy, key);
    command.execute();
    return command.exists();
  }

  /**
   * Check if multiple record keys exist in one batch call.
View Full Code Here

  public final boolean exists(Policy policy, Key key) throws AerospikeException {
    if (policy == null) {
      policy = readPolicyDefault;
    }
    ExistsCommand command = new ExistsCommand(cluster, policy, key);
    command.execute();
    return command.exists();
  }

  /**
   * Check if multiple record keys exist in one batch call.
View Full Code Here

  public final boolean exists(Policy policy, Key key) throws AerospikeException {
    if (policy == null) {
      policy = readPolicyDefault;
    }
    ExistsCommand command = new ExistsCommand(cluster, policy, key);
    command.execute();
    return command.exists();
  }

  /**
   * Check if multiple record keys exist in one batch call.
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.