Click or drag to resize
IRiakAsyncClientStreamListKeys Method
Performs a streaming list keys operation.

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

Parameters

bucket
Type: SystemString
The bucket to list keys from.

Return Value

Type: TaskRiakResultIEnumerableString
A TaskTResult, that will contain an IEnumerableT of keys.
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