Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
|
Classes | |
class | MockDataConnection |
A class to mock google::cloud::bigtable::DataConnection . More... | |
Functions | |
bigtable::RowReader | MakeRowReader (std::vector< bigtable::Row > rows, Status final_status={}) |
Returns a RowReader with a fixed output stream. More... | |
bigtable::RowReader google::cloud::bigtable_mocks::MakeRowReader | ( | std::vector< bigtable::Row > | rows, |
Status | final_status = {} |
||
) |
Returns a RowReader
with a fixed output stream.
This factory function is offered for customers to mock the output of Table::ReadRows(...)
in their tests.
Cancel()
is called on the RowReader
, the stream will terminate and return final_status
.rows | a vector containing the Row s returned by iterating over the RowReader . |
final_status | the final Status of the stream. Defaults to OK. |