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::BigQueryReadConnection Class Referenceabstract

The BigQueryReadConnection object for BigQueryReadClient. More...

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

Public Member Functions

virtual ~BigQueryReadConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::bigquery::storage::v1::ReadSession > CreateReadSession (google::cloud::bigquery::storage::v1::CreateReadSessionRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::storage::v1::ReadRowsResponse > ReadRows (google::cloud::bigquery::storage::v1::ReadRowsRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::storage::v1::SplitReadStreamResponse > SplitReadStream (google::cloud::bigquery::storage::v1::SplitReadStreamRequest const &request)
 

Detailed Description

The BigQueryReadConnection object for BigQueryReadClient.

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

To create a concrete instance, see MakeBigQueryReadConnection().

For mocking, see bigquery_storage_v1_mocks::MockBigQueryReadConnection.

Constructor & Destructor Documentation

◆ ~BigQueryReadConnection()

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

Member Function Documentation

◆ CreateReadSession()

virtual StatusOr< google::cloud::bigquery::storage::v1::ReadSession > google::cloud::bigquery_storage_v1::BigQueryReadConnection::CreateReadSession ( google::cloud::bigquery::storage::v1::CreateReadSessionRequest const &  request)
virtual

◆ options()

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

◆ ReadRows()

virtual StreamRange< google::cloud::bigquery::storage::v1::ReadRowsResponse > google::cloud::bigquery_storage_v1::BigQueryReadConnection::ReadRows ( google::cloud::bigquery::storage::v1::ReadRowsRequest const &  request)
virtual

◆ SplitReadStream()

virtual StatusOr< google::cloud::bigquery::storage::v1::SplitReadStreamResponse > google::cloud::bigquery_storage_v1::BigQueryReadConnection::SplitReadStream ( google::cloud::bigquery::storage::v1::SplitReadStreamRequest const &  request)
virtual