The BigQueryReadConnection
object for BigQueryReadClient
.
More...
#include <google/cloud/bigquery/storage/v1/bigquery_read_connection.h>
|
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) |
|
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
.
◆ ~BigQueryReadConnection()
virtual google::cloud::bigquery_storage_v1::BigQueryReadConnection::~BigQueryReadConnection |
( |
| ) |
|
|
pure virtual |
◆ 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 |