Polymorphic value classes used to efficiently serialize objects into the wire protocol.
Inheritance Hierarchy
Aerospike.ClientValue
More...
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.0.0.0 (5.0.0)
Syntax
C#
public abstract class Value
The Value type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() ![]() | AsNull |
Get null value instance.
|
![]() | Object |
Return original value as an Object.
|
![]() | Type |
Get wire protocol value type.
|
Methods
Name | Description | |
---|---|---|
![]() | EstimateSize |
Calculate number of bytes necessary to serialize the fixed 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(Double) |
Get double value instance.
|
![]() ![]() | Get(IDictionary) |
Get map or null value instance.
|
![]() ![]() | Get(IList) |
Get list or null 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.
Useful when copying records from one cluster to another.
|
![]() ![]() | 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(IDictionary, MapOrder) |
Get map or null value instance.
|
![]() ![]() | Get(Byte, Int32, Int32) |
Get byte array segment or null value instance.
|
![]() ![]() | GetAsBlob |
Get blob or null value instance.
|
![]() ![]() | GetAsGeoJSON |
Get GeoJSON or null value instance.
|
![]() ![]() | GetAsHLL |
Get HyperLogLog or null value instance.
|
![]() ![]() | GetFromRecordObject |
Get value from Record object. Useful when copying records from one cluster to another.
|
![]() | 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 fixed value in the wire protocol.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | INFINITY |
Infinity value to be used in CDT range comparisons only.
|
![]() ![]() | NULL |
Null value.
|
![]() ![]() | UseBoolBin |
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+.
|
![]() ![]() | WILDCARD |
Wildcard value to be used in CDT range comparisons only.
|
See Also
Reference
Inheritance Hierarchy
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