@@ -238,7 +238,9 @@ private <RowT> ServerStreamingCallable<Query, RowT> createReadRowsBaseCallable(
238
238
new RequestParamsExtractor <ReadRowsRequest >() {
239
239
@ Override
240
240
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 ());
242
244
}
243
245
})
244
246
.build (),
@@ -296,7 +298,9 @@ private UnaryCallable<String, List<KeyOffset>> createSampleRowKeysCallable() {
296
298
@ Override
297
299
public Map <String , String > extract (
298
300
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 ());
300
304
}
301
305
})
302
306
.build (),
@@ -328,7 +332,9 @@ private UnaryCallable<RowMutation, Void> createMutateRowCallable() {
328
332
new RequestParamsExtractor <MutateRowRequest >() {
329
333
@ Override
330
334
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 ());
332
338
}
333
339
})
334
340
.build (),
@@ -449,7 +455,9 @@ private UnaryCallable<MutateRowsRequest, Void> createMutateRowsBaseCallable() {
449
455
new RequestParamsExtractor <MutateRowsRequest >() {
450
456
@ Override
451
457
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 ());
453
461
}
454
462
})
455
463
.build (),
@@ -490,7 +498,8 @@ private UnaryCallable<ConditionalRowMutation, Boolean> createCheckAndMutateRowCa
490
498
public Map <String , String > extract (
491
499
CheckAndMutateRowRequest checkAndMutateRowRequest ) {
492
500
return ImmutableMap .of (
493
- "table_name" , checkAndMutateRowRequest .getTableName ());
501
+ "table_name" , checkAndMutateRowRequest .getTableName (),
502
+ "app_profile_id" , checkAndMutateRowRequest .getAppProfileId ());
494
503
}
495
504
})
496
505
.build (),
@@ -522,7 +531,9 @@ private UnaryCallable<ReadModifyWriteRow, Row> createReadModifyWriteRowCallable(
522
531
new RequestParamsExtractor <ReadModifyWriteRowRequest >() {
523
532
@ Override
524
533
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 ());
526
537
}
527
538
})
528
539
.build (),
0 commit comments