| RiakBucketProperties Methods |
The RiakBucketProperties type exposes the following members.
| 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.) |