Value.BlobValue, Value.BooleanValue, Value.ByteSegmentValue, Value.BytesValue, Value.ByteValue, Value.DoubleValue, Value.FloatValue, Value.GeoJSONValue, Value.IntegerValue, Value.ListValue, Value.LongValue, Value.MapValue, Value.NullValue, Value.StringValue, Value.ValueArray
UseDoubleType
Constructor and Description |
---|
ByteSegmentValue(byte[] bytes,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
estimateSize()
Calculate number of bytes necessary to serialize the value in the wire protocol.
|
byte[] |
getBytes() |
int |
getLength() |
org.luaj.vm2.LuaValue |
getLuaValue(com.aerospike.client.lua.LuaInstance instance)
Return value as an Object.
|
Object |
getObject()
Return original value as an Object.
|
int |
getOffset() |
int |
getType()
Get wire protocol value type.
|
int |
hashCode() |
void |
pack(com.aerospike.client.util.Packer packer)
Serialize the value using MessagePack.
|
String |
toString() |
int |
write(byte[] buffer,
int targetOffset)
Serialize the value in the wire protocol.
|
public int estimateSize()
Value
estimateSize
in class Value
public int write(byte[] buffer, int targetOffset)
Value
public void pack(com.aerospike.client.util.Packer packer)
Value
public int getType()
Value
public Object getObject()
Value
public org.luaj.vm2.LuaValue getLuaValue(com.aerospike.client.lua.LuaInstance instance)
Value
getLuaValue
in class Value
public byte[] getBytes()
public int getOffset()
public int getLength()
Copyright ? 2012–2018 Aerospike, Inc. All rights reserved.