File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
firebase-firestore/src/test/java/com/google/firebase/firestore/local Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,11 @@ public void setMinCollectionSizeToAutoCreateIndex(int newMin) {
107
107
queryEngine .setMinCollectionSizeToAutoCreateIndex (newMin );
108
108
}
109
109
110
+ @ Override
111
+ public void setRelativeIndexReadCost (int newCost ) {
112
+ queryEngine .setRelativeIndexReadCost (newCost );
113
+ }
114
+
110
115
/**
111
116
* Returns the number of documents returned by the RemoteDocumentCache's `getAll()` API (since the
112
117
* last call to `resetCounts()`)
Original file line number Diff line number Diff line change @@ -238,6 +238,10 @@ protected void setMinCollectionSizeToAutoCreateIndex(int newMin) {
238
238
queryEngine .setMinCollectionSizeToAutoCreateIndex (newMin );
239
239
}
240
240
241
+ protected void setRelativeIndexReadCost (int newCost ) {
242
+ queryEngine .setRelativeIndexReadCost (newCost );
243
+ }
244
+
241
245
private void releaseTarget (int targetId ) {
242
246
localStore .releaseTarget (targetId );
243
247
}
You can’t perform that action at this time.
0 commit comments