Skip to main content

Module catalog

Module catalog 

Source
Expand description

Catalog abstractions for Krishiv.

This crate defines TableProvider, CatalogProvider, schema types, and column statistics. An in-memory reference implementation is included.

Re-exports§

pub use iceberg_rest::GenericRestCatalog;
pub use iceberg_rest::IcebergCatalogClient;
pub use iceberg_rest::IcebergTableId;
pub use iceberg_rest::LoadedIcebergTable;
pub use iceberg_rest::RestCatalogConfig;

Modules§

datafusion_bridge
DataFusion integration: wraps InMemoryCatalog as DataFusion catalog and schema providers so that Krishiv catalog tables can be used directly inside a DataFusion SessionContext.
iceberg_rest
Production-oriented client for the Apache Iceberg REST Catalog API.

Structs§

CatalogField
A single field in a catalog table schema.
ColumnStatistics
Optional statistics for a table column (or the whole table).
InMemoryCatalog
An in-memory catalog backed by a sorted map.
InMemorySchemaRegistry
An in-memory SchemaRegistry backed by a sorted map.
TableMetadata
Full metadata for a table: name, schema, and optional statistics.
TableSchema
The schema of a catalog table: an ordered list of fields.

Enums§

CatalogError
Errors produced by catalog operations.
FieldType
Logical field types supported by the Krishiv catalog.

Traits§

CatalogProvider
A registry of tables that can be listed, looked up, and registered.
SchemaRegistry
A registry that maps logical schema names to TableSchema definitions.
TableProvider
A resolved reference to a single table’s metadata.

Type Aliases§

CatalogResult
Convenience result alias for catalog operations.
LakehouseError
Alias used by the unified-catalog backends (J1-J4).