Click or drag to resize
RiakGetOptions Properties

The RiakGetOptions type exposes the following members.

Properties
  NameDescription
Public propertyBasicQuorum
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.
Public propertyStatic memberDefault
Returns a static readonly instance of the default RiakGetOptions option set.
Public propertyDeletedVclock
By default single tombstones are not returned by a fetch operations. When set to true, this will return a Tombstone if it is present.
Public propertyDw
Durable writes - the number of replicas that must commit to durable storage before returning a successful response.
(Inherited from RiakOptionsT.)
Public propertyHead
Return only the object metadata, analogous to an HTTP HEAD request. When set to true, Riak will return the object minus its value.
Public propertyIfModified
When a vector clock is supplied with this option, only return the object if the vector clocks don't match.
Public propertyNotFoundOk
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.
Public propertyPr
Primary Read Quorum - the number of replicas that need to be available when retrieving the object.
(Inherited from RiakOptionsT.)
Public propertyPw
Primary Write Quorum - the number of replicas need to be available when the write is attempted.
(Inherited from RiakOptionsT.)
Public propertyR
The number of replicas that must return before a delete is considered a succes.
(Inherited from RiakOptionsT.)
Public propertyRw
The number of replicas that need to agree when retrieving the object.
(Inherited from RiakOptionsT.)
Public propertyTimeout
The Timeout period for an operation.
(Inherited from RiakOptionsT.)
Public propertyW
The number of replicas that must respond before a write is considered a success.
(Inherited from RiakOptionsT.)
Top
See Also