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 @@ -102,6 +102,11 @@ public void setRelativeIndexReadCostPerDocument(double newCost) {
102
102
queryEngine .setRelativeIndexReadCostPerDocument (newCost );
103
103
}
104
104
105
+ @ Override
106
+ public void setMinCollectionSizeToAutoCreateIndex (int newMin ) {
107
+ queryEngine .setMinCollectionSizeToAutoCreateIndex (newMin );
108
+ }
109
+
105
110
/**
106
111
* Returns the number of documents returned by the RemoteDocumentCache's `getAll()` API (since the
107
112
* last call to `resetCounts()`)
Original file line number Diff line number Diff line change @@ -234,6 +234,10 @@ protected void setRelativeIndexReadCostPerDocument(double newCost) {
234
234
queryEngine .setRelativeIndexReadCostPerDocument (newCost );
235
235
}
236
236
237
+ protected void setMinCollectionSizeToAutoCreateIndex (int newMin ) {
238
+ queryEngine .setMinCollectionSizeToAutoCreateIndex (newMin );
239
+ }
240
+
237
241
private void releaseTarget (int targetId ) {
238
242
localStore .releaseTarget (targetId );
239
243
}
You can’t perform that action at this time.
0 commit comments