Skip to main content

Crate radixdb_core

Crate radixdb_core 

Source
Expand description

Canonical value, identity, and shared contracts used by RadixDB crates.

This is a private implementation crate, not an application dependency. External embedded applications use the public types re-exported by radixdb; lower crates use this owner directly to keep type identity.

Re-exports§

pub use compact_arc::CompactArc;
pub use compact_arc::CompactArcDrop;
pub use compact_vec::CompactVec;
pub use cow_btree::CowBTree;
pub use error::Error;
pub use error::ErrorCategory;
pub use error::ErrorCode;
pub use error::ErrorContext;
pub use error::NavigationErrorCode;
pub use error::Result;
pub use form_descriptor::EditorKind;
pub use form_descriptor::FormFieldDescriptor;
pub use form_descriptor::ReferenceSelector;
pub use form_descriptor::TableFormDescriptor;
pub use i64_map::I64Map;
pub use i64_map::I64Set;
pub use identity::SchemaColumnId;
pub use identity::SchemaTableId;
pub use params::ParamVec;
pub use row::Row;
pub use row::RowColumnRef;
pub use row::RowIter;
pub use row::RowIterMut;
pub use row::RowSchema;
pub use row_vec::RowIdVec;
pub use row_vec::RowVec;
pub use schema::ForeignKeyConstraint;
pub use schema::ReferenceDescriptor;
pub use schema::ReferenceTargetKey;
pub use schema::Schema;
pub use schema::SchemaBuilder;
pub use schema::SchemaColumn;
pub use schema::SchemaConstraint;
pub use schema::SchemaConstraintKind;
pub use schema::MAX_CONSTRAINT_NAME_BYTES;
pub use schema_descriptor::canonical_fingerprint;
pub use schema_descriptor::ColumnDescriptor;
pub use schema_descriptor::ConstraintDefinition;
pub use schema_descriptor::ConstraintDescriptor;
pub use schema_descriptor::DataTypeDescriptor;
pub use schema_descriptor::DatabaseDescriptor;
pub use schema_descriptor::DescriptorEnvelope;
pub use schema_descriptor::DescriptorError;
pub use schema_descriptor::DescriptorKind;
pub use schema_descriptor::ForeignKeyActionDescriptor;
pub use schema_descriptor::IndexDescriptor;
pub use schema_descriptor::ResultColumnDescriptor;
pub use schema_descriptor::TableDescriptor;
pub use schema_descriptor::ViewDescriptor;
pub use schema_descriptor::SCHEMA_DESCRIPTOR_VERSION;
pub use smart_string::SmartString;
pub use string_map::StringMap;
pub use string_map::StringSet;
pub use types::DataType;
pub use types::ExternalTypeRef;
pub use types::ForeignKeyAction;
pub use types::IndexEntry;
pub use types::IndexType;
pub use types::IsolationLevel;
pub use types::LogicalTypeRef;
pub use types::Operator;
pub use unicode::canonical_unicode_lowercase_nfc;
pub use unicode::canonical_unicode_nfc;
pub use value::parse_timestamp;
pub use value::ExternalValueRef;
pub use value::Value;
pub use value::NULL_VALUE;

Modules§

checksum
Shared checksum primitives without format-owner semantics.
compact_arc
CompactArc - An Arc variant with thin pointers for DSTs
compact_vec
CompactVec - A 16-byte vector optimized for Row storage
cow_btree
Copy-on-Write B-tree for i64 keys
error
Canonical error types for RadixDB
form_descriptor
Language-neutral schema/form projection for administration clients.
i64_map
High-performance i64 map and set shared by lower-level RadixDB crates.
identity
Runtime identities bound to one schema generation.
params
Neutral execution parameter containers.
row
Row type for RadixDB - a collection of column values
row_vec
RowVec - Cached row vector for zero-allocation table scans
schema
Schema types for RadixDB - table and column definitions
schema_descriptor
smart_string
SmartString - A 16-byte string type with inline small string optimization
string_map
Neutral string-keyed hash containers.
time_compat
Authoritative wall-clock and deadline types shared by RadixDB crates.
types
Canonical primitive type definitions for RadixDB
unicode
Small Unicode primitives shared by format-owning crates.
value
Value type for RadixDB - runtime values with type information
vector
Allocation-free vector distance primitives shared by storage and SQL.

Macros§

compact_vec
Creates a CompactVec containing the arguments.
row
Macro for creating rows conveniently

Type Aliases§

ValueMap
Hash map for canonical values with randomized hashing.
ValueSet
Hash set for canonical values with randomized hashing.