IRiakBatchClientListBuckets Method (String) |
Lists all buckets in the specified Bucket Type.
Namespace:
RiakClient
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax RiakResult<IEnumerable<string>> ListBuckets(
string bucketType
)
abstract ListBuckets :
bucketType : string -> RiakResult<IEnumerable<string>>
Parameters
- bucketType
- Type: SystemString
The name of the bucket type to list buckets for.
Return Value
Type:
RiakResultIEnumerableString
An
IEnumerableT of
String bucket names.
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