Click or drag to resize
RiakClientPut Method (IEnumerableRiakObject, RiakPutOptions)

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public IEnumerable<RiakResult<RiakObject>> Put(
	IEnumerable<RiakObject> values,
	RiakPutOptions options = null
)

Parameters

values
Type: System.Collections.GenericIEnumerableRiakObject
The System.Collections.Generic.IEnumerable{T} of RiakObjects to save.
options (Optional)
Type: RiakClient.ModelsRiakPutOptions
The RiakPutOptions responsible for configuring the semantics of this single put 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

IRiakBatchClientPut(IEnumerableRiakObject, RiakPutOptions)
Remarks
Riak does not support multi put behavior. RiakClient's multi put functionality wraps multiple put 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