Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
distributed_index
command
Command distributed_index demonstrates the v0.2 distributed write and distributed index-build workflow:
|
Command distributed_index demonstrates the v0.2 distributed write and distributed index-build workflow: |
|
fts
command
Command fts builds an inverted (full-text search) index over a small document corpus and runs match and phrase queries against it.
|
Command fts builds an inverted (full-text search) index over a small document corpus and runs match and phrase queries against it. |
|
maintenance
command
Command maintenance demonstrates dataset maintenance: creating a dataset with several small appends (which leaves many small fragments), compacting them into fewer, larger fragments with CompactFiles, then reclaiming the storage held by old versions with CleanupOldVersions.
|
Command maintenance demonstrates dataset maintenance: creating a dataset with several small appends (which leaves many small fragments), compacting them into fewer, larger fragments with CompactFiles, then reclaiming the storage held by old versions with CleanupOldVersions. |
|
object_store
command
Command object_store writes and scans a Lance dataset on any object store.
|
Command object_store writes and scans a Lance dataset on any object store. |
|
observability
command
Command observability demonstrates lance-go's OpenTelemetry instrumentation.
|
Command observability demonstrates lance-go's OpenTelemetry instrumentation. |
|
plugincache
command
Command plugincache demonstrates the v0.2 cache building blocks: a Go lance.CacheBackend (the external index-cache store attached to a Session) and a lance.ObjectStoreCache (a byte-range cache for immutable file reads).
|
Command plugincache demonstrates the v0.2 cache building blocks: a Go lance.CacheBackend (the external index-cache store attached to a Session) and a lance.ObjectStoreCache (a byte-range cache for immutable file reads). |
|
schema_evolution
command
Command schema_evolution walks through Lance's schema evolution operations: adding a computed column with AddColumnsSQL, renaming and casting columns with AlterColumns, dropping a column with DropColumns, and joining in new columns with Merge.
|
Command schema_evolution walks through Lance's schema evolution operations: adding a computed column with AddColumnsSQL, renaming and casting columns with AlterColumns, dropping a column with DropColumns, and joining in new columns with Merge. |
|
sql_query
command
Command sql_query writes a small dataset and runs SQL queries over it with Dataset.SQL (DataFusion under the hood).
|
Command sql_query writes a small dataset and runs SQL queries over it with Dataset.SQL (DataFusion under the hood). |
|
take_blobs
command
Command take_blobs writes a dataset with a Lance blob column (a LargeBinary column tagged lance-encoding:blob=true), then reads blob bytes back with Dataset.TakeBlobs (whole blobs, sub-ranges, and cursor seeks) without materializing them into a scan.
|
Command take_blobs writes a dataset with a Lance blob column (a LargeBinary column tagged lance-encoding:blob=true), then reads blob bytes back with Dataset.TakeBlobs (whole blobs, sub-ranges, and cursor seeks) without materializing them into a scan. |
|
vector_search
command
Command vector_search builds an IVF_PQ vector index over a small dataset and runs nearest-neighbor searches, including a prefiltered one.
|
Command vector_search builds an IVF_PQ vector index over a small dataset and runs nearest-neighbor searches, including a prefiltered one. |
|
versioning
command
Command versioning demonstrates Lance's versioning features: every write commits a new version, old versions stay readable (time travel), and tags give versions stable names.
|
Command versioning demonstrates Lance's versioning features: every write commits a new version, old versions stay readable (time travel), and tags give versions stable names. |
|
write_scan
command
Command write_scan writes a Lance dataset to the local filesystem, scans it back in full, and runs a filtered + projected scan.
|
Command write_scan writes a Lance dataset to the local filesystem, scans it back in full, and runs a filtered + projected scan. |
|
internal
|
|
|
testutil
Package testutil holds test helpers shared across lance-go packages.
|
Package testutil holds test helpers shared across lance-go packages. |
|
Package lance provides Go bindings for the Lance columnar format, implemented as cgo bindings over the lance-go-ffi Rust static library (see rust/ and include/lance_go.h in this repository).
|
Package lance provides Go bindings for the Lance columnar format, implemented as cgo bindings over the lance-go-ffi Rust static library (see rust/ and include/lance_go.h in this repository). |
Click to show internal directories.
Click to hide internal directories.