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 directory;
20pub mod files;
21pub mod identities;
22pub mod keys;
23pub mod mutations;
24pub mod objects;
25pub mod position;
26pub mod query;
27pub mod schema_input;
28pub mod time;
29pub mod writes;
30
31/* === Re-Exports === */
32
33pub use arrow::ArrowIpc;
34pub use catalog::{ObjectCatalog, ObjectDefinition, ObjectDefinitions, StoredObject};
35pub use data::{RecordInput, RecordWrite, StoredRecord, StoredRow, StreamInput, StreamWrite};
36pub use directory::{DirectoryCompletion, DirectoryEntry, DirectoryEvent, DirectoryRule, DirectorySelection};
37pub use files::{
38    ByteRange, CaptureConsistency, FileBatch, FileCompletion, FileEvent, FileHash, FileMetadata, FilePhase, FileProgress, FileReference,
39    FileSession, FileSource, FollowStart, StagedFile,
40};
41pub use identities::{IdentityKind, IdentitySelection, StoredIdentity};
42pub use keys::{ObjectKey, ObjectRetention, ObjectValue, PayloadEncoding, SchemaKey, check_length, invalid, object_key};
43pub use mutations::{FileProducer, MutationId, MutationWindow, StorageInfo};
44pub use objects::{ObjectEntry, ObjectPoint, ObjectReceipt, ObjectRevision, ObjectVersion, ObjectVersionToken};
45pub use position::{RecoveryPosition, StorageCursor, StoreHistory};
46pub use query::{
47    FileSelection, ObjectSelection, ObjectVersions, QueryCompletion, QueryOutput, RecordSelection, RowSlice, SchemaSelection, Source,
48    StreamSelection,
49};
50pub use schema_input::{SchemaInfo, SchemaInput};
51pub use writes::{BatchReceipt, DataBatch, WriteCompletion, WriteReceipt};
52
53/* === Imports === */
54
55// Standard Library Imports
56
57// Third Party Imports
58
59// Local Imports
60
61/* === Constants === */
62
63/* === Macros === */
64
65/* === Type Aliases === */
66
67/* === Structs === */
68
69/* === Enums === */
70
71/* === Traits === */
72
73/* === Implementations === */
74
75/* === Public Functions === */
76
77/* === Private Functions === */
78
79/* === Tests === */