Key MembersAerospike

The Key type exposes the following members.
Constructors

  NameDescription
Public methodKey(String,  Byte , String)
Initialize key from namespace, digest and optional set name.
Public methodKey(String, String, Value)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String, Boolean)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String, Byte)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String,  Byte )
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String, Int16)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String, Int32)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String, Int64)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String, SByte)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String, String)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only.
Public methodKey(String, String, UInt16)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String, UInt32)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String, UInt64)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Public methodKey(String, String,  Byte , Int32, Int32)
Initialize key from namespace, optional set name and user key. The set name and user defined key are converted to a digest before sending to the server. The server handles record identifiers by digest only. If the user key needs to be stored on the server, the key should be stored in a bin.
Back to Top
Methods

  NameDescription
Public methodStatic memberComputeDigest
Generate unique server hash value from set name, key type and user defined key. The hash function is RIPEMD-160 (a 160 bit hash).
Public methodEquals
Equality uses namespace and digest.
(Overrides OnlineObject Equals(Object).)
Public methodGetHashCode
Hash lookup uses namespace and digest.
(Overrides OnlineObject GetHashCode .)
Back to Top
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. If the user key needs to persist on the server, the key should be explicitly stored in a bin.
Back to Top
See Also