Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit f24ac13

Browse files
chore: generate libraries at Fri Feb 27 15:46:31 UTC 2026
1 parent dbef287 commit f24ac13

1 file changed

Lines changed: 30 additions & 30 deletions

File tree

samples/preview-snippets/src/main/java/com/example/firestore/PipelineSnippets.java

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,64 +1167,64 @@ void minLogicalFunction() throws ExecutionException, InterruptedException {
11671167
void mapGetFunction() throws ExecutionException, InterruptedException {
11681168
// [START map_get]
11691169
Pipeline.Snapshot result =
1170-
firestore
1171-
.pipeline()
1172-
.collection("books")
1173-
.select(mapGet(field("awards"), "pulitzer").as("hasPulitzerAward"))
1174-
.execute()
1175-
.get();
1170+
firestore
1171+
.pipeline()
1172+
.collection("books")
1173+
.select(mapGet(field("awards"), "pulitzer").as("hasPulitzerAward"))
1174+
.execute()
1175+
.get();
11761176
// [END map_get]
11771177
System.out.println(result.getResults());
11781178
}
11791179

11801180
void mapSetFunction() throws ExecutionException, InterruptedException {
11811181
// [START map_set]
11821182
Pipeline.Snapshot result =
1183-
firestore
1184-
.pipeline()
1185-
.collection("books")
1186-
.select(mapSet(field("awards"), "pulitzer", true).as("awards"))
1187-
.execute()
1188-
.get();
1183+
firestore
1184+
.pipeline()
1185+
.collection("books")
1186+
.select(mapSet(field("awards"), "pulitzer", true).as("awards"))
1187+
.execute()
1188+
.get();
11891189
// [END map_set]
11901190
System.out.println(result.getResults());
11911191
}
11921192

11931193
void mapKeysFunction() throws ExecutionException, InterruptedException {
11941194
// [START map_keys]
11951195
Pipeline.Snapshot result =
1196-
firestore
1197-
.pipeline()
1198-
.collection("books")
1199-
.select(mapKeys(field("awards")).as("award_categories"))
1200-
.execute()
1201-
.get();
1196+
firestore
1197+
.pipeline()
1198+
.collection("books")
1199+
.select(mapKeys(field("awards")).as("award_categories"))
1200+
.execute()
1201+
.get();
12021202
// [END map_keys]
12031203
System.out.println(result.getResults());
12041204
}
12051205

12061206
void mapValuesFunction() throws ExecutionException, InterruptedException {
12071207
// [START map_values]
12081208
Pipeline.Snapshot result =
1209-
firestore
1210-
.pipeline()
1211-
.collection("books")
1212-
.select(mapValues(field("awards")).as("award_details"))
1213-
.execute()
1214-
.get();
1209+
firestore
1210+
.pipeline()
1211+
.collection("books")
1212+
.select(mapValues(field("awards")).as("award_details"))
1213+
.execute()
1214+
.get();
12151215
// [END map_values]
12161216
System.out.println(result.getResults());
12171217
}
12181218

12191219
void mapEntriesFunction() throws ExecutionException, InterruptedException {
12201220
// [START map_entries]
12211221
Pipeline.Snapshot result =
1222-
firestore
1223-
.pipeline()
1224-
.collection("books")
1225-
.select(mapEntries(field("awards")).as("awards_list"))
1226-
.execute()
1227-
.get();
1222+
firestore
1223+
.pipeline()
1224+
.collection("books")
1225+
.select(mapEntries(field("awards")).as("awards_list"))
1226+
.execute()
1227+
.get();
12281228
// [END map_entries]
12291229
System.out.println(result.getResults());
12301230
}

0 commit comments

Comments
 (0)