Value.BlobValue, Value.ByteSegmentValue, Value.BytesValue, Value.IntegerValue, Value.ListValue, Value.LongValue, Value.MapValue, Value.NullValue, Value.StringValue, Value.ValueArray
Constructor and Description |
---|
Value.IntegerValue(int value) |
Modifier and Type | Method and Description |
---|---|
int |
estimateSize()
Calculate number of bytes necessary to serialize the value in the wire protocol.
|
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 |
getType()
Get wire protocol value type.
|
void |
pack(com.aerospike.client.util.Packer packer)
Serialize the value using MessagePack.
|
int |
toInteger()
Return value as an integer.
|
long |
toLong()
Return value as a long.
|
String |
toString() |
int |
write(byte[] buffer,
int offset)
Serialize the value in the wire protocol.
|
public int estimateSize()
Value
estimateSize
in class Value
public int write(byte[] buffer, int offset)
Value
public void pack(com.aerospike.client.util.Packer packer) throws IOException
Value
pack
in class Value
IOException
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 int toInteger()
Value
Copyright © 2012–2014 Aerospike, Inc. All rights reserved.