DEV Community

Aadil Bashir
Aadil Bashir

Posted on

Data Types in Apache Age

In Cypher, the term "null" represents the absence or undefined nature of values. Its behavior sets it apart from other values in both comparisons and expressions. Notably, null is distinct from other data, as it does not equate to "null."

In the numerical realm of -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807, the integer type embraces whole numbers.

The float type stands as an IEEE-754-compliant variable-precision numeric category, showcasing values like infinity and NaN that are distinct.

For precise calculations involving extensive digits, like financial amounts, the numeric type serves as the repository.

Three potential states exist for the boolean type: true, false, and the "unknown" represented by null.

Strings in Agtype support escape sequences such as t, n, and Unicode characters (uXXXX).

Navigate through composite data formats like lists and maps when working with Cypher.

Lists, encompassing multiple elements including null, are formed using square brackets.

Target specific list elements through square brackets and index numbers.

Maps are comprised of key-value pairs and constructed using curly brackets.

Access map components via key names and dot notation.

Incorporate nested lists, composite types, and maps within maps in a hierarchical manner.

Cypher identifies objects through distinct graph IDs (graphids) allocated to each.

The foundational constituents of a graph, known as vertices, can be assigned labels.

Vertices have both incoming and outgoing edges linked to them.

Edges, which require vertices to connect, are labeled pathways.

Vertices and edges can be associated with attribute values known as properties, identified by string names.

Top comments (0)