AerospikeClientGet(Policy, Key, String) Method

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.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public Record Get(
	Policy policy,
	Key key,
	params string[] binNames
)

Parameters

policy  Policy
generic configuration parameters, pass in null for defaults
key  Key
unique record identifier
binNames  String
bins to retrieve

Return Value

Record

Implements

IAerospikeClientGet(Policy, Key, String)

Exceptions

AerospikeExceptionif read fails

See Also