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

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

Parameters

bucket
Type: SystemString
The bucket to list keys from.

Return Value

Type: RiakResultIEnumerableString
An IEnumerableT of keys.

Implements

IRiakBatchClientStreamListKeys(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) in most cases.
See Also