Bin MethodsAerospike
The Bin type exposes the following members.
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 memberAsList
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.
Public methodStatic memberAsMap
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.
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 OnlineObject ToString .)
Back to Top
See Also