mod bootstrap;
#[cfg(feature = "query")]
pub mod query;
#[cfg(feature = "sql")]
pub mod response;
mod session;
#[cfg(feature = "sql")]
pub mod sql;
pub use bootstrap::DatabaseBootstrapError;
#[cfg(feature = "query")]
pub use icydb_core::db::{DynamicQuery, RowProjectionOutput};
#[cfg(feature = "sql")]
pub use icydb_core::db::{
TrustedResumableUpdateContinuation, TrustedResumableUpdatePhase, TrustedResumableUpdateReceipt,
TrustedResumableUpdateRestartReason,
};
#[cfg(feature = "sql")]
pub use response::{ExecutionTrace, GroupedRow};
#[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};
pub use icydb_core::db::{
ConstraintValidationProgressDescription, DataStoreSnapshot, DeepIntegrityPage,
DeepIntegrityPageStatus, DynamicMutationResult, EntityCatalogCounts, EntityCatalogDescription,
EntityConstraintDescription, EntityFieldDescription, EntityIdentityDescription,
EntityIndexDescription, EntityRelationCardinality, EntityRelationDescription,
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, 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 = "query")]
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::{
SqlCompileAttribution, SqlExecutionAttribution, SqlOutputBlobAttribution,
SqlPureCoveringAttribution, SqlQueryCacheAttribution, SqlQueryExecutionAttribution,
SqlStructuralWorkAttribution,
};
#[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,
};