@lancedb/lancedb • Docs
@lancedb/lancedb / TableDeltaReader
Interface: TableDeltaReader¶
A streaming table-delta reader.
schema() is available before consuming the stream, including when the
range is empty. The stream yields Arrow record batches without
materializing the full result.
A reader owns one native cursor. It is single-use:
[Symbol.asyncIterator]() returns the same iterator, concurrent pulls are
serialized, and return() releases the native stream on early drop.
Extends¶
AsyncIterable<RecordBatch>.AsyncIterator<RecordBatch>
Methods¶
[asyncIterator]()¶
Returns¶
AsyncIterator<RecordBatch<any>, any, undefined>
Inherited from¶
AsyncIterable.[asyncIterator]
next()¶
Parameters¶
- ...args: [] | [
undefined]
Returns¶
Promise<IteratorResult<RecordBatch<any>, any>>
Inherited from¶
AsyncIterator.next
return()?¶
Parameters¶
- value?:
any
Returns¶
Promise<IteratorResult<RecordBatch<any>, any>>
Inherited from¶
AsyncIterator.return
schema()¶
Returns¶
Promise<Schema<any>>
throw()?¶
Parameters¶
- e?:
any
Returns¶
Promise<IteratorResult<RecordBatch<any>, any>>
Inherited from¶
AsyncIterator.throw