Value.BooleanValue, Value.BoolIntValue, Value.ByteSegmentValue, Value.BytesValue, Value.ByteValue, Value.DoubleValue, Value.FloatValue, Value.GeoJSONValue, Value.HLLValue, Value.InfinityValue, Value.IntegerValue, Value.ListValue, Value.LongValue, Value.MapValue, Value.NullValue, Value.ShortValue, Value.SortedMapValue, Value.StringValue, Value.ValueArray, Value.WildcardValueINFINITY, NULL, ReturnMapForKeyValue, UseBoolBin, WILDCARD| Constructor and Description |
|---|
MapValue(Map<?,?> map) |
MapValue(Map<?,?> map,
MapOrder order) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
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.
|
static MapOrder |
getMapOrder(Map<?,?> map) |
Object |
getObject()
Return original value as an Object.
|
MapOrder |
getOrder() |
int |
getType()
Get wire protocol value type.
|
int |
hashCode() |
void |
pack(com.aerospike.client.util.Packer packer)
Serialize the value using MessagePack.
|
String |
toString() |
void |
validateKeyType()
Validate if value type can be used as a key.
|
int |
write(byte[] buffer,
int offset)
Serialize the value in the wire protocol.
|
public MapValue(Map<?,?> map)
public MapOrder getOrder()
public int estimateSize()
throws AerospikeException
ValueestimateSize in class ValueAerospikeExceptionpublic int write(byte[] buffer,
int offset)
Valuepublic void pack(com.aerospike.client.util.Packer packer)
Valuepublic void validateKeyType()
ValuevalidateKeyType in class Valuepublic int getType()
Valuepublic Object getObject()
Valuepublic org.luaj.vm2.LuaValue getLuaValue(com.aerospike.client.lua.LuaInstance instance)
ValuegetLuaValue in class ValueCopyright © 2012–2023 Aerospike, Inc. All rights reserved.