opencypher library
Core Cypher APIs for parsing, formatting, diagnostics, AST access, and in-memory execution.
This library exposes the lower-level API surface used by
package:cypher_dart/cypher_dart.dart.
Classes
- CallClause
-
A
CALLclause. - CreateClause
-
A
CREATEclause. - Cypher
- Entry point for parsing Cypher queries.
- CypherClause
- A base node type for Cypher clauses.
- CypherDiagnostic
- A parser or validation diagnostic with location metadata.
- CypherDocument
- A parsed Cypher document containing one or more statements.
- CypherEngine
- Executes parsed Cypher query statements against InMemoryGraphStore.
- CypherExecutionOptions
- Options for CypherEngine.execute.
- CypherExecutionResult
- The result of parsing and executing a Cypher query.
- CypherGraphNode
- An immutable graph node value used by InMemoryGraphStore.
- CypherGraphPath
- A path value containing ordered nodes and relationships.
- CypherGraphRelationship
- An immutable graph relationship value used by InMemoryGraphStore.
- CypherNode
- A base node type for all Cypher AST nodes.
-
CypherNodeVisitor<
T> - A visitor interface for traversing Cypher AST nodes.
- CypherParseOptions
- Configuration for Cypher.parse.
- CypherParseResult
- The result of parsing a Cypher query.
- CypherPrinter
- Formats parsed Cypher AST nodes into canonical query text.
- CypherQueryStatement
- A query statement composed of an ordered list of clauses.
- CypherStatement
- A top-level Cypher statement node.
- DeleteClause
-
A
DELETEorDETACH DELETEclause. - InMemoryGraphStore
- An in-memory graph store used by CypherEngine.execute.
- LimitClause
-
A
LIMITclause. - MatchClause
-
A
MATCHorOPTIONAL MATCHclause. - MergeClause
-
A
MERGEclause. - OrderByClause
-
An
ORDER BYclause. - RemoveClause
-
A
REMOVEclause. - ReturnClause
-
A
RETURNclause. - SetClause
-
A
SETclause. - SkipClause
-
A
SKIPclause. - UnionClause
-
A
UNIONorUNION ALLclause separating query parts. - UnwindClause
-
An
UNWINDclause. - WhereClause
-
A
WHEREclause. - WithClause
-
A
WITHclause.
Enums
- CypherDialect
- The parser behavior profile used while parsing Cypher text.
- CypherFeature
- Optional syntax extensions that can be enabled in strict mode.
- DiagnosticSeverity
- The severity level for a CypherDiagnostic.
Functions
-
cypherNodeToJson(
CypherNode node) → Map< String, Object?> -
Converts
nodeinto a JSON-serializable map.