Key Fields

Aerospike

The Key type exposes the following members.

Fields

  NameDescription
Public fielddigest
Unique server hash value generated from set name and user key.
Public fieldns
Namespace. Equivalent to database name.
Public fieldsetName
Optional set name. Equivalent to database table.
Public fielduserKey
Original user key. This key is immediately converted to a hash digest. This key is not used or returned by the server by default. If the user key needs to persist on the server, use one of the following methods:
  • Set "WritePolicy.sendKey" to true. In this case, the key will be sent to the server for storage on writes and retrieved on multi-record scans and queries.
  • Explicitly store and retrieve the key in a bin.
Top
See Also

Reference