@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/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 setLsmWriteSpec(spec) {
324
- return await this.inner.setLsmWriteSpec(spec);
329
+ async enableMemWal(spec) {
330
+ return await this.inner.enableMemWal(spec);
325
331
  }
326
- async unsetLsmWriteSpec() {
327
- return await this.inner.unsetLsmWriteSpec();
332
+ async disableMemWal() {
333
+ return await this.inner.disableMemWal();
328
334
  }
329
- async getLsmWriteSpec() {
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.getLsmWriteSpec()) ?? undefined);
339
+ return ((await this.inner.getMemWalSpec()) ?? undefined);
334
340
  }
335
- async closeLsmWriters() {
336
- return await this.inner.closeLsmWriters();
341
+ async closeMemWalWriters() {
342
+ return await this.inner.closeMemWalWriters();
337
343
  }
338
- async flushLsm() {
339
- return await this.inner.flushLsm();
344
+ async flushMemWal() {
345
+ return await this.inner.flushMemWal();
340
346
  }
341
- async compactLsm() {
342
- return await this.inner.compactLsm();
347
+ async compactMemWal() {
348
+ return await this.inner.compactMemWal();
343
349
  }
344
- async checkpointLsm() {
345
- return await this.inner.checkpointLsm();
350
+ async checkpointMemWal() {
351
+ return await this.inner.checkpointMemWal();
346
352
  }
347
- async getLsmStats(includeGenerationRows = false) {
348
- return (await this.inner.getLsmStats(includeGenerationRows)) ?? undefined;
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.7",
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.7",
114
- "@lancedb/lancedb-linux-x64-gnu": "0.41.0-beta.7",
115
- "@lancedb/lancedb-linux-arm64-gnu": "0.41.0-beta.7",
116
- "@lancedb/lancedb-linux-x64-musl": "0.41.0-beta.7",
117
- "@lancedb/lancedb-linux-arm64-musl": "0.41.0-beta.7",
118
- "@lancedb/lancedb-win32-x64-msvc": "0.41.0-beta.7",
119
- "@lancedb/lancedb-win32-arm64-msvc": "0.41.0-beta.7"
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",