Package com.aerospike.client
Class Value.MapValue
java.lang.Object
com.aerospike.client.Value
com.aerospike.client.Value.MapValue
- Enclosing class:
- Value
public static final class Value.MapValue extends Value
Map value.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aerospike.client.Value
Value.BlobValue, Value.BooleanValue, 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.SortedMapValue, Value.StringValue, Value.ValueArray, Value.WildcardValue
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method 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.Object
getObject()
Return original value as an Object.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.
-
Constructor Details
-
Method Details
-
estimateSize
Description copied from class:Value
Calculate number of bytes necessary to serialize the value in the wire protocol.- Specified by:
estimateSize
in classValue
- Throws:
AerospikeException
-
write
public int write(byte[] buffer, int offset)Description copied from class:Value
Serialize the value in the wire protocol. -
pack
public void pack(com.aerospike.client.util.Packer packer)Description copied from class:Value
Serialize the value using MessagePack. -
validateKeyType
public void validateKeyType()Description copied from class:Value
Validate if value type can be used as a key.- Overrides:
validateKeyType
in classValue
-
getType
public int getType()Description copied from class:Value
Get wire protocol value type. -
getObject
Description copied from class:Value
Return original value as an Object. -
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 classValue
-
toString
-
equals
-
hashCode
public int hashCode()
-