Skip to main content

use_nosql/
lib.rs

1#![forbid(unsafe_code)]
2#![doc = include_str!("../README.md")]
3
4//! Thin facade for primitive NoSQL data modeling crates.
5
6#[cfg(feature = "cache-store")]
7pub use use_cache_store as cache;
8#[cfg(feature = "change-event")]
9pub use use_change_event as change_event;
10#[cfg(feature = "consistency")]
11pub use use_consistency as consistency;
12#[cfg(feature = "document-path")]
13pub use use_document_path as document_path;
14#[cfg(feature = "document-store")]
15pub use use_document_store as document_store;
16#[cfg(feature = "graph-store")]
17pub use use_graph_store as graph_store;
18#[cfg(feature = "key-value-store")]
19pub use use_key_value_store as key_value;
20#[cfg(feature = "partition-key")]
21pub use use_partition_key as partition_key;
22#[cfg(feature = "search-index")]
23pub use use_search_index as search_index;
24#[cfg(feature = "timeseries-store")]
25pub use use_timeseries_store as timeseries;
26#[cfg(feature = "vector-store")]
27pub use use_vector_store as vector;
28#[cfg(feature = "wide-column")]
29pub use use_wide_column as wide_column;
30
31#[cfg(feature = "cache-store")]
32pub use use_cache_store::{
33    CacheEntry, CacheKey, CacheKeyBuilder, CacheNamespace, CacheStatus, CacheValue, EvictionPolicy,
34    Expiration, InvalidTtlError, Ttl,
35};
36#[cfg(feature = "change-event")]
37pub use use_change_event::{
38    ChangeCursor, ChangeEvent, ChangeEventId, ChangeEventKind, ChangeSequence, ChangedDocument,
39    ResumeToken,
40};
41#[cfg(feature = "consistency")]
42pub use use_consistency::{
43    ConsistencyLevel, DurabilityLevel, Quorum, ReadConcern, ReplicationFactor, WriteConcern,
44};
45#[cfg(feature = "document-path")]
46pub use use_document_path::{DocumentPath, FieldSelector, PathParseError, PathSegment};
47#[cfg(feature = "document-store")]
48pub use use_document_store::{
49    CollectionName, DocumentField, DocumentId, DocumentMetadata, DocumentPatch, DocumentRevision,
50    DocumentVersion, PatchOperation, PatchSet,
51};
52#[cfg(feature = "graph-store")]
53pub use use_graph_store::{
54    EdgeId, EdgeLabel, GraphEdge, GraphProperty, GraphVertex, PropertyKey, PropertyValue,
55    TraversalLabel, VertexId, VertexLabel,
56};
57#[cfg(feature = "key-value-store")]
58pub use use_key_value_store::{
59    BucketName, Key, KeyNamespace, KeyPattern, KeyPrefix, KeyRange, KeyValueEntry, Value,
60};
61#[cfg(feature = "partition-key")]
62pub use use_partition_key::{
63    CompositeKey, PartitionKey, PartitionStrategy, RoutingKey, ShardKey, SortKey,
64};
65#[cfg(feature = "search-index")]
66pub use use_search_index::{
67    IndexName, SearchAnalyzer, SearchDocumentId, SearchField, SearchFilter, SearchIndexDocument,
68    SearchQueryShape, SearchSort, SearchTerm,
69};
70#[cfg(feature = "timeseries-store")]
71pub use use_timeseries_store::{
72    AggregationWindow, MetricName, RetentionWindow, SamplingInterval, SeriesId, TimeSeriesPoint,
73    TimeSeriesValue, Timestamp,
74};
75#[cfg(feature = "vector-store")]
76pub use use_vector_store::{
77    Embedding, InvalidDimensionError, SimilarityMetric, VectorCollectionName, VectorDimension,
78    VectorId, VectorMetadata, VectorRecord,
79};
80#[cfg(feature = "wide-column")]
81pub use use_wide_column::{
82    ClusteringKey, ColumnFamily, ColumnFamilyName, ColumnName, ColumnValue, KeyspaceName,
83    PartitionKey as WideColumnPartitionKey, WideColumnRow, WideTableName,
84};