Skip to main content

harmos_domain/model/storage/
mod.rs

1/* ***
2 *
3 * Harmos
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 *
7 * ***
8 */
9
10// Storage Values: Cursors, Keys, Selections, Query Plans, Files, Objects And
11// Write Batches. The Runtime Owns Admission, Persistence And Execution.
12
13/* === Modules === */
14
15pub mod arrow;
16pub mod catalog;
17pub mod codec;
18pub mod data;
19pub mod files;
20pub mod identities;
21pub mod keys;
22pub mod mutations;
23pub mod objects;
24pub mod position;
25pub mod query;
26pub mod schema_input;
27pub mod time;
28pub mod writes;
29
30/* === Re-Exports === */
31
32pub use arrow::ArrowIpc;
33pub use catalog::{ObjectCatalog, ObjectDefinition, ObjectDefinitions, StoredObject};
34pub use data::{RecordInput, RecordWrite, StoredRecord, StoredRow, StreamInput, StreamWrite};
35pub use files::{ByteRange, FileBatch, FileCompletion, FileMetadata, FilePhase, FileProgress, FileReference, FileSession, StagedFile};
36pub use identities::{IdentityKind, IdentitySelection, StoredIdentity};
37pub use keys::{ObjectKey, ObjectRetention, ObjectValue, PayloadEncoding, SchemaKey, check_length, invalid, object_key};
38pub use mutations::{FileProducer, MutationId, MutationWindow, StorageInfo};
39pub use objects::{ObjectEntry, ObjectPoint, ObjectReceipt, ObjectRevision, ObjectVersion, ObjectVersionToken};
40pub use position::{RecoveryPosition, StorageCursor, StoreHistory};
41pub use query::{
42    FileSelection, ObjectSelection, ObjectVersions, QueryCompletion, QueryOutput, RecordSelection, RowSlice, SchemaSelection, Source,
43    StreamSelection,
44};
45pub use schema_input::{SchemaInfo, SchemaInput};
46pub use writes::{BatchReceipt, DataBatch, WriteCompletion, WriteReceipt};
47
48/* === Imports === */
49
50// Standard Library Imports
51
52// Third Party Imports
53
54// Local Imports
55
56/* === Constants === */
57
58/* === Macros === */
59
60/* === Type Aliases === */
61
62/* === Structs === */
63
64/* === Enums === */
65
66/* === Traits === */
67
68/* === Implementations === */
69
70/* === Public Functions === */
71
72/* === Private Functions === */
73
74/* === Tests === */