AerospikeClientGetHeader(Policy, Key) Method

Read record generation and expiration only for specified key. Bins are not read. 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 GetHeader(
	Policy policy,
	Key key
)

Parameters

policy  Policy
generic configuration parameters, pass in null for defaults
key  Key
unique record identifier

Return Value

Record

Implements

IAerospikeClientGetHeader(Policy, Key)

Exceptions

AerospikeExceptionif read fails

See Also