Click or drag to resize
RiakDtFetchOptions Class

Note: This API is now obsolete.

Represents a collection of optional properties when fetching Riak Data Types. Each property changes the semantics of the operation slightly.
Inheritance Hierarchy
SystemObject
  RiakClient.ModelsRiakOptionsRiakDtFetchOptions
    RiakClient.ModelsRiakDtFetchOptions

Namespace:  RiakClient.Models
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
[ObsoleteAttribute("RiakDt is deprecated. Please use Commands/CRDT namespace.")]
public class RiakDtFetchOptions : RiakOptions<RiakDtFetchOptions>

The RiakDtFetchOptions type exposes the following members.

Constructors
  NameDescription
Public methodRiakDtFetchOptions
Initializes a new instance of the RiakDtFetchOptions class
Top
Properties
  NameDescription
Public propertyBasicQuorum
Basic Quorum semantics - whether to 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)
Public propertyDw
Durable writes - the number of replicas that must commit to durable storage before returning a successful response.
(Inherited from RiakOptionsT.)
Public propertyIncludeContext
Determines whether or not the context will be returned. For read-only requests or context-free operations, you can set this to false to reduce the size of the response payload.
Public propertyNotFoundOk
Should not found responses from Riak be treated as an OK result for a find operation.
Public propertyNVal
The number of replicas to read when fetching data.
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 propertySloppyQuorum
Whether a sloppy quorum should be used.
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 methodSetBasicQuorum
Fluent setter for the BasicQuorum property. 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 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 methodSetIncludeContext
Fluent setter for the IncludeContext property. Determines whether or not the context will be returned.
Public methodSetNotFoundOk
Fluent setter for the NotFoundOk property. Should not found responses from Riak be treated as an OK result for a find operation.
Public methodSetNVal
Fluent setter for the NVal property. The number of replicas to create when storing data.
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 methodSetSloppyQuorum
Fluent setter for the SloppyQuorum property. Whether a sloppy quorum should be used.
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