public abstract class SampleRowKeysStream : ServerStreamingBase<SampleRowKeysResponse>
Server streaming methods for SampleRowKeys(SampleRowKeysRequest, CallSettings).
Inheritance
Object > ServerStreamingBase<SampleRowKeysResponse> > BigtableServiceApiClient.SampleRowKeysStreamNamespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Methods
ToList()
public IList<SampleRowKeysResponse> ToList()
Gets all responses from the stream.
Returns | |
---|---|
Type | Description |
IList<SampleRowKeysResponse> | The collection of all row key samples. |
ToListAsync(CancellationToken)
public Task<IList<SampleRowKeysResponse>> ToListAsync(CancellationToken cancellationToken = default(CancellationToken))
Gets all responses from the stream asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Returns | |
---|---|
Type | Description |
Task<IList<SampleRowKeysResponse>> | The collection of all row key samples. |