rust/lance-namespace/README.md
Lance Namespace Core APIs for managing namespaces and tables.
This crate provides the core APIs and trait definitions for Lance namespaces, including:
LanceNamespace trait - The main interface for namespace operationsNote: For actual namespace implementations (REST, Directory, etc.), see the lance-namespace-impls crate.
The namespace API supports:
use lance_namespace::LanceNamespace;
// For implementations, use lance-namespace-impls:
// use lance_namespace_impls::connect;
// let namespace = connect("rest", properties).await?;
// let namespace = connect("dir", properties).await?;
// Then use the trait methods:
async fn example(namespace: &dyn LanceNamespace) {
// List tables in the namespace
let tables = namespace.list_tables(Default::default()).await;
}
For more information about Lance and its namespace system, see the Lance Namespace documentation.