Click or drag to resize
RiakClient Class
Provides methods for interacting with a Riak database. The primary implementation of IRiakClient.
Inheritance Hierarchy
SystemObject
  RiakClientRiakClient

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public class RiakClient : IRiakClient, IRiakBatchClient

The RiakClient type exposes the following members.

Properties
  NameDescription
Public propertyAsync
Fetches an asynchronous version of the client.
Public propertyRetryCount
Gets or sets the retry count for operations.
Top
Methods
  NameDescription
Public methodBatch(ActionIRiakBatchClient)
Used to create a batched set of actions to be sent to a Riak cluster.
Public methodBatchT(FuncIRiakBatchClient, T)
Used to create a batched set of actions to be sent to a Riak cluster.
Public methodDelete(RiakObject, RiakDeleteOptions)
Delete the data identified by the riakObject
Public methodDelete(RiakObjectId, RiakDeleteOptions)
Delete the object identified by the objectId.
Public methodDelete(IEnumerableRiakObjectId, RiakDeleteOptions)
Public methodDelete(String, String, RiakDeleteOptions)
Delete the object identified by key from a bucket.
Public methodDelete(String, String, String, RiakDeleteOptions)
Delete the object identified by key from a bucket.
Public methodDeleteSearchIndex
Deletes the specified SearchIndex from Riak.
Public methodDtFetchCounter(RiakObjectId, RiakDtFetchOptions) Obsolete.
Fetch a Counter Data Type object from the provided address.
Public methodDtFetchCounter(String, String, String, RiakDtFetchOptions) Obsolete.
Fetch a Counter Data Type object from the provided address.
Public methodDtFetchMap(RiakObjectId, RiakDtFetchOptions) Obsolete.
Fetch a Map Data Type object at the provided address.
Public methodDtFetchMap(String, String, String, RiakDtFetchOptions) Obsolete.
Fetch a Map Data Type object at the provided address.
Public methodDtFetchSet(RiakObjectId, RiakDtFetchOptions) Obsolete.
Fetch a Set Data Type object at the provided address.
Public methodDtFetchSet(String, String, String, RiakDtFetchOptions) Obsolete.
Fetch a Set Data Type object at the provided address.
Public methodDtUpdateCounter(RiakObjectId, Int64, RiakDtUpdateOptions) Obsolete.
Update a Counter Data Type object at the provided address.
Public methodDtUpdateCounter(String, String, String, Int64, RiakDtUpdateOptions) Obsolete.
Update a Counter Data Type object at the provided address.
Public methodDtUpdateMapT(RiakObjectId, SerializeObjectToByteArrayT, Byte, ListRiakDtMapField, ListMapUpdate, RiakDtUpdateOptions) Obsolete.
Update a Map Data Type object at the provided address.
Public methodDtUpdateMapT(String, String, String, SerializeObjectToByteArrayT, Byte, ListRiakDtMapField, ListMapUpdate, RiakDtUpdateOptions) Obsolete.
Update a Map Data Type object at the provided address.
Public methodDtUpdateSetT(RiakObjectId, SerializeObjectToByteArrayT, Byte, ListT, ListT, RiakDtUpdateOptions) Obsolete.
Update a Set Data Type object at the provided address.
Public methodDtUpdateSetT(String, String, String, SerializeObjectToByteArrayT, Byte, ListT, ListT, RiakDtUpdateOptions) Obsolete.
Update a Set Data Type object at the provided address.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
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 methodGet(RiakObjectId, RiakGetOptions)
Retrieve the specified object from Riak.
Public methodGet(IEnumerableRiakObjectId, RiakGetOptions)
Retrieve multiple objects from Riak.
Public methodGet(String, String, RiakGetOptions)
Get the specified key from the bucket. Optionally can be read from rVal instances. By default, the server's r-value will be used, but can be overridden by rVal.
Public methodGet(String, String, String, RiakGetOptions)
Retrieve the specified object from Riak.
Public methodGetBucketProperties(String)
Returns all properties for a bucket.
Public methodGetBucketProperties(String, String)
Returns all properties for a bucket.
Public methodGetCounter
Returns the value of a counter.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSearchIndex
Fetches the specified search index from Riak.
Public methodGetSearchSchema
Fetches the specified SearchSchema from Riak.
Public methodGetSecondaryIndex(RiakIndexId, BigInteger, RiakIndexGetOptions)
Query a secondary index for a specific integer value.
Public methodGetSecondaryIndex(RiakIndexId, String, RiakIndexGetOptions)
Query a secondary index for a specific string value.
Public methodGetSecondaryIndex(RiakIndexId, BigInteger, BigInteger, RiakIndexGetOptions)
Query a secondary index for a range of integer values.
Public methodGetSecondaryIndex(RiakIndexId, String, String, RiakIndexGetOptions)
Query a secondary index for a range of string values.
Public methodGetServerInfo Obsolete.
Get the server information from the connected cluster.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncrementCounter
Increments a Riak counter.
Public methodListBuckets
Lists all buckets in the Default Bucket Type.
Public methodListBuckets(String)
Lists all buckets in the specified Bucket Type.
Public methodListKeys(String)
Lists all keys in the specified bucket.
Public methodListKeys(String, String)
Lists all keys in the specified bucket.
Public methodListKeysFromIndex(String)
Return a list of keys from the given bucket.
Public methodListKeysFromIndex(String, String)
Return a list of keys from the given bucket.
Public methodMapReduce
Execute a map reduce query.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPing
Ping this instance of Riak.
Public methodPut(RiakObject, RiakPutOptions)
Persist a RiakObject to Riak using the specific RiakPutOptions.
Public methodPut(IEnumerableRiakObject, RiakPutOptions)
Public methodPutSearchIndex
Saves the specified SearchIndex to Riak.
Public methodPutSearchSchema
Stores the provided SearchSchema in Riak.
Public methodResetBucketProperties(String)
Reset the properties on a bucket back to their defaults.
Public methodResetBucketProperties(String, String)
Reset the properties on a bucket back to their defaults.
Public methodSearch
Perform a Riak Search query.
Public methodSetBucketProperties(String, RiakBucketProperties)
Sets the RiakBucketProperties properties of a bucket.
Public methodSetBucketProperties(String, String, RiakBucketProperties)
Sets the RiakBucketProperties properties of a bucket.
Public methodStreamGetSecondaryIndex(RiakIndexId, BigInteger, RiakIndexGetOptions)
Query a secondary index for a specific integer value, and stream the results back.
Public methodStreamGetSecondaryIndex(RiakIndexId, String, RiakIndexGetOptions)
Query a secondary index for a specific string value, and stream the results back.
Public methodStreamGetSecondaryIndex(RiakIndexId, BigInteger, BigInteger, RiakIndexGetOptions)
Query a secondary index for a range of integer values, and stream the results back.
Public methodStreamGetSecondaryIndex(RiakIndexId, String, String, RiakIndexGetOptions)
Query a secondary index for a range of string values, and stream the results back.
Public methodStreamListBuckets
Public methodStreamListKeys(String)
Performs a streaming list keys operation.
Public methodStreamListKeys(String, String)
Performs a streaming list keys operation.
Public methodStreamMapReduce
Perform a map reduce query and stream the results.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWalkLinks Obsolete.
Retrieve arbitrarily deep list of links for a RiakObject
Top
See Also