RiakBucketProperties Class |
Namespace: RiakClient.Models
The RiakBucketProperties type exposes the following members.
Name | Description | |
---|---|---|
![]() | RiakBucketProperties |
Initializes a new instance of the RiakBucketProperties class.
|
Name | Description | |
---|---|---|
![]() | AllowMultiple |
The option to allow sibling objects to be created (concurrent updates) when updating an object.
|
![]() | Backend |
The named backend being used for this bucket when using riak_kv_multi_backend.
Can be the named backend to use when creating bucket properties for new buckets,
or the named backend in use for existing buckets & bucket properties.
|
![]() | BasicQuorum |
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.
|
![]() | BigVclock |
If the length of the vector clock is larger than BigVclock, vector clocks will be pruned.
|
![]() | Consistent |
Indicates whether strong consistency is enabled on this bucket.
|
![]() | DataType |
The DataType (if any) associated with this bucket.
|
![]() | Dw |
Durable writes - the number of replicas that must commit to durable storage before returning a successful response.
(Inherited from RiakOptionsT.) |
![]() | HasPostcommit |
Indicates whether the bucket properties have any post-commit hooks.
|
![]() | HasPrecommit |
Indicates whether the bucket properties have any pre-commit hooks.
|
![]() | HllPrecision |
The number of bits to use for HyperLogLog precision.
|
![]() | LastWriteWins |
The option to ignore object history (vector clock) when updating an object.
|
![]() | LegacySearch |
Indicates whether Legacy (Riak 1.0) Search is enabled for this bucket.
|
![]() | LegacySearchEnabled |
An indicator of whether legacy search indexing is enabled on the bucket.
|
![]() | NotFoundOk |
When set to true, an object not being found on a Riak node will count towards the R count.
|
![]() | NVal |
The number of replicas to create when storing data.
|
![]() | PostCommitHooks |
A ListT of IRiakPreCommitHook post-commit hooks.
|
![]() | Pr |
Primary Read Quorum - the number of replicas that need to be available when retrieving the object.
(Inherited from RiakOptionsT.) |
![]() | PreCommitHooks |
A ListT of IRiakPreCommitHook pre-commit hooks.
|
![]() | 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.) |
![]() | ReplicationMode |
Indicates which Riak Enterprise Edition replication modes are active for this bucket.
|
![]() | Rw |
The number of replicas that need to agree when retrieving the object.
(Inherited from RiakOptionsT.) |
![]() | Search | Obsolete.
Indicates whether Legacy (Riak 1.0) Search is enabled for this bucket.
|
![]() | SearchEnabled | Obsolete.
An indicator of whether legacy search indexing is enabled on the bucket. Please use LegacySearchEnabled instead.
|
![]() | SearchIndex |
Indicates whether Riak Search (2.0+) is enabled for this bucket, and which Search Index is assigned to it.
|
![]() | SmallVclock |
If the length of the vector clock is smaller than SmallVclock, vector clocks will not be pruned.
|
![]() | 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.) |
Name | Description | |
---|---|---|
![]() | AddPostCommitHook |
Add a post-commit hook to the bucket properties.
|
![]() | AddPreCommitHook |
Add a pre-commit hook to the bucket properties.
|
![]() | ClearPostCommitHooks |
Clear any post-commit hooks from the bucket properties.
|
![]() | ClearPreCommitHooks |
Clear any pre-commit hooks from the bucket properties.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemovePostCommitHook |
Remove a post-commit hook from the bucket properties.
|
![]() | RemovePreCommitHook |
Remove a pre-commit hook from the bucket properties.
|
![]() | SetAllowMultiple |
Fluent setter for the AllowMultiple property.
Enable or disable allow_mult on a bucket.
|
![]() | SetBackend |
Fluent setter for the Backend property.
Sets the named backend being used for this bucket when using riak_kv_multi_backend.
|
![]() | SetBasicQuorum |
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.
|
![]() | SetBigVclock |
Fluent setter for the BigVclock property.
If the length of the vector clock is larger than BigVclock, vector clocks will be pruned.
|
![]() | SetDw(Int32) |
A fluent setter for the Dw property.
(Inherited from RiakOptionsT.) |
![]() | SetDw(Quorum) |
A fluent setter for the Dw property.
(Inherited from RiakOptionsT.) |
![]() | SetHllPrecision |
Fluent setter for the HllPrecision property.
Sets the number of bits to use for HyperLogLog precision.
Valid values are [4 - 16] inclusive, default is 14 on new buckets.
NOTE: When changing precision, it may only be reduced from
it's current value, and never increased.
|
![]() | SetLastWriteWins |
Fluent setter for the LastWriteWins property.
Enable or disable last_write_wins on a bucket.
|
![]() | SetLegacySearch |
Fluent setter for the LegacySearch property.
Enable or disable legacy search on a bucket.
|
![]() | SetNotFoundOk |
Fluent setter for the NotFoundOk property.
Enable or disable notfound_ok on a bucket.
When set to true, an object not being found on a Riak node will count towards the R count.
|
![]() | SetNVal |
Fluent setter for the NVal property.
The number of replicas to create when storing data.
|
![]() | SetPr(Int32) |
A fluent setter for the Pr property.
(Inherited from RiakOptionsT.) |
![]() | SetPr(Quorum) |
A fluent setter for the Pr property.
(Inherited from RiakOptionsT.) |
![]() | SetPw(Int32) |
A fluent setter for the Pw property.
(Inherited from RiakOptionsT.) |
![]() | SetPw(Quorum) |
A fluent setter for the Pw property.
(Inherited from RiakOptionsT.) |
![]() | SetR(Int32) |
A fluent setter for the R property.
(Inherited from RiakOptionsT.) |
![]() | SetR(Quorum) |
A fluent setter for the R property.
(Inherited from RiakOptionsT.) |
![]() | SetRw(Int32) |
A fluent setter for the Rw property.
(Inherited from RiakOptionsT.) |
![]() | SetRw(Quorum) |
A fluent setter for the Rw property.
(Inherited from RiakOptionsT.) |
![]() | SetSearch | Obsolete.
Fluent setter for the LegacySearch property.
Enable or disable legacy search on a bucket.
|
![]() | SetSearchIndex |
Fluent setter for the SearchIndex property.
Sets the Search Index to use when indexing data for search.
|
![]() | SetSmallVclock |
Fluent setter for the SmallVclock property.
If the length of the vector clock is smaller than SmallVclock, vector clocks will not be pruned.
|
![]() | SetTimeout |
A fluent setter for the Timeout property.
(Inherited from RiakOptionsT.) |
![]() | SetW(Int32) |
A fluent setter for the W property.
(Inherited from RiakOptionsT.) |
![]() | SetW(Quorum) |
A fluent setter for the W property.
(Inherited from RiakOptionsT.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |