Bin MembersAerospike

The Bin type exposes the following members.
Constructors

  NameDescription
Public methodBin(String, Value)
Constructor, specifying bin name and value. For servers configured as "single-bin", enter a null or empty name.
Public methodBin(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.
Public methodBin(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.
Public methodBin(String,  Byte )
Constructor, specifying bin name and byte array value. For servers configured as "single-bin", enter a null or empty name.
Public methodBin(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.
Public methodBin(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.
Public methodBin(String, Double)
Constructor, specifying bin name and double value.

For servers configured as "single-bin", enter a null or empty name.

Public methodBin(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.
Public methodBin(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.
Public methodBin(String, Int64)
Constructor, specifying bin name and long value. For servers configured as "single-bin", enter a null or empty name.
Public methodBin(String, Object)
Constructor, specifying bin name and object value. This is the slowest of the Bin constructors because the type must be determined using multiple "instanceof" checks.

For servers configured as "single-bin", enter a null or empty name.

Public methodBin(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.
Public methodBin(String, Single)
Constructor, specifying bin name and float value.

For servers configured as "single-bin", enter a null or empty name.

Public methodBin(String, String)
Constructor, specifying bin name and string value. For servers configured as "single-bin", enter a null or empty name.
Public methodBin(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.
Public methodBin(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.
Public methodBin(String, UInt64)
Constructor, specifying bin name and unsigned long value. For servers configured as "single-bin", enter a null or empty name.
Public methodBin(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.
Public methodBin(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.
Back to Top
Methods

  NameDescription
Public methodStatic memberAsBlob
Create bin with a blob value. The value will be java serialized. 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.

For servers configured as "single-bin", enter a null or empty name.

Public methodStatic memberAsGeoJSON
Create bin with a GeoJSON value.
Public methodStatic memberAsNull
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.
Public methodToString
Return string representation of bin.
(Overrides Object ToString .)
Back to Top
Fields

  NameDescription
Public fieldname
Bin name. Current limit is 14 characters.
Public fieldvalue
Bin value.
Back to Top
See Also