19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_STORAGE_V1_BIGQUERY_READ_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_STORAGE_V1_BIGQUERY_READ_CLIENT_H
22#include "google/cloud/bigquery/storage/v1/bigquery_read_connection.h"
23#include "google/cloud/future.h"
24#include "google/cloud/options.h"
25#include "google/cloud/polling_policy.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/version.h"
33GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
81 return a.connection_ == b.connection_;
143 std::string
const& parent,
145 std::int32_t max_stream_count,
Options opts
= {});
231 std::string
const& read_stream, std::int64_t offset,
Options opts
= {});
321GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
322namespace gcpcxxV1 = GOOGLE_CLOUD_CPP_NS;
BigQuery Read API.
Definition: bigquery_read_client.h:63
friend bool operator==(BigQueryReadClient const &a, BigQueryReadClient const &b)
Definition: bigquery_read_client.h:79
StatusOr< google::cloud::bigquery::storage::v1::SplitReadStreamResponse > SplitReadStream(google::cloud::bigquery::storage::v1::SplitReadStreamRequest const &request, Options opts={})
Splits a given ReadStream into two ReadStream objects.
StreamRange< google::cloud::bigquery::storage::v1::ReadRowsResponse > ReadRows(google::cloud::bigquery::storage::v1::ReadRowsRequest const &request, Options opts={})
Reads rows from the stream in the format prescribed by the ReadSession.
StatusOr< google::cloud::bigquery::storage::v1::ReadSession > CreateReadSession(std::string const &parent, google::cloud::bigquery::storage::v1::ReadSession const &read_session, std::int32_t max_stream_count, Options opts={})
Creates a new read session.
BigQueryReadClient & operator=(BigQueryReadClient const &)=default
BigQueryReadClient(std::shared_ptr< BigQueryReadConnection > connection, Options opts={})
BigQueryReadClient & operator=(BigQueryReadClient &&)=default
StreamRange< google::cloud::bigquery::storage::v1::ReadRowsResponse > ReadRows(std::string const &read_stream, std::int64_t offset, Options opts={})
Reads rows from the stream in the format prescribed by the ReadSession.
friend bool operator!=(BigQueryReadClient const &a, BigQueryReadClient const &b)
Definition: bigquery_read_client.h:83
StatusOr< google::cloud::bigquery::storage::v1::ReadSession > CreateReadSession(google::cloud::bigquery::storage::v1::CreateReadSessionRequest const &request, Options opts={})
Creates a new read session.
BigQueryReadClient(BigQueryReadClient &&)=default
BigQueryReadClient(BigQueryReadClient const &)=default
The BigQueryReadConnection object for BigQueryReadClient.
Definition: bigquery_read_connection.h:61
Definition: bigquery_read_client.h:32
Definition: analytics_hub_client.h:30