Click or drag to resize
IRiakBatchClientListKeysFromIndex Method (String, String)
Return a list of keys from the given bucket.

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

Parameters

bucketType
Type: SystemString
The name of the bucket type containing the bucket.
bucket
Type: SystemString
The bucket to list keys from.

Return Value

Type: RiakResultIListString
An IEnumerableT of keys.
Remarks
This uses the $key special index instead of the list keys API to quickly return an unsorted list of keys from Riak. Only works with a LevelDB backend.
See Also