mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-27 04:53:59 +00:00
Add `Table.openBlobFile` and `Table.openBlobFiles` for source-bearing SQL `blob_descriptor` results, matching the existing Rust and Python APIs. The TypeScript methods forward the descriptor to the shared Rust opener instead of reimplementing routing. That keeps the 10 MiB direct-read threshold, pinned snapshot identity, resolver refresh, and 503 single-shot proxy fallback identical to `fetchBlobFiles` and the other public Blob V2 entries. Descriptor fields remain the snake_case shape returned by Arrow/SQL; the wrapper converts unsigned 64-bit values to `bigint` at the NAPI boundary and returns `null` for null descriptors. Existing custom `Table` subclasses keep working through a default "not supported" implementation. Validation: - `pnpm tsc` - `pnpm lint` - `pnpm test --runInBand __test__/blob_open.test.ts __test__/blob_ranges.test.ts __test__/remote_blob_snapshot.test.ts` — 65 passed - focused Rust core tests for direct opens, threshold routing, snapshot preservation, and 503 fallback — passed The docs also update the TypeScript cross-row range table and example; `fetchBlobRanges` was already implemented but was still documented as unavailable.
11 KiB
11 KiB
@lancedb/lancedb • Docs
@lancedb/lancedb
Namespaces
Enumerations
Classes
- AutoQuery
- BlobFile
- BooleanQuery
- BoostQuery
- BranchContents
- Branches
- Catalog
- Connection
- DatabaseNames
- Expr
- HeaderProvider
- Index
- Job
- Listing
- MakeArrowTableOptions
- MatchQuery
- MaterializedView
- MergeInsertBuilder
- MultiMatchQuery
- NativeJsHeaderProvider
- OAuthHeaderProvider
- OAuthSession
- PermutationBuilder
- PhraseQuery
- Query
- QueryBase
- Scannable
- Session
- StaticHeaderProvider
- Table
- TableDelta
- TagContents
- Tags
- TakeQuery
- VectorColumnOptions
- VectorQuery
Interfaces
- AddColumnsResult
- AddColumnsSql
- AddDataOptions
- AddResult
- AlterColumnsResult
- BlobDescriptor
- BlobDescriptorSource
- BranchColumnChange
- BranchColumnSummary
- BranchDiff
- BranchIndexSummary
- BranchRowCountSummary
- CatalogOptions
- CherryPickError
- CherryPickPreview
- CherryPickResult
- CleanupOptions
- CleanupPlan
- CleanupResult
- ClientConfig
- ColumnAlteration
- ColumnOrdering
- CompactionOptions
- CompactionResult
- CompactionStats
- ConnectNamespaceOptions
- ConnectionOptions
- CreateBranchOptions
- CreateNamespaceOptions
- CreateNamespaceResponse
- CreateTableOptions
- DeleteResult
- DescribeNamespaceResponse
- DirNamespaceConfig
- DropColumnsResult
- DropNamespaceOptions
- DropNamespaceResponse
- ExecutableQuery
- FieldMetadataUpdate
- FragmentStatistics
- FragmentSummaryStats
- FtsOptions
- FtsToken
- FullTextQuery
- FullTextSearchOptions
- FunctionColumnAutoRefreshStatus
- FunctionColumnLastRefreshJob
- FunctionColumnStatus
- FunctionColumnVersionStatus
- FunctionErrorFragment
- FunctionErrorGroup
- FunctionErrorRecord
- FunctionErrorRowsOptions
- FunctionErrors
- FunctionErrorsOptions
- FunctionFailedRow
- FunctionProfile
- FunctionProfileOptions
- FunctionProfileWaitOptions
- FunctionProvenance
- FunctionProvenanceOptions
- FunctionQuarantineOptions
- FunctionRefreshPlanningConfig
- FunctionRefreshPodResources
- FunctionRetryPolicy
- FunctionValueProvenance
- HnswPqOptions
- HnswSqOptions
- IndexConfig
- IndexOptions
- IndexStatistics
- IvfFlatOptions
- IvfPqOptions
- IvfRqOptions
- JobEventsOptions
- JobFailureInfo
- JobInfo
- JobProgress
- JobWaitOptions
- ListingOptions
- MaterializedViewDefinition
- MemtableStats
- MergeResult
- NativeOAuthConfig
- OAuthConfig
- OpenTableOptions
- OptimizeOptions
- OptimizeStats
- PrewarmDataOptions
- PrewarmDataPlan
- PrewarmDataResult
- PrewarmPruningSummary
- QueryExecutionOptions
- RTEStats
- RTEWriteSpec
- RTreeOptions
- RefreshColumnJobResult
- RefreshColumnOptions
- RefreshColumnResult
- RefreshMaterializedViewResult
- RemovalStats
- RenameTableOptions
- RestNamespaceConfig
- RetryConfig
- RetryFailedOptions
- ScannableOptions
- SessionLogout
- SessionStatus
- ShuffleOptions
- SplitCalculatedOptions
- SplitHashOptions
- SplitRandomOptions
- SplitSequentialOptions
- SsTableStats
- TableDeltaReader
- TableDeltaTransaction
- TableNamesOptions
- TableShardStats
- TableStatistics
- TimeoutConfig
- TlsConfig
- TokenCacheOptions
- TokenResponse
- TokenizeOptions
- UpdateFieldMetadataResult
- UpdateOptions
- UpdateResult
- UpgradeColumnOptions
- Version
- ViewDescription
- WriteExecutionOptions
- WriteProgress
Type Aliases
- AnalyzePlanDistributedMetrics
- BaseTokenizer
- BlobData
- BlobInput
- BlobMode
- BlobOptions
- BlobRange
- BlobRangeRequest
- BlobReadOptions
- BlobUri
- Data
- DataLike
- DataTypeLike
- DeltaVersion
- ExprLike
- FieldLike
- FunctionProfileKind
- FunctionProfileStatus
- FunctionRecompute
- IntoSql
- IntoVector
- JobProgressCallback
- JobState
- MaterializedViewSelect
- MultiVector
- QueryParameterValue
- QueryParameters
- RecordBatchLike
- SchemaLike
- TableLike
- TokenizeTableOptions