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.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
Record Join( BatchPolicy policy, Key key, string[] binNames, params Join[] joins )
Parameters
- policy
- Type: Aerospike.ClientBatchPolicy
generic configuration parameters, pass in null for defaults - key
- Type: Aerospike.ClientKey
unique main record identifier - binNames
- Type: SystemString
array of bins to retrieve - joins
- Type: Aerospike.ClientJoin
array of join definitions
Return Value
Type: RecordExceptions
Exception | Condition |
---|---|
AerospikeException | if main read or join reads fail |
See Also