Click or drag to resize
RiakClientListBuckets Method
Lists all buckets in the Default Bucket Type.

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public RiakResult<IEnumerable<string>> ListBuckets()

Return Value

Type: RiakResultIEnumerableString
An IEnumerableT of String bucket names.

Implements

IRiakBatchClientListBuckets
Remarks
Buckets provide a logical namespace for keys. Listing buckets requires folding over all keys in a cluster and reading a list of buckets from disk. This operation, while non-blocking in Riak 1.0 and newer, still produces considerable physical I/O and can take a long time.
See Also