Google Cloud BigQuery C++ Client  2.1.0
A C++ Client Library for Google Cloud BigQuery
Public Member Functions | List of all members
google::cloud::bigquery::BigQueryReadConnection Class Referenceabstract

The BigQueryReadConnection object for BigQueryReadClient. More...

#include <google/cloud/bigquery/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_mocks::MockBigQueryReadConnection.

Definition at line 69 of file bigquery_read_connection.h.

Constructor & Destructor Documentation

◆ ~BigQueryReadConnection()

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

Member Function Documentation

◆ CreateReadSession()

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

◆ options()

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

Definition at line 73 of file bigquery_read_connection.h.

◆ ReadRows()

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

◆ SplitReadStream()

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