Click or drag to resize
RiakClientGet Method (IEnumerableRiakObjectId, RiakGetOptions)
Retrieve multiple objects from Riak.

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public IEnumerable<RiakResult<RiakObject>> Get(
	IEnumerable<RiakObjectId> objectIds,
	RiakGetOptions options = null
)

Parameters

objectIds
Type: System.Collections.GenericIEnumerableRiakObjectId
An System.Collections.Generic.IEnumerable{T} of RiakObjectId to be retrieved.
options (Optional)
Type: RiakClient.ModelsRiakGetOptions
The RiakGetOptions responsible for configuring the semantics of this single get request. These options will override any previously defined bucket configuration properties.

Return Value

Type: IEnumerableRiakResultRiakObject
An IEnumerableT of RiakResultTResult is returned. You should verify the success or failure of each result separately.

Implements

IRiakBatchClientGet(IEnumerableRiakObjectId, RiakGetOptions)
Remarks
Riak does not support multi get behavior. RiakClient's multi get functionality wraps multiple get requests and returns results as an IEnumerable{RiakResult{RiakObject}}. Callers should be aware that this may result in partial success - all results should be evaluated individually in the calling application. In addition, applications should plan for multiple failures or multiple cases of siblings being present.
See Also