The Bin type exposes the following members.
Back to Top
Back to Top
Back to Top
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.
|
![]() | Bin(String, Byte) |
Constructor, specifying bin name and byte value.
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, Int16) |
Constructor, specifying bin name and short value.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, Int32) |
Constructor, specifying bin name and integer value.
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) |
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. |
![]() | Bin(String, SByte) |
Constructor, specifying bin name and signed byte 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.
For servers configured as "single-bin", enter a null or empty name.
|
![]() | Bin(String, UInt32) |
Constructor, specifying bin name and unsigned integer value.
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, 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 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. |
![]() ![]() | AsList |
Create bin with a list value. The list value will be serialized as a Aerospike 3 server list type.
Supported by Aerospike 3 servers only.
For servers configured as "single-bin", enter a null or empty name.
|
![]() ![]() | AsMap |
Create bin with a map value. The map value will be serialized as a Aerospike 3 server map type.
Supported by Aerospike 3 servers only.
For servers configured as "single-bin", enter a null or empty name.
|
![]() ![]() | 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 ![]() |
Fields
Name | Description | |
---|---|---|
![]() | name |
Bin name. Current limit is 14 characters.
|
![]() | value |
Bin value.
|
See Also