The Bin type exposes the following members.
Back to Top
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 ![]() |
See Also