Click or drag to resize
RiakGetOptions Class
A collection of optional settings for fetching objects from Riak.
Inheritance Hierarchy
SystemObject
  RiakClient.ModelsRiakOptionsRiakGetOptions
    RiakClient.ModelsRiakGetOptions

Namespace:  RiakClient.Models
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public class RiakGetOptions : RiakOptions<RiakGetOptions>

The RiakGetOptions type exposes the following members.

Constructors
  NameDescription
Public methodRiakGetOptions
Initializes a new instance of the RiakGetOptions class. Uses the "default" quorum settings for R and PR settings.
Top
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
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetDw(Int32)
A fluent setter for the Dw property.
(Inherited from RiakOptionsT.)
Public methodSetDw(Quorum)
A fluent setter for the Dw property.
(Inherited from RiakOptionsT.)
Public methodSetPr(Int32)
A fluent setter for the Pr property.
(Inherited from RiakOptionsT.)
Public methodSetPr(Quorum)
A fluent setter for the Pr property.
(Inherited from RiakOptionsT.)
Public methodSetPw(Int32)
A fluent setter for the Pw property.
(Inherited from RiakOptionsT.)
Public methodSetPw(Quorum)
A fluent setter for the Pw property.
(Inherited from RiakOptionsT.)
Public methodSetR(Int32)
A fluent setter for the R property.
(Inherited from RiakOptionsT.)
Public methodSetR(Quorum)
A fluent setter for the R property.
(Inherited from RiakOptionsT.)
Public methodSetRw(Int32)
A fluent setter for the Rw property.
(Inherited from RiakOptionsT.)
Public methodSetRw(Quorum)
A fluent setter for the Rw property.
(Inherited from RiakOptionsT.)
Public methodSetTimeout
A fluent setter for the Timeout property.
(Inherited from RiakOptionsT.)
Public methodSetW(Int32)
A fluent setter for the W property.
(Inherited from RiakOptionsT.)
Public methodSetW(Quorum)
A fluent setter for the W property.
(Inherited from RiakOptionsT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also