Skip to main content

Module api_core

Module api_core 

Source
Expand description

API Core Layer – Business logic that is independent of the transport layer

It provides core functions such as query execution, transaction management, and Schema operations. It is reused by the embedded layer and the network service layer.

Re-exports§

pub use bulk_insert::BulkInsertConfig;
pub use bulk_insert::BulkInsertError;
pub use bulk_insert::BulkInsertItem;
pub use bulk_insert::BulkInsertItemType;
pub use bulk_insert::BulkInsertOperation;
pub use bulk_insert::BulkInsertOperationBuilder;
pub use bulk_insert::BulkInsertResult;
pub use cost_profile::cost_config_for_profile;
pub use cost_profile::resolve_space_cost_configs;
pub use error::CoreError;
pub use error::CoreResult;
pub use error::ExtendedErrorCode;
pub use query_api::QueryApi;
pub use schema_api::SchemaApi;
pub use session_command::classify_session_command;
pub use session_command::is_command_like;
pub use session_command::CommandParseError;
pub use session_command::SessionCommand;
pub use sync_api::SyncApi;
pub use transaction_api::TransactionApi;
pub use types::*;

Modules§

bulk_insert
Bulk Insert API - Core Layer
cost_profile
Canonical storage-profile to cost-model mapping.
error
API Core Layer Error Types
query_api
Query Execution API – Core Layer
schema_api
Schema Manipulation API - Core Layer
session_command
Shared classification of transaction and session commands.
sync_api
Sync Management API – Core Layer
transaction_api
Transaction Management API - Core Layer
types
API Core Layer Type Definitions

Structs§

ErrorInfo
Extended error message
ErrorSummary
Error Statistics Summary
MetricValue
metric
QueryMetrics
Lightweight query metrics
QueryProfile
Query the image
StatsManager
Statistics Manager

Enums§

ErrorType
Error type
MetricType
Type of indicator
QueryPhase
Query Execution Phase
QueryStatus
Query status