Read record header and bins for specified key.
If found, return record instance. If not found, return null.
The policy can be used to specify timeouts.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.5.0.0 (3.5.1)
Syntax
Parameters
- policy
- Type: Aerospike.Client Policy
generic configuration parameters, pass in null for defaults
- key
- Type: Aerospike.Client Key
unique record identifier
- binNames
- Type:
System String
bins to retrieve
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if read fails |
See Also