Google Cloud BigQuery C++ Client 2.13.0
A C++ Client Library for Google Cloud BigQuery
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::bigquery_storage_v1::BigQueryWriteConnection Class Referenceabstract

The BigQueryWriteConnection object for BigQueryWriteClient. More...

#include <google/cloud/bigquery/storage/v1/bigquery_write_connection.h>

Public Member Functions

virtual ~BigQueryWriteConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::bigquery::storage::v1::WriteStream > CreateWriteStream (google::cloud::bigquery::storage::v1::CreateWriteStreamRequest const &request)
 
virtual std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< google::cloud::bigquery::storage::v1::AppendRowsRequest, google::cloud::bigquery::storage::v1::AppendRowsResponse > > AsyncAppendRows ()
 
virtual StatusOr< google::cloud::bigquery::storage::v1::WriteStream > GetWriteStream (google::cloud::bigquery::storage::v1::GetWriteStreamRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::storage::v1::FinalizeWriteStreamResponse > FinalizeWriteStream (google::cloud::bigquery::storage::v1::FinalizeWriteStreamRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::storage::v1::BatchCommitWriteStreamsResponse > BatchCommitWriteStreams (google::cloud::bigquery::storage::v1::BatchCommitWriteStreamsRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::storage::v1::FlushRowsResponse > FlushRows (google::cloud::bigquery::storage::v1::FlushRowsRequest const &request)
 

Detailed Description

The BigQueryWriteConnection object for BigQueryWriteClient.

This interface defines virtual methods for each of the user-facing overload sets in BigQueryWriteClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type BigQueryWriteClient.

To create a concrete instance, see MakeBigQueryWriteConnection().

For mocking, see bigquery_storage_v1_mocks::MockBigQueryWriteConnection.

Constructor & Destructor Documentation

◆ ~BigQueryWriteConnection()

virtual google::cloud::bigquery_storage_v1::BigQueryWriteConnection::~BigQueryWriteConnection ( )
pure virtual

Member Function Documentation

◆ AsyncAppendRows()

virtual std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< google::cloud::bigquery::storage::v1::AppendRowsRequest, google::cloud::bigquery::storage::v1::AppendRowsResponse > > google::cloud::bigquery_storage_v1::BigQueryWriteConnection::AsyncAppendRows ( )
virtual

◆ BatchCommitWriteStreams()

virtual StatusOr< google::cloud::bigquery::storage::v1::BatchCommitWriteStreamsResponse > google::cloud::bigquery_storage_v1::BigQueryWriteConnection::BatchCommitWriteStreams ( google::cloud::bigquery::storage::v1::BatchCommitWriteStreamsRequest const &  request)
virtual

◆ CreateWriteStream()

virtual StatusOr< google::cloud::bigquery::storage::v1::WriteStream > google::cloud::bigquery_storage_v1::BigQueryWriteConnection::CreateWriteStream ( google::cloud::bigquery::storage::v1::CreateWriteStreamRequest const &  request)
virtual

◆ FinalizeWriteStream()

virtual StatusOr< google::cloud::bigquery::storage::v1::FinalizeWriteStreamResponse > google::cloud::bigquery_storage_v1::BigQueryWriteConnection::FinalizeWriteStream ( google::cloud::bigquery::storage::v1::FinalizeWriteStreamRequest const &  request)
virtual

◆ FlushRows()

virtual StatusOr< google::cloud::bigquery::storage::v1::FlushRowsResponse > google::cloud::bigquery_storage_v1::BigQueryWriteConnection::FlushRows ( google::cloud::bigquery::storage::v1::FlushRowsRequest const &  request)
virtual

◆ GetWriteStream()

virtual StatusOr< google::cloud::bigquery::storage::v1::WriteStream > google::cloud::bigquery_storage_v1::BigQueryWriteConnection::GetWriteStream ( google::cloud::bigquery::storage::v1::GetWriteStreamRequest const &  request)
virtual

◆ options()

virtual Options google::cloud::bigquery_storage_v1::BigQueryWriteConnection::options ( )
inlinevirtual