IRiakBatchClientGet Method (String, String, String, RiakGetOptions) |
Retrieve the specified object from Riak.
Namespace:
RiakClient
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax RiakResult<RiakObject> Get(
string bucketType,
string bucket,
string key,
RiakGetOptions options = null
)
abstract Get :
bucketType : string *
bucket : string *
key : string *
?options : RiakGetOptions
(* Defaults:
let _options = defaultArg options null
*)
-> RiakResult<RiakObject>
Parameters
- bucketType
- Type: SystemString
The name of the bucket type containing the bucket. - bucket
- Type: SystemString
The name of the bucket containing the key. - key
- Type: SystemString
The key of the object. - 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:
RiakResultRiakObject
A
RiakResultTResult, which will contain the found
RiakObject.
Remarks
If a node does not respond, that does not necessarily mean that the
bucketType/
bucket/
key combination is not available.
It simply means that fewer than R/PR nodes responded to the read request. See
RiakGetOptions
for information on how different options change Riak's default behavior.
See Also