mod bootstrap;
pub mod query;
pub mod response;
mod session;
#[cfg(feature = "sql")]
pub mod sql;
pub use bootstrap::DatabaseBootstrapError;
#[cfg(feature = "sql")]
pub use icydb_core::db::{
TrustedResumableUpdateContinuation, TrustedResumableUpdatePhase, TrustedResumableUpdateReceipt,
TrustedResumableUpdateRestartReason,
};
pub use response::{ExecutionTrace, GroupedRow, PagedResponse, Response, RowProjectionOutput};
pub use session::{
DbSession, FluentLoadQuery, MutationMode, PartialWindowLoadQuery, SessionDeleteQuery,
StructuralPatch,
};
#[cfg(feature = "sql")]
#[doc(hidden)]
pub use session::{
SqlExecutionPerfAttribution, SqlPureCoveringPerfAttribution, SqlQueryPerfAttribution,
};
pub use icydb_core::db::{
AdminBatchRequest, DataStoreSnapshot, EntityCatalogCounts, EntityCatalogDescription,
EntityFieldDescription, EntityIndexDescription, EntityRelationCardinality,
EntityRelationDescription, EntitySchemaCheckDescription, EntitySchemaDescription,
ExplainAggregateTerminalPlan, ExplainExecutionDescriptor, ExplainExecutionMode,
ExplainExecutionNodeDescriptor, ExplainExecutionNodeType, ExplainExecutionOrderingSource,
IndexStoreSnapshot, MemoryCatalogDescription, QueryTracePlan, ReadIntentKind, Row,
SchemaStoreSnapshot, StorageReport, StoreCatalogDescription, TraceExecutionFamily,
TraceReuseEvent,
};
#[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(feature = "diagnostics")]
#[doc(hidden)]
pub use icydb_core::db::{
DirectDataRowAttribution, FluentTerminalExecutionAttribution, GroupedCountAttribution,
GroupedExecutionAttribution, QueryExecutionAttribution, ScalarAggregateAttribution,
};
#[cfg(feature = "diagnostics")]
#[doc(hidden)]
pub use icydb_core::db::{
RowCheckMetrics, StructuralReadMetrics, with_row_check_metrics, with_structural_read_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,
};