Value Class

Aerospike
Polymorphic value classes used to efficiently serialize objects into the wire protocol.
Inheritance Hierarchy

SystemObject
  Aerospike.ClientValue
    More...

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public abstract class Value

The Value type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberAsNull
Get null value instance.
Public propertyObject
Return original value as an Object.
Public propertyType
Get wire protocol value type.
Top
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(Double)
Get double 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(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(IDictionary, MapOrder)
Get map or null value 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.
Top
Fields

  NameDescription
Public fieldStatic memberDisableSerializer
Should BinaryFormatter be disabled. If true, an exception will be thrown when BinaryFormatter is used. BinaryFormatter serialization is triggered when a bin constructed by Bin(String, Object) or AsBlob(String, Object) is used in a write command with an unrecognized object type.
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.
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  Aerospike.ClientValue
    Aerospike.ClientValueBlobValue
    Aerospike.ClientValueBooleanValue
    Aerospike.ClientValueBoolIntValue
    Aerospike.ClientValueByteSegmentValue
    Aerospike.ClientValueBytesValue
    Aerospike.ClientValueByteValue
    Aerospike.ClientValueDoubleValue
    Aerospike.ClientValueFloatValue
    Aerospike.ClientValueGeoJSONValue
    Aerospike.ClientValueHLLValue
    Aerospike.ClientValueInfinityValue
    Aerospike.ClientValueIntegerValue
    Aerospike.ClientValueListValue
    Aerospike.ClientValueLongValue
    Aerospike.ClientValueMapValue
    Aerospike.ClientValueNullValue
    Aerospike.ClientValueShortValue
    Aerospike.ClientValueSignedByteValue
    Aerospike.ClientValueStringValue
    Aerospike.ClientValueUnsignedIntegerValue
    Aerospike.ClientValueUnsignedLongValue
    Aerospike.ClientValueUnsignedShortValue
    Aerospike.ClientValueValueArray
    Aerospike.ClientValueWildcardValue