Value MembersAerospike

The Value type exposes the following members.
Methods

  NameDescription
Public methodEstimateSize
Calculate number of bytes necessary to serialize the value in the wire protocol.
Public methodStatic memberGet(Boolean)
Get boolean value instance.
Public methodStatic memberGet(Byte)
Get boolean value instance.
Public methodStatic memberGet( Byte )
Get byte array or null value instance.
Public methodStatic memberGet(IDictionary)
Get map or null value instance. Support by Aerospike 3 servers only.
Public methodStatic memberGet(IList)
Get list or null value instance. Support by Aerospike 3 servers only.
Public methodStatic memberGet(Double)
Get double value instance.
Public methodStatic memberGet(Int16)
Get short value instance.
Public methodStatic memberGet(Int32)
Get integer value instance.
Public methodStatic memberGet(Int64)
Get long value instance.
Public methodStatic memberGet(Object)
Determine value given generic object. This is the slowest of the Value get() methods. 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.
Public methodStatic memberGet(SByte)
Get signed boolean value instance.
Public methodStatic memberGet(Single)
Get float value instance.
Public methodStatic memberGet(String)
Get string or null value instance.
Public methodStatic memberGet(UInt16)
Get short value instance.
Public methodStatic memberGet(UInt32)
Get unsigned integer value instance.
Public methodStatic memberGet(UInt64)
Get unsigned long value instance.
Public methodStatic memberGet( Value )
Get value array instance.
Public methodStatic memberGet( Byte , Int32, Int32)
Get byte array segment or null value instance.
Public methodStatic memberGetAsBlob
Get blob or null value instance.
Public methodStatic memberGetAsGeoJSON
Get GeoJSON or null value instance.
Public methodStatic memberGetFromRecordObject
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.
Public methodPack
Serialize the value using MessagePack.
Public methodToInteger
Return value as an integer.
Public methodToLong
Return value as a long.
Public methodToUnsignedInteger
Return value as an unsigned integer.
Public methodToUnsignedLong
Return value as an unsigned long.
Public methodValidateKeyType
Validate if value type can be used as a key.
Public methodWrite
Serialize the value in the wire protocol.
Back to Top
Fields

  NameDescription
Public fieldStatic memberUseDoubleType
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.

Back to Top
Properties

  NameDescription
Public propertyStatic memberAsNull
Get null value instance.
Public propertyObject
Return original value as an Object.
Public propertyType
Get wire protocol value type.
Back to Top
See Also