Skip to content

Commit 3735316

Browse files
committed
emulator: make CreateCellStream public.
We need it for tests of filters and ReadRow that do not have to or cannot start up the GRPC network server infrastructure.
1 parent fa5e09e commit 3735316

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • google/cloud/bigtable/emulator

google/cloud/bigtable/emulator/table.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ class Table : public std::enable_shared_from_this<Table> {
7171
return DoMutationsWithPossibleRollback(row_key, mutations);
7272
}
7373

74+
StatusOr<CellStream> CreateCellStream(
75+
std::shared_ptr<StringRangeSet> range_set,
76+
absl::optional<google::bigtable::v2::RowFilter>) const;
77+
7478
Status ReadRows(google::bigtable::v2::ReadRowsRequest const& request,
7579
RowStreamer& row_streamer) const;
7680

@@ -104,9 +108,6 @@ class Table : public std::enable_shared_from_this<Table> {
104108
MESSAGE const& message) const;
105109
bool IsDeleteProtectedNoLock() const;
106110
Status Construct(google::bigtable::admin::v2::Table schema);
107-
StatusOr<CellStream> CreateCellStream(
108-
std::shared_ptr<StringRangeSet> range_set,
109-
absl::optional<google::bigtable::v2::RowFilter>) const;
110111
Status DoMutationsWithPossibleRollback(
111112
std::string const& row_key,
112113
google::protobuf::RepeatedPtrField<google::bigtable::v2::Mutation> const&

0 commit comments

Comments
 (0)