Value MembersAerospike

The Value type exposes the following members.
Methods

  NameDescription
Public methodEstimateSize
Calculate number of bytes necessary to serialize the fixed 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.
Public methodStatic memberGet(IList)
Get list or null value instance.
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.
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 memberGetAsHLL
Get HyperLogLog or null value instance.
Public methodStatic memberGetFromRecordObject
Get value from Record object. Useful when copying records from one cluster to another.
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 fixed value in the wire protocol.
Back to Top
Fields

  NameDescription
Public fieldStatic memberINFINITY
Infinity value to be used in CDT range comparisons only.
Public fieldStatic memberNULL
Null value.
Public fieldStatic memberUseBoolBin
Should client send boolean particle type for a boolean bin. If false, an integer particle type (1 or 0) is sent instead. Must be false for server versions less than 5.6 which do not support boolean bins. Can set to true for server 5.6+.
Public fieldStatic memberWILDCARD
Wildcard value to be used in CDT range comparisons only.
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