1 /// Enumerations
2 module memgraph.enums;
3 
4 /// An enum listing all the types as specified by the Bolt protocol.
5 enum Type {
6 	/// Represents the absence of a value.
7 	Null,
8 	/// Boolean true or false.
9 	Bool,
10 	/// 64-bit signed integer.
11 	Int,
12 	/// 64-bit floating point number.
13 	Double,
14 	/// UTF-8 encoded string.
15 	String,
16 	/// Ordered collection of values.
17 	List,
18 	/// Unordered, keyed collection of values.
19 	Map,
20 	/// A node in a Property Graph with optional properties and labels.
21 	Node,
22 	/// A directed, typed connection between two nodes in a Property Graph.
23 	/// Each relationship may have properties and always has an identity.
24 	Relationship,
25 	/// Like `Relationship`, but without identifiers for start and end nodes.
26 	/// Mainly used as a supporting type for `Path`. An unbound relationship
27 	/// owns its type string and property map.
28 	UnboundRelationship,
29 	/// The record of a directed walk through a Property Graph, consisting of a sequence of zero or more segments.
30 	Path,
31 	/// Date is defined with number of days since the Unix epoch.
32 	Date,
33 	/// Represents time with its time zone.
34 	/// Time is defined with nanoseconds since midnight.
35 	/// Timezone is defined with seconds from UTC.
36 	Time,
37 	/// Represents local time.
38 	/// Time is defined with nanoseconds since midnight.
39 	LocalTime,
40 	/// Represents date and time with its time zone.
41 	/// Date is defined with seconds since the adjusted Unix epoch.
42 	/// Time is defined with nanoseconds since midnight.
43 	/// Time zone is defined with minutes from UTC.
44 	DateTime,
45 	/// Represents date and time with its time zone.
46 	/// Date is defined with seconds since the adjusted Unix epoch.
47 	/// Time is defined with nanoseconds since midnight.
48 	/// Timezone is defined with an identifier for a specific time zone.
49 	DateTimeZoneId,
50 	/// Represents date and time without its time zone.
51 	/// Date is defined with seconds since the Unix epoch.
52 	/// Time is defined with nanoseconds since midnight.
53 	LocalDateTime,
54 	/// Represents a temporal amount which captures the difference in time
55 	/// between two instants.
56 	/// Duration is defined with months, days, seconds, and nanoseconds.
57 	/// Note: Duration can be negative.
58 	Duration,
59 	/// Represents a single location in 2-dimensional space.
60 	/// Contains SRID along with its x and y coordinates.
61 	Point2d,
62 	/// Represents a single location in 3-dimensional space.
63 	/// Contains SRID along with its x, y and z coordinates.
64 	Point3d
65 }