Click or drag to resize
RiakClientStreamListKeys Method (String, String)
Performs a streaming list keys operation.

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public RiakResult<IEnumerable<string>> StreamListKeys(
	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: RiakResultIEnumerableString
An IEnumerableT of keys.

Implements

IRiakBatchClientStreamListKeys(String, String)
Remarks
While this streams results back to the client, alleviating pressure on Riak, this still relies on folding over all keys present in the Riak cluster. Use at your own risk. If you are using the LevelDB backend, a better approach would be to use ListKeysFromIndex(String, String) in most cases.
See Also