RiakGetOptions Properties |
The RiakGetOptions type exposes the following members.
Name | Description | |
---|---|---|
BasicQuorum |
Gets or sets basic quorum semantics.
When set to true, Riak will return early in some failure cases.
(eg. when r=1 and you get 2 errors and a success basic_quorum=true would return an error).
Can be used in conjunction when NotFoundOk=false to speed up the case an object
does not exist, thereby only reading a "quorum" of not-founds instead of "N" not-founds.
| |
Default |
Returns a static readonly instance of the default RiakGetOptions option set.
| |
DeletedVclock |
By default single tombstones are not returned by a fetch operations.
When set to true, this will return a Tombstone if it is present.
| |
Dw |
Durable writes - the number of replicas that must commit to durable storage before returning a successful response.
(Inherited from RiakOptionsT.) | |
Head |
Return only the object metadata, analogous to an HTTP HEAD request.
When set to true, Riak will return the object minus its value.
| |
IfModified |
When a vector clock is supplied with this option, only return the object if the vector clocks don't match.
| |
NotFoundOk |
Gets or sets notfound_ok semantics.
When set to true, an object not being found on a Riak node will count towards the R count.
| |
Pr |
Primary Read Quorum - the number of replicas that need to be available when retrieving the object.
(Inherited from RiakOptionsT.) | |
Pw |
Primary Write Quorum - the number of replicas need to be available when the write is attempted.
(Inherited from RiakOptionsT.) | |
R |
The number of replicas that must return before a delete is considered a succes.
(Inherited from RiakOptionsT.) | |
Rw |
The number of replicas that need to agree when retrieving the object.
(Inherited from RiakOptionsT.) | |
Timeout |
The Timeout period for an operation.
(Inherited from RiakOptionsT.) | |
W |
The number of replicas that must respond before a write is considered a success.
(Inherited from RiakOptionsT.) |