Skip to main content

Crate relate_model

Crate relate_model 

Source
Expand description

Relate data model types.

Defines the core value type system used throughout Relate, including the CypherValue enum that replaces Go’s interface{}.

Re-exports§

pub use schema::Constraint;
pub use schema::ConstraintClassification;
pub use schema::ConstraintType;
pub use schema::EnforcedLabelSite;
pub use schema::EntityKind;
pub use value::CypherValue;
pub use value::GeometryValue;
pub use value::VectorCoordKind;

Modules§

canonical_key
The exact INTEGER/FLOAT comparison rule — one rule, one home.
identifier
Shape-only Cypher identifier quoting for display text.
name_list
Multiset equality of Cypher name lists.
point
The point axis vocabulary: the two spellings of each coordinate (x/longitude, y/latitude, z/height) and the geographic-SRID predicate. One home for the alias fact, consulted by the point() input readers, the component accessors and the wire encoder.
schema
Schema constraint types shared by Relate and (historically) GraphStore.
serde_value
Serialization/deserialization support for CypherValue.
value
wire
Canonical JSON wire encoding shared by every Relate surface.

Structs§

IndexMap
A hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.

Enums§

VectorCoordToken
One token of a bracketed vector() coordinate string, as the shared tokenizer reads it.

Constants§

VECTOR_DIMENSION_RANGE
The CIP-216 vector dimension domain — the one bound the parser’s type annotation and the front end’s vector() construction check consult.

Functions§

dimension_range_text
The authored rendering of VECTOR_DIMENSION_RANGE, derived from its endpoints so moving the bound moves the message with it.