The Value type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
![]() | EstimateSize |
Calculate number of bytes necessary to serialize the value in the wire protocol.
|
![]() ![]() | Get(Boolean) |
Get boolean value instance.
|
![]() ![]() | Get(Byte) |
Get boolean value instance.
|
![]() ![]() | Get( Byte ) |
Get byte array or null value instance.
|
![]() ![]() | Get(IDictionary) |
Get map or null value instance.
Support by Aerospike 3 servers only.
|
![]() ![]() | Get(IList) |
Get list or null value instance.
Support by Aerospike 3 servers only.
|
![]() ![]() | Get(Double) |
Get double value instance.
|
![]() ![]() | Get(Int16) |
Get short value instance.
|
![]() ![]() | Get(Int32) |
Get integer value instance.
|
![]() ![]() | Get(Int64) |
Get long value instance.
|
![]() ![]() | Get(Object) |
Determine value given generic object.
This is the slowest of the Value get() methods.
|
![]() ![]() | Get(SByte) |
Get signed boolean value instance.
|
![]() ![]() | Get(Single) |
Get float value instance.
|
![]() ![]() | Get(String) |
Get string or null value instance.
|
![]() ![]() | Get(UInt16) |
Get short value instance.
|
![]() ![]() | Get(UInt32) |
Get unsigned integer value instance.
|
![]() ![]() | Get(UInt64) |
Get unsigned long value instance.
|
![]() ![]() | Get( Value ) |
Get value array instance.
|
![]() ![]() | Get( Byte , Int32, Int32) |
Get byte array segment or null value instance.
|
![]() ![]() | GetAsBlob |
Get blob or null value instance.
|
![]() ![]() | GetAsList | Obsolete.
Get list or null value instance.
Support by Aerospike 3 servers only.
|
![]() ![]() | GetAsMap | Obsolete.
Get map or null value instance.
Support by Aerospike 3 servers only.
|
![]() ![]() | GetFromRecordObject |
Get value from Record object. Useful when copying records from one cluster to another.
Since map/list are converted, this method should only be called when using
Aerospike 3 servers.
|
![]() | Pack |
Serialize the value using MessagePack.
|
![]() | ToInteger |
Return value as an integer.
|
![]() | ToLong |
Return value as a long.
|
![]() | ToUnsignedInteger |
Return value as an unsigned integer.
|
![]() | ToUnsignedLong |
Return value as an unsigned long.
|
![]() | ValidateKeyType |
Validate if value type can be used as a key.
|
![]() | Write |
Serialize the value in the wire protocol.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | UseDoubleType |
Should the client use the new double floating point particle type supported by Aerospike
server versions >= 3.6.0. It's important that all server nodes and XDR be upgraded before
enabling this feature.
If false, the old method using an long particle type is used instead. The current default is false. Eventually, this default will be changed to true in a future client version. |
Properties
Name | Description | |
---|---|---|
![]() ![]() | AsNull |
Get null value instance.
|
![]() | Object |
Return original value as an Object.
|
![]() | Type |
Get wire protocol value type.
|
See Also