Skip to content

Commit a7c849b

Browse files
committed
update docs
1 parent dbef287 commit a7c849b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

  • google-cloud-firestore/src/main/java/com/google/cloud/firestore/pipeline/expressions

google-cloud-firestore/src/main/java/com/google/cloud/firestore/pipeline/expressions/Expression.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2050,6 +2050,9 @@ public static Expression mapSet(
20502050

20512051
/**
20522052
* Creates an expression that returns the keys of a map.
2053+
*
2054+
* <p>While the backend generally preserves insertion order, relying on the order of the output
2055+
* array is not guaranteed and should be avoided.
20532056
*
20542057
* @param mapExpr The expression representing the map to get the keys of.
20552058
* @return A new {@link Expression} representing the keys of the map.
@@ -2061,6 +2064,9 @@ public static Expression mapKeys(Expression mapExpr) {
20612064

20622065
/**
20632066
* Creates an expression that returns the keys of a map.
2067+
*
2068+
* <p>While the backend generally preserves insertion order, relying on the order of the output
2069+
* array is not guaranteed and should be avoided.
20642070
*
20652071
* @param mapField The map field to get the keys of.
20662072
* @return A new {@link Expression} representing the keys of the map.
@@ -2086,6 +2092,9 @@ public static Expression mapValues(Expression mapExpr) {
20862092

20872093
/**
20882094
* Creates an expression that returns the values of a map.
2095+
*
2096+
* <p>While the backend generally preserves insertion order, relying on the order of the output
2097+
* array is not guaranteed and should be avoided.
20892098
*
20902099
* @param mapField The map field to get the values of.
20912100
* @return A new {@link Expression} representing the values of the map.
@@ -2112,6 +2121,9 @@ public static Expression mapEntries(Expression mapExpr) {
21122121

21132122
/**
21142123
* Creates an expression that returns the entries of a map as an array of maps.
2124+
*
2125+
* <p>While the backend generally preserves insertion order, relying on the order of the output
2126+
* array is not guaranteed and should be avoided.
21152127
*
21162128
* @param mapField The map field to get the entries of.
21172129
* @return A new {@link Expression} representing the entries of the map.

0 commit comments

Comments
 (0)