Skip to main content

Crate nodedb_types

Crate nodedb_types 

Source

Re-exports§

pub use approx::CountMinSketch;
pub use approx::HyperLogLog;
pub use approx::SpaceSaving;
pub use approx::TDigest;
pub use bbox::BoundingBox;
pub use bbox::geometry_bbox;
pub use collection::CollectionType;
pub use columnar::ColumnDef;
pub use columnar::ColumnType;
pub use columnar::ColumnarProfile;
pub use columnar::ColumnarSchema;
pub use columnar::DocumentMode;
pub use columnar::SchemaError;
pub use columnar::StrictSchema;
pub use config::TuningConfig;
pub use datetime::NdbDateTime;
pub use datetime::NdbDuration;
pub use document::Document;
pub use error::NodeDbError;
pub use filter::EdgeFilter;
pub use filter::MetadataFilter;
pub use graph::Direction;
pub use hnsw::HnswCheckpoint;
pub use hnsw::HnswNodeSnapshot;
pub use hnsw::HnswParams;
pub use id::CollectionId;
pub use id::DocumentId;
pub use id::EdgeId;
pub use id::NodeId;
pub use id::ShapeId;
pub use id::TenantId;
pub use json_msgpack::JsonValue;
pub use json_msgpack::json_from_msgpack;
pub use json_msgpack::json_to_msgpack;
pub use json_msgpack::json_to_msgpack_or_empty;
pub use json_msgpack::msgpack_to_json_string;
pub use json_msgpack::value_from_msgpack;
pub use json_msgpack::value_to_msgpack;
pub use kv::KV_DEFAULT_INLINE_THRESHOLD;
pub use kv::KvConfig;
pub use kv::KvTtlPolicy;
pub use kv::is_valid_kv_key_type;
pub use lsn::Lsn;
pub use multi_vector::MultiVector;
pub use multi_vector::MultiVectorError;
pub use multi_vector::MultiVectorScoreMode;
pub use namespace::Namespace;
pub use result::QueryResult;
pub use result::SearchResult;
pub use result::SubGraph;
pub use sparse_vector::SparseVector;
pub use sparse_vector::SparseVectorError;
pub use sync::compensation::CompensationHint;
pub use sync::shape::ShapeDefinition;
pub use sync::shape::ShapeType;
pub use sync::violation::ViolationType;
pub use sync::wire::SyncFrame;
pub use sync::wire::SyncMessageType;
pub use text_search::Bm25Params;
pub use text_search::QueryMode;
pub use text_search::TextSearchParams;
pub use typeguard::TypeGuardFieldDef;
pub use value::Value;
pub use vector_index_stats::VectorIndexQuantization;
pub use vector_index_stats::VectorIndexStats;
pub use vector_index_stats::VectorIndexType;
pub use vector_model::VectorModelEntry;
pub use vector_model::VectorModelMetadata;

Modules§

approx
bbox
Axis-aligned bounding box for 2D geometries (WGS-84).
collection
Collection type enum shared between Origin and Lite.
columnar
config
conversion
Conversions between serde_json::Value and nodedb_types::Value.
datetime
First-class DateTime and Duration types.
document
Document type: the universal data container for CRDT-backed records.
error
Standardized error types for the NodeDB public API.
filter
Query filter types for vector search and graph traversal.
geometry
GeoJSON-compatible geometry types.
graph
Shared graph types used by both Origin and Lite CSR engines.
hnsw
Shared HNSW types used by both Origin and Lite vector engines.
id
Core identifier types used across NodeDB Origin and Lite.
id_gen
First-class ID type generation and validation.
json_msgpack
kv
KV engine configuration types.
kv_parsing
Shared KV DDL parsing helpers used by both Origin (pgwire) and Lite.
lsn
Log Sequence Number — monotonically increasing identifier for WAL records.
multi_vector
Multi-vector type for ColBERT-style late interaction retrieval.
namespace
Storage namespace identifiers for the blob KV store.
protocol
Native binary wire protocol types.
result
Query result types returned by the NodeDb trait methods.
sparse_vector
Sparse vector type for learned sparse retrieval (SPLADE, SPLADE++).
sync
text_search
Text search parameter types shared across the NodeDb trait boundary.
timeseries
Shared timeseries types for multi-model database engines.
typeguard
Type guard definitions for schemaless collection write-time validation.
value
Dynamic value type for document fields and SQL parameters.
vector_distance
Shared scalar distance metric implementations.
vector_index_stats
Vector index statistics returned by SHOW VECTOR INDEX status ON collection.column.
vector_model
Per-column vector model metadata for embedding tracking and migration.