AerospikeClientJoin(BatchPolicy, Key, String, Join) Method

Read specified bins in left record and then join with right records. Each join bin name (Join.leftKeysBinName) must exist in the left record. The join bin must contain a list of keys. Those key are used to retrieve other records using a separate batch get.

Definition

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

Parameters

policy  BatchPolicy
generic configuration parameters, pass in null for defaults
key  Key
unique main record identifier
binNames  String
array of bins to retrieve
joins  Join
array of join definitions

Return Value

Record

Implements

IAerospikeClientJoin(BatchPolicy, Key, String, Join)

Exceptions

AerospikeExceptionif main read or join reads fail

See Also