Google Bigtable v2 API - Class BigtableServiceApiClient.SampleRowKeysStream (3.7.0)

public abstract class BigtableServiceApiClient.SampleRowKeysStream : ServerStreamingBase<SampleRowKeysResponse>, IDisposable

Reference documentation and code samples for the Google Bigtable v2 API class BigtableServiceApiClient.SampleRowKeysStream.

Server streaming methods for SampleRowKeys(SampleRowKeysRequest, CallSettings).

Inheritance

object > ServerStreamingBaseSampleRowKeysResponse > BigtableServiceApiClient.SampleRowKeysStream

Implements

IDisposable

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
IListSampleRowKeysResponse

The collection of all row key samples.

ToListAsync(CancellationToken)

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

Gets all responses from the stream asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken

The token to monitor for cancellation requests.

Returns
TypeDescription
TaskIListSampleRowKeysResponse

The collection of all row key samples.