@lancedb/lancedb 0.41.0-beta.7 → 0.41.0-beta.8
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/index.d.ts +2 -2
- package/dist/merge.d.ts +5 -5
- package/dist/merge.js +6 -6
- package/dist/native.d.ts +90 -90
- package/dist/native.js +52 -52
- package/dist/query.d.ts +57 -11
- package/dist/query.js +135 -27
- package/dist/table.d.ts +45 -45
- package/dist/table.js +24 -18
- package/package.json +8 -8
package/dist/table.js
CHANGED
|
@@ -161,10 +161,16 @@ class LocalTable extends Table {
|
|
|
161
161
|
await this.inner.waitForIndex(indexNames, timeoutSeconds);
|
|
162
162
|
}
|
|
163
163
|
takeOffsets(offsets) {
|
|
164
|
-
return new query_1.TakeQuery(this.inner.takeOffsets(offsets)
|
|
164
|
+
return new query_1.TakeQuery(this.inner.takeOffsets(offsets), {
|
|
165
|
+
table: this.inner,
|
|
166
|
+
withRowId: false,
|
|
167
|
+
});
|
|
165
168
|
}
|
|
166
169
|
takeRowIds(rowIds) {
|
|
167
|
-
return new query_1.TakeQuery(this.inner.takeRowIds(rowIdsToBigInts(rowIds))
|
|
170
|
+
return new query_1.TakeQuery(this.inner.takeRowIds(rowIdsToBigInts(rowIds)), {
|
|
171
|
+
table: this.inner,
|
|
172
|
+
withRowId: false,
|
|
173
|
+
});
|
|
168
174
|
}
|
|
169
175
|
blobColumns() {
|
|
170
176
|
return this.inner.blobColumns();
|
|
@@ -320,32 +326,32 @@ class LocalTable extends Table {
|
|
|
320
326
|
const cols = typeof columns === "string" ? [columns] : columns;
|
|
321
327
|
return await this.inner.setUnenforcedPrimaryKey(cols);
|
|
322
328
|
}
|
|
323
|
-
async
|
|
324
|
-
return await this.inner.
|
|
329
|
+
async enableMemWal(spec) {
|
|
330
|
+
return await this.inner.enableMemWal(spec);
|
|
325
331
|
}
|
|
326
|
-
async
|
|
327
|
-
return await this.inner.
|
|
332
|
+
async disableMemWal() {
|
|
333
|
+
return await this.inner.disableMemWal();
|
|
328
334
|
}
|
|
329
|
-
async
|
|
335
|
+
async getMemWalSpec() {
|
|
330
336
|
// The native binding types `specType` as a plain `string`; narrow it back
|
|
331
337
|
// to the public union. The Rust `From` impl only ever emits one of the
|
|
332
338
|
// three valid values, so the cast is safe.
|
|
333
|
-
return ((await this.inner.
|
|
339
|
+
return ((await this.inner.getMemWalSpec()) ?? undefined);
|
|
334
340
|
}
|
|
335
|
-
async
|
|
336
|
-
return await this.inner.
|
|
341
|
+
async closeMemWalWriters() {
|
|
342
|
+
return await this.inner.closeMemWalWriters();
|
|
337
343
|
}
|
|
338
|
-
async
|
|
339
|
-
return await this.inner.
|
|
344
|
+
async flushMemWal() {
|
|
345
|
+
return await this.inner.flushMemWal();
|
|
340
346
|
}
|
|
341
|
-
async
|
|
342
|
-
return await this.inner.
|
|
347
|
+
async compactMemWal() {
|
|
348
|
+
return await this.inner.compactMemWal();
|
|
343
349
|
}
|
|
344
|
-
async
|
|
345
|
-
return await this.inner.
|
|
350
|
+
async checkpointMemWal() {
|
|
351
|
+
return await this.inner.checkpointMemWal();
|
|
346
352
|
}
|
|
347
|
-
async
|
|
348
|
-
return (await this.inner.
|
|
353
|
+
async getMemWalStats(includeSstableRows = false) {
|
|
354
|
+
return (await this.inner.getMemWalStats(includeSstableRows)) ?? undefined;
|
|
349
355
|
}
|
|
350
356
|
async version() {
|
|
351
357
|
return await this.inner.version();
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"ann"
|
|
12
12
|
],
|
|
13
13
|
"private": false,
|
|
14
|
-
"version": "0.41.0-beta.
|
|
14
|
+
"version": "0.41.0-beta.8",
|
|
15
15
|
"main": "dist/index.js",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": "./dist/index.js",
|
|
@@ -110,13 +110,13 @@
|
|
|
110
110
|
"optionalDependencies": {
|
|
111
111
|
"@huggingface/transformers": "3.0.2",
|
|
112
112
|
"openai": "4.29.2",
|
|
113
|
-
"@lancedb/lancedb-darwin-arm64": "0.41.0-beta.
|
|
114
|
-
"@lancedb/lancedb-linux-x64-gnu": "0.41.0-beta.
|
|
115
|
-
"@lancedb/lancedb-linux-arm64-gnu": "0.41.0-beta.
|
|
116
|
-
"@lancedb/lancedb-linux-x64-musl": "0.41.0-beta.
|
|
117
|
-
"@lancedb/lancedb-linux-arm64-musl": "0.41.0-beta.
|
|
118
|
-
"@lancedb/lancedb-win32-x64-msvc": "0.41.0-beta.
|
|
119
|
-
"@lancedb/lancedb-win32-arm64-msvc": "0.41.0-beta.
|
|
113
|
+
"@lancedb/lancedb-darwin-arm64": "0.41.0-beta.8",
|
|
114
|
+
"@lancedb/lancedb-linux-x64-gnu": "0.41.0-beta.8",
|
|
115
|
+
"@lancedb/lancedb-linux-arm64-gnu": "0.41.0-beta.8",
|
|
116
|
+
"@lancedb/lancedb-linux-x64-musl": "0.41.0-beta.8",
|
|
117
|
+
"@lancedb/lancedb-linux-arm64-musl": "0.41.0-beta.8",
|
|
118
|
+
"@lancedb/lancedb-win32-x64-msvc": "0.41.0-beta.8",
|
|
119
|
+
"@lancedb/lancedb-win32-arm64-msvc": "0.41.0-beta.8"
|
|
120
120
|
},
|
|
121
121
|
"peerDependencies": {
|
|
122
122
|
"@types/node": ">=22",
|