@@ -48,6 +48,7 @@ static_assert(std::is_copy_assignable<bigtable::Table>::value,
4848
4949Status Table::Apply (SingleRowMutation mut) {
5050 if (connection_) {
51+ google::cloud::internal::OptionsSpan span (options_);
5152 return connection_->Apply (app_profile_id_, table_name_, std::move (mut));
5253 }
5354
@@ -94,6 +95,7 @@ Status Table::Apply(SingleRowMutation mut) {
9495
9596future<Status> Table::AsyncApply (SingleRowMutation mut) {
9697 if (connection_) {
98+ google::cloud::internal::OptionsSpan span (options_);
9799 return connection_->AsyncApply (app_profile_id_, table_name_,
98100 std::move (mut));
99101 }
@@ -138,6 +140,7 @@ future<Status> Table::AsyncApply(SingleRowMutation mut) {
138140
139141std::vector<FailedMutation> Table::BulkApply (BulkMutation mut) {
140142 if (connection_) {
143+ google::cloud::internal::OptionsSpan span (options_);
141144 return connection_->BulkApply (app_profile_id_, table_name_, std::move (mut));
142145 }
143146
@@ -171,6 +174,7 @@ std::vector<FailedMutation> Table::BulkApply(BulkMutation mut) {
171174
172175future<std::vector<FailedMutation>> Table::AsyncBulkApply (BulkMutation mut) {
173176 if (connection_) {
177+ google::cloud::internal::OptionsSpan span (options_);
174178 return connection_->AsyncBulkApply (app_profile_id_, table_name_,
175179 std::move (mut));
176180 }
@@ -191,6 +195,7 @@ RowReader Table::ReadRows(RowSet row_set, Filter filter) {
191195RowReader Table::ReadRows (RowSet row_set, std::int64_t rows_limit,
192196 Filter filter) {
193197 if (connection_) {
198+ google::cloud::internal::OptionsSpan span (options_);
194199 return connection_->ReadRows (app_profile_id_, table_name_,
195200 std::move (row_set), rows_limit,
196201 std::move (filter));
@@ -207,6 +212,7 @@ RowReader Table::ReadRows(RowSet row_set, std::int64_t rows_limit,
207212StatusOr<std::pair<bool , Row>> Table::ReadRow (std::string row_key,
208213 Filter filter) {
209214 if (connection_) {
215+ google::cloud::internal::OptionsSpan span (options_);
210216 return connection_->ReadRow (app_profile_id_, table_name_,
211217 std::move (row_key), std::move (filter));
212218 }
@@ -236,6 +242,7 @@ StatusOr<MutationBranch> Table::CheckAndMutateRow(
236242 std::string row_key, Filter filter, std::vector<Mutation> true_mutations,
237243 std::vector<Mutation> false_mutations) {
238244 if (connection_) {
245+ google::cloud::internal::OptionsSpan span (options_);
239246 return connection_->CheckAndMutateRow (
240247 app_profile_id_, table_name_, std::move (row_key), std::move (filter),
241248 std::move (true_mutations), std::move (false_mutations));
@@ -272,6 +279,7 @@ future<StatusOr<MutationBranch>> Table::AsyncCheckAndMutateRow(
272279 std::string row_key, Filter filter, std::vector<Mutation> true_mutations,
273280 std::vector<Mutation> false_mutations) {
274281 if (connection_) {
282+ google::cloud::internal::OptionsSpan span (options_);
275283 return connection_->AsyncCheckAndMutateRow (
276284 app_profile_id_, table_name_, std::move (row_key), std::move (filter),
277285 std::move (true_mutations), std::move (false_mutations));
@@ -325,6 +333,7 @@ future<StatusOr<MutationBranch>> Table::AsyncCheckAndMutateRow(
325333// samples otherwise the result is an inconsistent set of sample row keys.
326334StatusOr<std::vector<bigtable::RowKeySample>> Table::SampleRows () {
327335 if (connection_) {
336+ google::cloud::internal::OptionsSpan span (options_);
328337 return connection_->SampleRows (app_profile_id_, table_name_);
329338 }
330339
@@ -370,6 +379,7 @@ StatusOr<std::vector<bigtable::RowKeySample>> Table::SampleRows() {
370379
371380future<StatusOr<std::vector<bigtable::RowKeySample>>> Table::AsyncSampleRows () {
372381 if (connection_) {
382+ google::cloud::internal::OptionsSpan span (options_);
373383 return connection_->AsyncSampleRows (app_profile_id_, table_name_);
374384 }
375385
@@ -385,6 +395,7 @@ StatusOr<Row> Table::ReadModifyWriteRowImpl(
385395 ::google::bigtable::v2::ReadModifyWriteRowRequest>(
386396 request, app_profile_id_, table_name_);
387397 if (connection_) {
398+ google::cloud::internal::OptionsSpan span (options_);
388399 return connection_->ReadModifyWriteRow (std::move (request));
389400 }
390401
@@ -406,6 +417,7 @@ future<StatusOr<Row>> Table::AsyncReadModifyWriteRowImpl(
406417 ::google::bigtable::v2::ReadModifyWriteRowRequest>(
407418 request, app_profile_id_, table_name_);
408419 if (connection_) {
420+ google::cloud::internal::OptionsSpan span (options_);
409421 return connection_->AsyncReadModifyWriteRow (std::move (request));
410422 }
411423
@@ -435,6 +447,7 @@ future<StatusOr<Row>> Table::AsyncReadModifyWriteRowImpl(
435447future<StatusOr<std::pair<bool , Row>>> Table::AsyncReadRow (std::string row_key,
436448 Filter filter) {
437449 if (connection_) {
450+ google::cloud::internal::OptionsSpan span (options_);
438451 return connection_->AsyncReadRow (app_profile_id_, table_name_,
439452 std::move (row_key), std::move (filter));
440453 }
0 commit comments