@minnowdb/core 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/block-format/block.js +254 -325
- package/dist/block-format/checksum.js +30 -52
- package/dist/block-format/codecs.js +112 -125
- package/dist/block-format/column.js +187 -205
- package/dist/block-format/index.js +5 -1
- package/dist/block-format/physical.js +371 -387
- package/dist/block-format/types.js +4 -1
- package/dist/block-format/unicode.js +30 -39
- package/dist/date-value.js +67 -78
- package/dist/engine/artifact-cache.js +106 -116
- package/dist/engine/batch.js +36 -44
- package/dist/engine/buffered-writer.js +156 -158
- package/dist/engine/byte-estimates.js +20 -22
- package/dist/engine/cache-limits.js +24 -25
- package/dist/engine/cancellation.js +5 -3
- package/dist/engine/catalog.js +64 -73
- package/dist/engine/client.js +715 -780
- package/dist/engine/database.js +15941 -19313
- package/dist/engine/defaults.js +104 -111
- package/dist/engine/errors.js +113 -128
- package/dist/engine/fts.js +233 -280
- package/dist/engine/group-index.js +287 -321
- package/dist/engine/index.js +23 -12
- package/dist/engine/join-index.js +177 -186
- package/dist/engine/keyed-live.js +168 -173
- package/dist/engine/live-api.js +0 -1
- package/dist/engine/live-equal.js +32 -37
- package/dist/engine/live.js +603 -647
- package/dist/engine/memory.js +109 -111
- package/dist/engine/optimizer.d.ts +19 -1
- package/dist/engine/optimizer.js +2633 -2934
- package/dist/engine/point-read.js +122 -182
- package/dist/engine/query-api.js +12 -3
- package/dist/engine/query-cache.js +61 -69
- package/dist/engine/query.d.ts +6 -0
- package/dist/engine/query.js +8503 -9980
- package/dist/engine/result-wire.js +221 -252
- package/dist/engine/schema-wire.js +97 -112
- package/dist/engine/schema.js +1099 -1254
- package/dist/engine/sort-keys.js +315 -389
- package/dist/engine/sql-domains.js +646 -769
- package/dist/engine/sql-driver.js +0 -1
- package/dist/engine/sql-functions.js +1031 -1125
- package/dist/engine/sql-json.js +199 -218
- package/dist/engine/sql-semantics.js +572 -639
- package/dist/engine/typed-live.js +271 -293
- package/dist/engine/vector.js +4484 -5145
- package/dist/engine/worker-host.d.ts +8 -63
- package/dist/engine/worker-host.js +28 -1130
- package/dist/engine/worker-indexeddb.d.ts +1 -0
- package/dist/engine/worker-indexeddb.js +3 -0
- package/dist/engine/worker-memory.d.ts +1 -0
- package/dist/engine/worker-memory.js +3 -0
- package/dist/engine/worker-opfs.d.ts +1 -0
- package/dist/engine/worker-opfs.js +3 -0
- package/dist/engine/worker-server.d.ts +93 -0
- package/dist/engine/worker-server.js +999 -0
- package/dist/engine/worker-store-indexeddb.d.ts +2 -0
- package/dist/engine/worker-store-indexeddb.js +11 -0
- package/dist/engine/worker-store-memory.d.ts +2 -0
- package/dist/engine/worker-store-memory.js +6 -0
- package/dist/engine/worker-store-opfs.d.ts +2 -0
- package/dist/engine/worker-store-opfs.js +9 -0
- package/dist/engine/worker.js +0 -12
- package/dist/engine/write-block-planner.js +93 -100
- package/dist/plan/index.js +15 -16
- package/dist/plan/model.d.ts +6 -0
- package/dist/plan/model.js +20 -27
- package/dist/storage/index.js +0 -12
- package/dist/storage/indexeddb.js +11776 -13171
- package/dist/storage/memory.js +1198 -1241
- package/dist/storage/opfs/files.js +238 -295
- package/dist/storage/opfs/index.js +9 -3
- package/dist/storage/opfs/leader.js +4386 -4856
- package/dist/storage/opfs/rpc.js +223 -259
- package/dist/storage/opfs/snapshot-ledger.js +219 -260
- package/dist/storage/opfs/store.js +884 -1003
- package/dist/storage/persistence.js +59 -74
- package/dist/storage/snapshot-stream.js +788 -826
- package/dist/storage/snapshot.js +36 -37
- package/dist/storage/toolkit/extents.js +444 -520
- package/dist/storage/toolkit/index.js +28 -29
- package/dist/storage/toolkit/record-core.js +5792 -6377
- package/dist/storage/toolkit/sync-file.js +34 -42
- package/dist/storage/toolkit/wal.js +92 -127
- package/dist/storage/toolkit/wire.js +232 -256
- package/dist/storage/types.js +2948 -3250
- package/dist/testing/block-store-conformance.js +1556 -1629
- package/dist/testing/index.js +310 -291
- package/dist/testing/opfs-shim.js +280 -312
- package/dist/testing/simulator.js +496 -534
- package/dist/testing/sqllogictest.js +425 -365
- package/dist/transactions/index.js +1464 -1712
- package/dist/worker-protocol/index.js +70 -69
- package/package.json +20 -2
package/dist/testing/index.js
CHANGED
|
@@ -1,293 +1,312 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const faultPoints = [
|
|
2
|
+
"beforeBlockWrite",
|
|
3
|
+
"afterBlockWrite",
|
|
4
|
+
"beforeBlockRead",
|
|
5
|
+
"afterBlockRead",
|
|
6
|
+
"beforeTransactionCommit",
|
|
7
|
+
"afterTransactionCommit"
|
|
8
8
|
];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
9
|
+
class FaultInjectingBlockStore {
|
|
10
|
+
inner;
|
|
11
|
+
inject;
|
|
12
|
+
constructor(inner, inject) {
|
|
13
|
+
this.inner = inner;
|
|
14
|
+
this.inject = inject;
|
|
15
|
+
}
|
|
16
|
+
getCatalogProbe() {
|
|
17
|
+
return this.inner.getCatalogProbe();
|
|
18
|
+
}
|
|
19
|
+
beginTransaction(input) {
|
|
20
|
+
return this.inner.beginTransaction(input);
|
|
21
|
+
}
|
|
22
|
+
async getBlock(id) {
|
|
23
|
+
await this.inject("beforeBlockRead");
|
|
24
|
+
const bytes = await this.inner.getBlock(id);
|
|
25
|
+
await this.inject("afterBlockRead");
|
|
26
|
+
return bytes;
|
|
27
|
+
}
|
|
28
|
+
async getBlocks(ids) {
|
|
29
|
+
await this.inject("beforeBlockRead");
|
|
30
|
+
const blocks = await this.inner.getBlocks(ids);
|
|
31
|
+
await this.inject("afterBlockRead");
|
|
32
|
+
return blocks;
|
|
33
|
+
}
|
|
34
|
+
async readManifestBlock(version, id) {
|
|
35
|
+
await this.inject("beforeBlockRead");
|
|
36
|
+
const bytes = await this.inner.readManifestBlock(version, id);
|
|
37
|
+
await this.inject("afterBlockRead");
|
|
38
|
+
return bytes;
|
|
39
|
+
}
|
|
40
|
+
hasManifestBlocks(version, ids) {
|
|
41
|
+
return this.inner.hasManifestBlocks(version, ids);
|
|
42
|
+
}
|
|
43
|
+
addTable(record, options) {
|
|
44
|
+
return this.inner.addTable(record, options);
|
|
45
|
+
}
|
|
46
|
+
getTable(id) {
|
|
47
|
+
return this.inner.getTable(id);
|
|
48
|
+
}
|
|
49
|
+
getTableByName(name) {
|
|
50
|
+
return this.inner.getTableByName(name);
|
|
51
|
+
}
|
|
52
|
+
listTables() {
|
|
53
|
+
return this.inner.listTables();
|
|
54
|
+
}
|
|
55
|
+
updateTable(id, expectedRevision, update) {
|
|
56
|
+
return this.inner.updateTable(id, expectedRevision, update);
|
|
57
|
+
}
|
|
58
|
+
removeTable(id, expectedRevision, options) {
|
|
59
|
+
return this.inner.removeTable(id, expectedRevision, options);
|
|
60
|
+
}
|
|
61
|
+
dropTable(input) {
|
|
62
|
+
return this.inner.dropTable(input);
|
|
63
|
+
}
|
|
64
|
+
dropTableColumn(input) {
|
|
65
|
+
return this.inner.dropTableColumn(input);
|
|
66
|
+
}
|
|
67
|
+
getSegment(id) {
|
|
68
|
+
return this.inner.getSegment(id);
|
|
69
|
+
}
|
|
70
|
+
listSegmentPage(afterId, limit) {
|
|
71
|
+
return this.inner.listSegmentPage(afterId, limit);
|
|
72
|
+
}
|
|
73
|
+
listTableSegmentPage(tableId, afterId, limit) {
|
|
74
|
+
return this.inner.listTableSegmentPage(tableId, afterId, limit);
|
|
75
|
+
}
|
|
76
|
+
removeAbortedSegment(id, expectedTransactionId) {
|
|
77
|
+
return this.inner.removeAbortedSegment(id, expectedTransactionId);
|
|
78
|
+
}
|
|
79
|
+
adoptAbortedSegment(input) {
|
|
80
|
+
return this.inner.adoptAbortedSegment(input);
|
|
81
|
+
}
|
|
82
|
+
reserveRowIds(tableId, count) {
|
|
83
|
+
return this.inner.reserveRowIds(tableId, count);
|
|
84
|
+
}
|
|
85
|
+
reserveAutoIncrement(tableId, columnId, count, atLeast) {
|
|
86
|
+
return this.inner.reserveAutoIncrement(tableId, columnId, count, atLeast);
|
|
87
|
+
}
|
|
88
|
+
writeFtsBase(tableId, columnId, input) {
|
|
89
|
+
return this.inner.writeFtsBase(tableId, columnId, input);
|
|
90
|
+
}
|
|
91
|
+
beginFtsBaseBuild(input) {
|
|
92
|
+
return this.inner.beginFtsBaseBuild(input);
|
|
93
|
+
}
|
|
94
|
+
renewFtsBaseBuild(input) {
|
|
95
|
+
return this.inner.renewFtsBaseBuild(input);
|
|
96
|
+
}
|
|
97
|
+
writeFtsBaseBuildChunk(input) {
|
|
98
|
+
return this.inner.writeFtsBaseBuildChunk(input);
|
|
99
|
+
}
|
|
100
|
+
finishFtsBaseBuild(input) {
|
|
101
|
+
return this.inner.finishFtsBaseBuild(input);
|
|
102
|
+
}
|
|
103
|
+
abortFtsBaseBuild(input) {
|
|
104
|
+
return this.inner.abortFtsBaseBuild(input);
|
|
105
|
+
}
|
|
106
|
+
removeFtsColumn(tableId, columnId) {
|
|
107
|
+
return this.inner.removeFtsColumn(tableId, columnId);
|
|
108
|
+
}
|
|
109
|
+
readFtsCandidates(tableId, columnId, terms, upToVersion) {
|
|
110
|
+
return this.inner.readFtsCandidates(tableId, columnId, terms, upToVersion);
|
|
111
|
+
}
|
|
112
|
+
readFtsPostings(tableId, columnId, upToVersion, maxRowIds, maxRetainedBytes) {
|
|
113
|
+
return this.inner.readFtsPostings(tableId, columnId, upToVersion, maxRowIds, maxRetainedBytes);
|
|
114
|
+
}
|
|
115
|
+
getExistingUniqueKeys(tableId, keyTokens) {
|
|
116
|
+
return this.inner.getExistingUniqueKeys(tableId, keyTokens);
|
|
117
|
+
}
|
|
118
|
+
beginUniqueKeyBuild(input) {
|
|
119
|
+
return this.inner.beginUniqueKeyBuild(input);
|
|
120
|
+
}
|
|
121
|
+
getUniqueKeyBuild(buildId) {
|
|
122
|
+
return this.inner.getUniqueKeyBuild(buildId);
|
|
123
|
+
}
|
|
124
|
+
renewUniqueKeyBuild(input) {
|
|
125
|
+
return this.inner.renewUniqueKeyBuild(input);
|
|
126
|
+
}
|
|
127
|
+
appendUniqueKeyBuildChunk(input) {
|
|
128
|
+
return this.inner.appendUniqueKeyBuildChunk(input);
|
|
129
|
+
}
|
|
130
|
+
finishUniqueKeyBuild(input) {
|
|
131
|
+
return this.inner.finishUniqueKeyBuild(input);
|
|
132
|
+
}
|
|
133
|
+
abortUniqueKeyBuild(input) {
|
|
134
|
+
return this.inner.abortUniqueKeyBuild(input);
|
|
135
|
+
}
|
|
136
|
+
getCurrentManifestVersion() {
|
|
137
|
+
return this.inner.getCurrentManifestVersion();
|
|
138
|
+
}
|
|
139
|
+
getCurrentManifest() {
|
|
140
|
+
return this.inner.getCurrentManifest();
|
|
141
|
+
}
|
|
142
|
+
getManifest(version) {
|
|
143
|
+
return this.inner.getManifest(version);
|
|
144
|
+
}
|
|
145
|
+
listManifestBlockPage(input) {
|
|
146
|
+
return this.inner.listManifestBlockPage(input);
|
|
147
|
+
}
|
|
148
|
+
listRetiredManifestBlockPage(input) {
|
|
149
|
+
return this.inner.listRetiredManifestBlockPage(input);
|
|
150
|
+
}
|
|
151
|
+
listManifestPage(afterVersion, limit) {
|
|
152
|
+
return this.inner.listManifestPage(afterVersion, limit);
|
|
153
|
+
}
|
|
154
|
+
createTransaction(record) {
|
|
155
|
+
return this.inner.createTransaction(record);
|
|
156
|
+
}
|
|
157
|
+
getTransaction(id) {
|
|
158
|
+
return this.inner.getTransaction(id);
|
|
159
|
+
}
|
|
160
|
+
getTransactions(ids) {
|
|
161
|
+
return this.inner.getTransactions(ids);
|
|
162
|
+
}
|
|
163
|
+
listTransactionPage(afterId, limit) {
|
|
164
|
+
return this.inner.listTransactionPage(afterId, limit);
|
|
165
|
+
}
|
|
166
|
+
updateTransaction(id, expectedRevision, update) {
|
|
167
|
+
return this.inner.updateTransaction(id, expectedRevision, update);
|
|
168
|
+
}
|
|
169
|
+
renewTransaction(input) {
|
|
170
|
+
return this.inner.renewTransaction(input);
|
|
171
|
+
}
|
|
172
|
+
abortTransactionIfExpired(input) {
|
|
173
|
+
return this.inner.abortTransactionIfExpired(input);
|
|
174
|
+
}
|
|
175
|
+
async stageTransactionArtifacts(input) {
|
|
176
|
+
await this.inject("beforeBlockWrite");
|
|
177
|
+
const transaction = await this.inner.stageTransactionArtifacts(input);
|
|
178
|
+
await this.inject("afterBlockWrite");
|
|
179
|
+
return transaction;
|
|
180
|
+
}
|
|
181
|
+
rollbackTransactionArtifacts(input) {
|
|
182
|
+
return this.inner.rollbackTransactionArtifacts(input);
|
|
183
|
+
}
|
|
184
|
+
async commitTransaction(input) {
|
|
185
|
+
await this.inject("beforeTransactionCommit");
|
|
186
|
+
const manifest = await this.inner.commitTransaction(input);
|
|
187
|
+
await this.inject("afterTransactionCommit");
|
|
188
|
+
return manifest;
|
|
189
|
+
}
|
|
190
|
+
createLease(record) {
|
|
191
|
+
return this.inner.createLease(record);
|
|
192
|
+
}
|
|
193
|
+
getLease(id) {
|
|
194
|
+
return this.inner.getLease(id);
|
|
195
|
+
}
|
|
196
|
+
listLeases() {
|
|
197
|
+
return this.inner.listLeases();
|
|
198
|
+
}
|
|
199
|
+
listExpiredLeasePage(expiresAtCutoff, afterCursor, limit) {
|
|
200
|
+
return this.inner.listExpiredLeasePage(expiresAtCutoff, afterCursor, limit);
|
|
201
|
+
}
|
|
202
|
+
renewLease(input) {
|
|
203
|
+
return this.inner.renewLease(input);
|
|
204
|
+
}
|
|
205
|
+
removeLeaseIfExpired(id, expectedRevision, expiresAtCutoff) {
|
|
206
|
+
return this.inner.removeLeaseIfExpired(id, expectedRevision, expiresAtCutoff);
|
|
207
|
+
}
|
|
208
|
+
removeLease(input) {
|
|
209
|
+
return this.inner.removeLease(input);
|
|
210
|
+
}
|
|
211
|
+
createCompactionJob(record) {
|
|
212
|
+
return this.inner.createCompactionJob(record);
|
|
213
|
+
}
|
|
214
|
+
getCompactionJob(id) {
|
|
215
|
+
return this.inner.getCompactionJob(id);
|
|
216
|
+
}
|
|
217
|
+
listCompactionJobs(tableId) {
|
|
218
|
+
return this.inner.listCompactionJobs(tableId);
|
|
219
|
+
}
|
|
220
|
+
listCompactionJobPage(afterId, limit) {
|
|
221
|
+
return this.inner.listCompactionJobPage(afterId, limit);
|
|
222
|
+
}
|
|
223
|
+
updateCompactionJob(id, expectedRevision, update) {
|
|
224
|
+
return this.inner.updateCompactionJob(id, expectedRevision, update);
|
|
225
|
+
}
|
|
226
|
+
cancelCompactionJob(id, expectedRevision, cancelledAt) {
|
|
227
|
+
return this.inner.cancelCompactionJob(id, expectedRevision, cancelledAt);
|
|
228
|
+
}
|
|
229
|
+
removeCompactionJob(id) {
|
|
230
|
+
return this.inner.removeCompactionJob(id);
|
|
231
|
+
}
|
|
232
|
+
createGarbageCollectionJob(input) {
|
|
233
|
+
return this.inner.createGarbageCollectionJob(input);
|
|
234
|
+
}
|
|
235
|
+
updateGarbageCollectionPlanning(input) {
|
|
236
|
+
return this.inner.updateGarbageCollectionPlanning(input);
|
|
237
|
+
}
|
|
238
|
+
getGarbageCollectionJob(id) {
|
|
239
|
+
return this.inner.getGarbageCollectionJob(id);
|
|
240
|
+
}
|
|
241
|
+
listGarbageCollectionJobs() {
|
|
242
|
+
return this.inner.listGarbageCollectionJobs();
|
|
243
|
+
}
|
|
244
|
+
listGarbageCollectionJobPage(afterId, limit) {
|
|
245
|
+
return this.inner.listGarbageCollectionJobPage(afterId, limit);
|
|
246
|
+
}
|
|
247
|
+
runGarbageCollectionStep(input) {
|
|
248
|
+
return this.inner.runGarbageCollectionStep(input);
|
|
249
|
+
}
|
|
250
|
+
removePrunedManifestRecords(maxItems) {
|
|
251
|
+
return this.inner.removePrunedManifestRecords(maxItems);
|
|
252
|
+
}
|
|
253
|
+
removeGarbageCollectionJob(id) {
|
|
254
|
+
return this.inner.removeGarbageCollectionJob(id);
|
|
255
|
+
}
|
|
256
|
+
putTempRunPage(page) {
|
|
257
|
+
return this.inner.putTempRunPage(page);
|
|
258
|
+
}
|
|
259
|
+
getTempRunPage(ownerId, runId, pageIndex) {
|
|
260
|
+
return this.inner.getTempRunPage(ownerId, runId, pageIndex);
|
|
261
|
+
}
|
|
262
|
+
removeTempRun(ownerId, runId) {
|
|
263
|
+
return this.inner.removeTempRun(ownerId, runId);
|
|
264
|
+
}
|
|
265
|
+
removeTempOwner(ownerId) {
|
|
266
|
+
return this.inner.removeTempOwner(ownerId);
|
|
267
|
+
}
|
|
268
|
+
createTempOwner(record) {
|
|
269
|
+
return this.inner.createTempOwner(record);
|
|
270
|
+
}
|
|
271
|
+
getTempOwner(ownerId) {
|
|
272
|
+
return this.inner.getTempOwner(ownerId);
|
|
273
|
+
}
|
|
274
|
+
renewTempOwner(input) {
|
|
275
|
+
return this.inner.renewTempOwner(input);
|
|
276
|
+
}
|
|
277
|
+
removeTempOwnerIfExpired(ownerId, expiresAtCutoff) {
|
|
278
|
+
return this.inner.removeTempOwnerIfExpired(ownerId, expiresAtCutoff);
|
|
279
|
+
}
|
|
280
|
+
listTempOwnerIdsPage(afterOwnerId, limit) {
|
|
281
|
+
return this.inner.listTempOwnerIdsPage(afterOwnerId, limit);
|
|
282
|
+
}
|
|
283
|
+
listExpiredTempOwnerPage(expiresAtCutoff, afterCursor, limit) {
|
|
284
|
+
return this.inner.listExpiredTempOwnerPage(expiresAtCutoff, afterCursor, limit);
|
|
285
|
+
}
|
|
286
|
+
close() {
|
|
287
|
+
this.inner.close();
|
|
288
|
+
}
|
|
289
289
|
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
290
|
+
import { blockStoreConformanceCases, runBlockStoreConformance } from "./block-store-conformance.js";
|
|
291
|
+
import { MemoryOpfs } from "./opfs-shim.js";
|
|
292
|
+
import { DeterministicScheduler, generateSimulationPlan, parseSimulationPlan, runSimulation, scheduledBlockStore } from "./simulator.js";
|
|
293
|
+
import { SqlLogicFailure, SqlLogicParseError, md5Hex, parseSqlLogicTest, parseSqlLogicTestLines, renderSqlLogicValue, runSqlLogicTest } from "./sqllogictest.js";
|
|
294
|
+
export {
|
|
295
|
+
DeterministicScheduler,
|
|
296
|
+
FaultInjectingBlockStore,
|
|
297
|
+
MemoryOpfs,
|
|
298
|
+
SqlLogicFailure,
|
|
299
|
+
SqlLogicParseError,
|
|
300
|
+
blockStoreConformanceCases,
|
|
301
|
+
faultPoints,
|
|
302
|
+
generateSimulationPlan,
|
|
303
|
+
md5Hex,
|
|
304
|
+
parseSimulationPlan,
|
|
305
|
+
parseSqlLogicTest,
|
|
306
|
+
parseSqlLogicTestLines,
|
|
307
|
+
renderSqlLogicValue,
|
|
308
|
+
runBlockStoreConformance,
|
|
309
|
+
runSimulation,
|
|
310
|
+
runSqlLogicTest,
|
|
311
|
+
scheduledBlockStore
|
|
312
|
+
};
|