|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aerospike.client.Value com.aerospike.client.Value.ListValue
public static final class Value.ListValue
List value. Supported by Aerospike 3 servers only.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.aerospike.client.Value |
---|
Value.BlobValue, Value.ByteSegmentValue, Value.BytesValue, Value.IntegerValue, Value.ListValue, Value.LongValue, Value.MapValue, Value.NullValue, Value.StringValue, Value.ValueArray |
Constructor Summary | |
---|---|
Value.ListValue(List<?> list)
|
Method Summary | |
---|---|
int |
estimateSize()
Calculate number of bytes necessary to serialize the value in the wire protocol. |
org.luaj.vm2.LuaValue |
getLuaValue()
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. |
String |
toString()
|
int |
write(byte[] buffer,
int offset)
Serialize the value in the wire protocol. |
Methods inherited from class com.aerospike.client.Value |
---|
get, get, get, get, get, get, get, getAsBlob, getAsList, getAsMap, getAsNull |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Value.ListValue(List<?> list)
Method Detail |
---|
public int estimateSize() throws AerospikeException
Value
estimateSize
in class Value
AerospikeException
public int write(byte[] buffer, int offset)
Value
write
in class Value
public void pack(com.aerospike.client.util.Packer packer) throws IOException
Value
pack
in class Value
IOException
public int getType()
Value
getType
in class Value
public Object getObject()
Value
getObject
in class Value
public org.luaj.vm2.LuaValue getLuaValue()
Value
getLuaValue
in class Value
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |