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

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

Parameters

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