Package com.aerospike.client

Examples of com.aerospike.client.Value$NullValue


   * @param name      bin name
   * @param value      filter value
   * @return        filter instance
   */
  public static Filter equal(String name, long value) {
    Value val = Value.get(value);
    return new Filter(name, val, val);
  }
View Full Code Here


   * @param name      bin name
   * @param value      filter value
   * @return        filter instance
   */
  public static Filter equal(String name, String value) {
    Value val = Value.get(value);
    return new Filter(name, val, val);
  }
View Full Code Here

      packNil();
      return;
    }
   
    if (obj instanceof Value) {
      Value value = (Value) obj;
      value.pack(this);
      return;
    }
   
    if (obj instanceof byte[]) {
      packBytes((byte[]) obj);
View Full Code Here

   * @param name      bin name
   * @param value      filter value
   * @return        filter instance
   */
  public static Filter equal(String name, long value) {
    Value val = Value.get(value);
    return new Filter(name, val, val);
  }
View Full Code Here

   * @param name      bin name
   * @param value      filter value
   * @return        filter instance
   */
  public static Filter equal(String name, String value) {
    Value val = Value.get(value);
    return new Filter(name, val, val);
  }
View Full Code Here

      packNil();
      return;
    }
   
    if (obj instanceof Value) {
      Value value = (Value) obj;
      value.pack(this);
      return;
    }
   
    if (obj instanceof byte[]) {
      packBytes((byte[]) obj);
View Full Code Here

    if (obj instanceof LuaValue) {
      return (LuaValue) obj;
    }

    if (obj instanceof Value) {
      Value value = (Value) obj;
      return value.getLuaValue(this);
    }

    if (obj instanceof byte[]) {
      return new LuaBytes(this, (byte[]) obj);
    }
View Full Code Here

   
  protected final Key parseKey(int fieldCount) throws AerospikeException, IOException {
    byte[] digest = null;
    String namespace = null;
    String setName = null;
    Value userKey = null;

    for (int i = 0; i < fieldCount; i++) {
      readBytes(4)
      int fieldlen = Buffer.bytesToInt(dataBuffer, 0);
      readBytes(fieldlen);
View Full Code Here

  protected final Key parseKey() throws AerospikeException {
    byte[] digest = null;
    String namespace = null;
    String setName = null;
    Value userKey = null;
   
    for (int i = 0; i < fieldCount; i++) {
      int fieldlen = Buffer.bytesToInt(receiveBuffer, receiveOffset);
      receiveOffset += 4;
     
View Full Code Here

   * @param name      bin name
   * @param value      filter value
   * @return        filter instance
   */
  public static Filter equal(String name, long value) {
    Value val = Value.get(value);
    return new Filter(name, val, val);
  }
View Full Code Here

TOP

Related Classes of com.aerospike.client.Value$NullValue

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.