Class Value.ValueArray

java.lang.Object
com.aerospike.client.Value
com.aerospike.client.Value.ValueArray
Enclosing class:
Value

public static final class Value.ValueArray extends Value
Value array.
  • Constructor Details

    • ValueArray

      public ValueArray(Value[] array)
  • Method Details

    • estimateSize

      public int estimateSize() throws AerospikeException
      Description copied from class: Value
      Calculate number of bytes necessary to serialize the value in the wire protocol.
      Specified by:
      estimateSize in class Value
      Throws:
      AerospikeException
    • write

      public int write(byte[] buffer, int offset)
      Description copied from class: Value
      Serialize the value in the wire protocol.
      Specified by:
      write in class Value
    • pack

      public void pack(com.aerospike.client.util.Packer packer)
      Description copied from class: Value
      Serialize the value using MessagePack.
      Specified by:
      pack in class Value
    • validateKeyType

      public void validateKeyType()
      Description copied from class: Value
      Validate if value type can be used as a key.
      Overrides:
      validateKeyType in class Value
    • getType

      public int getType()
      Description copied from class: Value
      Get wire protocol value type.
      Specified by:
      getType in class Value
    • getObject

      public Object getObject()
      Description copied from class: Value
      Return original value as an Object.
      Specified by:
      getObject in class Value
    • getLuaValue

      public org.luaj.vm2.LuaValue getLuaValue(com.aerospike.client.lua.LuaInstance instance)
      Description copied from class: Value
      Return value as an Object.
      Specified by:
      getLuaValue in class Value
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object