Class BigtableServiceApiClient.SampleRowKeysStream (3.1.0)

public abstract class SampleRowKeysStream : ServerStreamingBase<SampleRowKeysResponse>

Inheritance

Object > ServerStreamingBase<SampleRowKeysResponse> > BigtableServiceApiClient.SampleRowKeysStream

Namespace

Google.Cloud.Bigtable.V2

Assembly

Google.Cloud.Bigtable.V2.dll

Methods

ToList()

public IList<SampleRowKeysResponse> ToList()

Gets all responses from the stream.

Returns
TypeDescription
IList<SampleRowKeysResponse>

The collection of all row key samples.

ToListAsync(CancellationToken)

public async Task<IList<SampleRowKeysResponse>> ToListAsync(CancellationToken cancellationToken = default(CancellationToken))

Gets all responses from the stream asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken

The token to monitor for cancellation requests.

Returns
TypeDescription
Task<IList<SampleRowKeysResponse>>

The collection of all row key samples.