Skip to main content

velr_types/
lib.rs

1pub mod codec;
2pub mod cypher_order;
3pub mod error;
4pub mod list;
5pub mod property;
6pub mod render;
7pub mod spatial;
8pub mod storage;
9pub mod tag;
10pub mod temporal;
11pub mod temporal_arithmetic;
12pub mod vector;
13
14pub use codec::{decode_property_value, encode_property_value};
15pub use cypher_order::{storage_value_to_cypher_order_key, OrderKeyError};
16pub use error::{DecodeError, EncodeError};
17pub use list::{ListIter, ListValue};
18pub use property::{PropertyValue, PropertyValueRef};
19pub use render::{
20    blob_sql_literal, bool_blob_bytes, property_value_to_display_text, property_value_to_json_text,
21    storage_value_sql_literal, storage_value_to_display_text, storage_value_to_json_text,
22    RenderError, BOOL_FALSE_SQLITE_BLOB_LITERAL, BOOL_TRUE_SQLITE_BLOB_LITERAL,
23};
24pub use spatial::{
25    GeographyValue, GeometryShape, GeometryValue, LineStringValue, LinearRingValue, PointValue,
26    PolygonValue, Position,
27};
28pub use storage::{StorageValue, StorageValueRef};
29pub use temporal::{
30    current_temporal_value, temporal_component, CurrentTemporalKind, DateValue, DurationMapParts,
31    DurationValue, LocalDateTimeValue, LocalTimeValue, UtcOffsetValue, ZonedDateTimeValue,
32    ZonedTimeValue,
33};
34pub use temporal_arithmetic::{
35    temporal_add_property_values, temporal_div_property_values, temporal_mul_property_values,
36    temporal_sub_property_values,
37};
38pub use vector::{VectorElem, VectorIter, VectorStorage, VectorType, VectorValue};