The Aerospike Database supports these native types:
When setting a value in Rust, the Aerospike library automatically determines the best native Aerospike data type for storage:
- Integers of all types up to and including
i64::MAXare converted to 64-bit numerics.
u64values are not supported as record bin values and need to be casted to one of the other supported integer types.
u64values can be stored as elements or keys in lists and maps.
- Floating point values are stored in 64-bit IEEE-754 format.
- Strings are stored as opaque byte arrays but de-serialized as UTF-8 strings when reading from the database.
- Byte arrays are stored as blobs.