@@ -238,7 +238,9 @@ private <RowT> ServerStreamingCallable<Query, RowT> createReadRowsBaseCallable(
238238 new RequestParamsExtractor <ReadRowsRequest >() {
239239 @ Override
240240 public Map <String , String > extract (ReadRowsRequest readRowsRequest ) {
241- return ImmutableMap .of ("table_name" , readRowsRequest .getTableName ());
241+ return ImmutableMap .of (
242+ "table_name" , readRowsRequest .getTableName (),
243+ "app_profile_id" , readRowsRequest .getAppProfileId ());
242244 }
243245 })
244246 .build (),
@@ -296,7 +298,9 @@ private UnaryCallable<String, List<KeyOffset>> createSampleRowKeysCallable() {
296298 @ Override
297299 public Map <String , String > extract (
298300 SampleRowKeysRequest sampleRowKeysRequest ) {
299- return ImmutableMap .of ("table_name" , sampleRowKeysRequest .getTableName ());
301+ return ImmutableMap .of (
302+ "table_name" , sampleRowKeysRequest .getTableName (),
303+ "app_profile_id" , sampleRowKeysRequest .getAppProfileId ());
300304 }
301305 })
302306 .build (),
@@ -328,7 +332,9 @@ private UnaryCallable<RowMutation, Void> createMutateRowCallable() {
328332 new RequestParamsExtractor <MutateRowRequest >() {
329333 @ Override
330334 public Map <String , String > extract (MutateRowRequest mutateRowRequest ) {
331- return ImmutableMap .of ("table_name" , mutateRowRequest .getTableName ());
335+ return ImmutableMap .of (
336+ "table_name" , mutateRowRequest .getTableName (),
337+ "app_profile_id" , mutateRowRequest .getAppProfileId ());
332338 }
333339 })
334340 .build (),
@@ -449,7 +455,9 @@ private UnaryCallable<MutateRowsRequest, Void> createMutateRowsBaseCallable() {
449455 new RequestParamsExtractor <MutateRowsRequest >() {
450456 @ Override
451457 public Map <String , String > extract (MutateRowsRequest mutateRowsRequest ) {
452- return ImmutableMap .of ("table_name" , mutateRowsRequest .getTableName ());
458+ return ImmutableMap .of (
459+ "table_name" , mutateRowsRequest .getTableName (),
460+ "app_profile_id" , mutateRowsRequest .getAppProfileId ());
453461 }
454462 })
455463 .build (),
@@ -490,7 +498,8 @@ private UnaryCallable<ConditionalRowMutation, Boolean> createCheckAndMutateRowCa
490498 public Map <String , String > extract (
491499 CheckAndMutateRowRequest checkAndMutateRowRequest ) {
492500 return ImmutableMap .of (
493- "table_name" , checkAndMutateRowRequest .getTableName ());
501+ "table_name" , checkAndMutateRowRequest .getTableName (),
502+ "app_profile_id" , checkAndMutateRowRequest .getAppProfileId ());
494503 }
495504 })
496505 .build (),
@@ -522,7 +531,9 @@ private UnaryCallable<ReadModifyWriteRow, Row> createReadModifyWriteRowCallable(
522531 new RequestParamsExtractor <ReadModifyWriteRowRequest >() {
523532 @ Override
524533 public Map <String , String > extract (ReadModifyWriteRowRequest request ) {
525- return ImmutableMap .of ("table_name" , request .getTableName ());
534+ return ImmutableMap .of (
535+ "table_name" , request .getTableName (),
536+ "app_profile_id" , request .getAppProfileId ());
526537 }
527538 })
528539 .build (),
0 commit comments