Column name/value pair.
Inheritance Hierarchy
Aerospike.ClientBin
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public sealed class Bin
The Bin type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Bin(String, Value) |
Constructor, specifying bin name and value.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, Boolean) |
Constructor, specifying bin name and boolean value.
For servers configured as "single-bin", enter a null or empty name.
Either a boolean or integer bin is sent to the server, depending
on configuration UseBoolBin.
|
![]() | Bin(String, Byte) |
Constructor, specifying bin name and byte value.
The server will convert all byte integers to longs.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, Byte) |
Constructor, specifying bin name and byte array value.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, IDictionary) |
Create bin with a map value. The map value will be serialized as a server map type.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, IList) |
Create bin with a list value. The list value will be serialized as a server list type.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, Double) |
Constructor, specifying bin name and double value.
For servers configured as "single-bin", enter a null or empty name. |
![]() | Bin(String, Int16) |
Constructor, specifying bin name and short value.
The server will convert all shorts to longs.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, Int32) |
Constructor, specifying bin name and integer value.
The server will convert all integers to longs.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, Int64) |
Constructor, specifying bin name and long value.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, Object) |
Create bin with an object value. This is the slowest of the Bin constructors because
the type must be determined using multiple "instanceof" checks. If the object type is
unrecognized, BinaryFormatter is used to serialize the object.
To disable this constructor, set DisableSerializer to true. |
![]() | Bin(String, SByte) |
Constructor, specifying bin name and signed byte value.
The server will convert all byte integers to longs.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, Single) |
Constructor, specifying bin name and float value.
For servers configured as "single-bin", enter a null or empty name. |
![]() | Bin(String, String) |
Constructor, specifying bin name and string value.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, UInt16) |
Constructor, specifying bin name and unsigned short value.
The server will convert all shorts to longs.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, UInt32) |
Constructor, specifying bin name and unsigned integer value.
The server will convert all integers to longs.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, UInt64) |
Constructor, specifying bin name and unsigned long value.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, IDictionary, MapOrder) |
Create bin with a map value and order. The map value will be serialized as a server map type.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, Byte, Int32, Int32) |
Constructor, specifying bin name and byte array segment value.
For servers configured as "single-bin", enter a null or empty name.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | AsBlob |
Create bin with a blob value. The value will be serialized by BinaryFormatter.
This method is faster than the bin object constructor because the blob is converted
directly instead of using multiple "instanceof" type checks with a blob default.
To disable this method, set DisableSerializer to true. |
![]() ![]() | AsGeoJSON |
Create bin with a GeoJSON value.
|
![]() ![]() | AsNull |
Create bin with a null value. This is useful for bin deletions within a record.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | ToString |
Return string representation of bin.
(Overrides ObjectToString.) |
Fields
Name | Description | |
---|---|---|
![]() | name |
Bin name. Current limit is 14 characters.
|
![]() | value |
Bin value.
|
See Also