Uses of Package
org.neo4j.cypherdsl.core
Package
Description
Contains an internal DSL for creating Cypher.
Provides an optional integration with the Neo4j Java driver and Project Reactor / Reactive streams.
A renderer for
statements
in the simplest form possible.-
ClassDescriptionAn element with an alias.An aliased expression, that deals with named expressions when accepting visitors.The
*
.See CaseExpression.Specification for a renderable, complete CASE statementHelper class to collect `when` expressions and createCaseWhenThen
instances when the `then` is provided.This is a marker interface for top level clauses.Implementing COLLECT subqueriesShared interface for all conditions.Added for supporting the Neo5j parser.Entrypoint for building procedure calls.Interface to allow creating an expression instead of a statement from an ongoing definition.Used to provide arguments to procedure calls.Used to yield procedure result fields.A step exposing aExposesCreate.create(PatternElement...)
method.A step exposing a severalusing
methods that are provide entry points of adding advanced query hints.Exposes methods to configure aLOAD CSV
clause.A step exposing logical operatorsand
andor
after awhere
clause.A step exposing aExposesMatch.match(PatternElement...)
method.A step exposing aExposesMerge.merge(PatternElement...)
method.This interface is used to derive new relationship patterns from existingrelationships
orchains of relationships
with new lengths (min, max or unbounded) configured.A container that exposes methods to add properties with values to nodes or relationships.A marker interface for things that expose methods to create new relationships to other elements.Return part of a statement.This exposes a call method taking in a statement that represents a valid, correlated subquery.Subqueries can be valid without any further return statement (i.e when the subquery is a void (unit) one, meaning it doesn't yield or return its results.A step exposing aExposesUnwind.unwind(Expression...)
,ExposesUnwind.unwind(Expression)
,ExposesUnwind.unwind(String)
and method.A step exposing a severalwhere
methods that are provide entry points of adding conditions.A step that exposes theWITH
clause.An expression can be used in many places, i.e.Deprecated.Represents an adapter that allows to turn foreign expressions into Cypher-DSLexpressions
.Defines metadata for a function.Visitable implementing hints.This interface represents an element that can be for example an identifiable part of theWITH
clause.Helper class, only for internal use.Represents a label expression, usable inCypher.node(LabelExpression)
.Type of this expressionAllows to add a where clause into the definition of the list.Provides the final step of defining a list comprehension.ListComprehension.OngoingDefinitionWithVariable.in(Expression)
must be used to define the source list.Represents a list expression as in[expression1, expression2, ..., expressionN]
Represents a range literal applied to another expression.Represents a literal with an optional content.An instance of this interface will be provided after pointing the database to a validURI
of a CSV resource.A dedicated map expression.Represents a map projection as described here.An action or event that happens after aMERGE
clause.The type of the action.A named thing exposesNamed.getSymbolicName()
, making the thing identifiable.Represents a named path.Partial path that has a name (p =
).Partial path that has a name (p =
) and is based on a graph algorithm function.This annotation provides information which Neo4j version is required to be able to successfully run a query containing a fragment generated via a method annotated with it.See NodePattern.This is the base class for all nodes.Expression for a single Node label.A binary operation.An operator.Operator
type.Represents a named parameter inside a Cypher statement.Deprecated, for removal: This API element is subject to removal in a future version.UseQuantifiedPathPattern
instead.Provides the final step of defining a pattern comprehension.Allows to add a where clause into the definition of the pattern.Intermediate step that allows expressing additional, logical operators.See PatternElement.Deprecated.Allows to define the source of the list predicate.Deprecated.Allows to specify the where condition for the list based predicate.Represents the properties of anode
or arelationship
when used as part of the whole pattern (inside aMATCH
,CREATE
orMERGE
clause as{p1: v1, p2: v2, pn: vn}
.A property.A container having properties.See PropertyLookupQuantifier for path patterns.Step 4b: Define the initial valueStep 3: Define the map expressionStep 4a: Define the accumulatorStep 2: Define the listSee RelationshipPattern.See RelationshipDetail.While the direction in the schema package is centered around the node, the direction here is the direction between two nodes.This is the base class for all relationships.Represents a chain of relationships.A shared, public interface forrelationships
andchains of relationships
.A statement that returns items from the graph.See Return.See Set.A sort item can be used in anORDER BY
clause and changes the order of the items being returned from a query.Sort direction.Shall be the common interfaces for queries that we support.RepresentsRegularQuery
.Represents aUnionQuery
.Represents aUSE
statement, utilizing a composite graph call.A buildable ongoing MATCH and UPDATE.An interface combining a buildable MATCH and UPDATE with the possibility to add actions after a MERGE clause.A statement that has all information required to be build and exposes a build method.A step that exposes only theDELETE
clause.A shared marker interface for things that can be turned into a subquery to be used inside the WHERE clause.Steps for building aForeach
clause.A step that exposes theStatementBuilder.ExposesLimit.limit(Number)
method.Provides a way to specify an action that happens after aMERGE
clause.SeeStatementBuilder.TerminalExposesOrderBy
, but on a with clause.Set part of a statement.A step that exposes the set clause.Exposes node mutations.A step that exposes theStatementBuilder.ExposesSkip.skip(Number)
method.A step providing all the supported updating clauses (DELETE, SET)A trait for an ongoing standalone call to expose all of its results via an asterisk.Initial step of defining aFOREACH-clause
.Second step of defining aFOREACH-clause
in which the updating clause is defined.Combines the capabilities of skip, limit and adds additional expressions to the order-by items.After a MATCH..UPDATE chain has been established, a RETURN can be added, a pipeline with WITH can be started or more mutating steps can be added.An ongoing update statement that can be used to chain more updating statements, define actions on a merge or add a with or return clause.A variant ofStatementBuilder.ExposesSet
that allows for further chaining of actions.An intermediate step while defining the order of a with clause.A match that exposesreturning
and for which it is not decided whether the optional where part has been used or note.A match that knows what to return and which is ready to be build.Represents a reading statement ending in a with clause, potentially already having an order and not exposing order methods.The union type of an ongoing reading with a WITH and a SKIP clause.Combines the capabilities of skip, limit and adds additional expressions to the order-by items.A match that exposesreturning
andwhere
methods to add required information.The union of a buildable statement and call exposing new arguments and yields.A buildable statement exposing where and return clauses.Builder part for unwinding.An ongoing update statement that can be used to chain more update statements or add a with or return clause.A match that knows what to pipe to the next part of a multipart query.A step that exposes theStatementBuilder.TerminalExposesLimit.limit(Number)
method.A step that exposes several methods to specify ordering.A step that exposes theStatementBuilder.TerminalExposesSkip.skip(Number)
method.An intermediate step while defining the order of a result set.The result of a call to a stored procedure not having any results.The statement catalog gives an overview about relevant items in a statement.Enum for the clause in which a comparison was made.This interface represents all kinds of filters in a query such as filters on labels and filters on properties.This type represents a filter on nodes requiring one or more labels.A property that has been resolved.This type encapsulates a comparison in which a property of a node or relationship was used.A token can either describe a node label or a relationship type.The specific token type.Context for while rendering a statement.The string representation of a string literal will be a quoted Cypher string in single tickmarks with escaped reserved characters.A sub-query expression can either be anEXISTS-tential
or aCOUNT
expression as of Neo4j 5.Something that can build counting sub-queries.A symbolic name to identify nodes, relationships and aliased items.A mutable tree structure providing Breadth-first search (aka in-level order traversal) and pre-ordered depth-first search.Roughly corresponding to Where. -
ClassDescriptionA statement that returns items from the graph.Shall be the common interfaces for queries that we support.
-
SubqueryExpressionBuilder
instead.