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.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.0.0.0 (3.0.4)
Syntax
Parameters
- ns
- Type:
System String
namespace
- setName
- Type:
System String
optional set name, enter null when set does not exist
- key
- Type:
System Byte
user defined unique identifier within set.
- offset
- Type:
System Int32
byte array segment offset
- length
- Type:
System Int32
byte array segment length
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if digest computation fails |
See Also