Click or drag to resize
IRiakBatchClientListKeys Method (String, String)
Lists all keys in the specified bucket.

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
RiakResult<IEnumerable<string>> ListKeys(
	string bucketType,
	string bucket
)

Parameters

bucketType
Type: SystemString
The name of the bucket type containing the bucket. Riak 1.4 users should use the ListKeys(String) overload.
bucket
Type: SystemString
The bucket to list keys from.

Return Value

Type: RiakResultIEnumerableString
An IEnumerableT of String keys.
Remarks
ListKeys is an expensive operation that requires folding over all data in the Riak cluster to produce a list of keys. This operation, while cheaper in Riak 1.0 than in earlier versions of Riak, should be avoided.
See Also