Package com.aerospike.client.command

Examples of com.aerospike.client.command.ExistsCommand


   * @param key          unique record identifier
   * @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();
  }
View Full Code Here


   * @param key          unique record identifier
   * @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();
  }
View Full Code Here

   * @param key          unique record identifier
   * @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();
  }
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();
  }
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();
  }
View Full Code Here

TOP

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

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.