mod bootstrap;
#[cfg(feature = "sql")]
pub mod query;
#[cfg(feature = "sql")]
pub mod response;
mod session;
#[cfg(feature = "sql")]
pub mod sql;
pub use bootstrap::DatabaseBootstrapError;
#[cfg(feature = "sql")]
pub use icydb_core::db::{
DynamicQuery, DynamicQueryResult, TrustedResumableUpdateContinuation,
TrustedResumableUpdatePhase, TrustedResumableUpdateReceipt,
TrustedResumableUpdateRestartReason,
};
#[cfg(feature = "sql")]
pub use response::{ExecutionTrace, GroupedRow, RowProjectionOutput};
#[cfg(feature = "sql")]
pub use session::SqlIntegrityError;
pub use session::{
DbSession, IntegrityCheckError, OutputRow, StructuralMutation, StructuralPatch,
TypedAdapterError, TypedBindingError, TypedEntityAdapter, TypedEntityBinding, TypedRowAdapter,
TypedRowError, TypedWrite, TypedWriteAdapter, TypedWriteError, WriteCell,
};
#[cfg(feature = "sql")]
#[doc(hidden)]
pub use session::{
SqlExecutionPerfAttribution, SqlPureCoveringPerfAttribution, SqlQueryPerfAttribution,
};
#[doc(hidden)]
pub use session::{
TypedFieldBindingRequest, TypedFieldType, TypedInputValue, TypedNamedType, TypedOutputValue,
};
pub use icydb_core::db::{
ConstraintValidationProgressDescription, DataStoreSnapshot, DeepIntegrityPage,
DeepIntegrityPageStatus, DynamicMutationResult, EntityCatalogCounts, EntityCatalogDescription,
EntityConstraintDescription, EntityFieldDescription, EntityIndexDescription,
EntityRelationCardinality, EntityRelationDescription, EntitySchemaCheckDescription,
EntitySchemaDescription, IndexStoreSnapshot, IntegrityAbortReceipt, IntegrityAbortStatus,
IntegrityAuthorityClass, IntegrityAuthorityDiagnostic, IntegrityCheckRequest,
IntegrityCheckResult, IntegrityEntityIdentity, IntegrityFinding, IntegrityFindingClass,
IntegrityFindingKind, IntegrityJobError, IntegrityJobId, IntegrityJobOwner,
IntegrityJobReceipt, IntegrityPendingTerminal, IntegrityPhase, IntegrityResourceDiagnostic,
IntegritySeverity, IntegritySubmissionKey, IntegrityTerminalOutcome, IntegrityVerifierFamily,
MemoryCatalogDescription, QuickIntegrityResult, QuickIntegrityStatus, SchemaApplicationStore,
SchemaApplicationTarget, SchemaChangeFailure, SchemaChangeJob, SchemaChangeJobId,
SchemaChangeOutcome, SchemaChangeProgress, SchemaChangeProgressStatus, SchemaChangeReceipt,
SchemaChangeValidationPhase, SchemaStoreSnapshot, StorageReport, StoreCatalogDescription,
};
#[cfg(feature = "sql-explain")]
pub use icydb_core::db::{
ExplainAggregateTerminalPlan, ExplainExecutionDescriptor, ExplainExecutionMode,
ExplainExecutionNodeDescriptor, ExplainExecutionNodeType, ExplainExecutionOrderingSource,
};
#[cfg(feature = "sql")]
pub use icydb_core::db::{QueryTracePlan, ReadIntentKind, TraceExecutionFamily, TraceReuseEvent};
pub use icydb_schema::{
EntitySourceKey, ExpectedAcceptedHead, ExpectedSchemaFingerprint, FieldSourceKey,
SchemaSubmissionKey, TargetDatabaseIdentity, TargetStoreIdentity,
};
#[doc(hidden)]
pub use icydb_core::db::{
CoercionId, CompareFieldsPredicate, CompareOp, ComparePredicate, CompositePrimaryKeyValue,
CompositePrimaryKeyValueError, Predicate, PrimaryKeyComponent, PrimaryKeyValue,
};
#[doc(hidden)]
pub use session::generated::execute_generated_storage_report;
#[cfg(all(feature = "sql", feature = "diagnostics"))]
#[doc(hidden)]
pub use icydb_core::db::{
DirectDataRowAttribution, GroupedCountAttribution, GroupedExecutionAttribution,
ScalarAggregateAttribution,
};
#[cfg(all(feature = "sql", feature = "diagnostics"))]
#[doc(hidden)]
pub use icydb_core::db::{RowCheckMetrics, with_row_check_metrics};
#[cfg(all(feature = "sql", feature = "diagnostics"))]
#[doc(hidden)]
pub use icydb_core::db::{
SqlCompileAttribution, SqlExecutionAttribution, SqlOutputBlobAttribution,
SqlPureCoveringAttribution, SqlQueryCacheAttribution, SqlQueryExecutionAttribution,
};
#[cfg(all(feature = "sql", feature = "diagnostics"))]
#[doc(hidden)]
pub use icydb_core::db::{
SqlProjectionMaterializationMetrics, with_sql_projection_materialization_metrics,
};
#[cfg(feature = "sql")]
#[doc(hidden)]
pub use icydb_core::db::{
SqlStatementShellSurface, SqlStatementSurface, sql_statement_dispatch,
sql_statement_entity_name, sql_statement_shell_surface, sql_statement_surface,
};
#[cfg(feature = "diagnostics")]
#[doc(hidden)]
pub use icydb_core::db::{StructuralReadMetrics, with_structural_read_metrics};