Package com.aerospike.client.command

Examples of com.aerospike.client.command.ReadHeaderCommand


   * @param key          unique record identifier
   * @return            if found, return record instance.  If not found, return null.
   * @throws AerospikeException  if read fails
   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
View Full Code Here


   * @param key          unique record identifier
   * @return            if found, return record instance.  If not found, return null.
   * @throws AerospikeException  if read fails
   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

   * @param key          unique record identifier
   * @return            if found, return record instance.  If not found, return null.
   * @throws AerospikeException  if read fails
   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    if (policy == null) {
      policy = readPolicyDefault;
    }
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

   */
  public final Record getHeader(Policy policy, Key key) throws AerospikeException {
    if (policy == null) {
      policy = readPolicyDefault;
    }
    ReadHeaderCommand command = new ReadHeaderCommand(cluster, policy, key);
    command.execute();
    return command.getRecord();
  }
View Full Code Here

TOP

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

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.