Package org.neo4j.cypherdsl.core
Interface ExposesMatch
-
- All Known Subinterfaces:
StatementBuilder
,StatementBuilder.OngoingReadingAndWith
,StatementBuilder.OngoingReadingAndWithWithSkip
,StatementBuilder.OngoingReadingAndWithWithWhereAndOrder
,StatementBuilder.OngoingReadingWithoutWhere
,StatementBuilder.OngoingReadingWithWhere
,StatementBuilder.OrderableOngoingReadingAndWith
,StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere
,StatementBuilder.OrderableOngoingReadingAndWithWithWhere
@API(status=EXPERIMENTAL, since="1.0") public interface ExposesMatch
A step exposing amatch(PatternElement...)
method. This is one of the main entry points of most Cypher queries.- Since:
- 1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StatementBuilder.OngoingReadingWithoutWhere
match(boolean optional, PatternElement... pattern)
Adds (another)MATCH
clause.default StatementBuilder.OngoingReadingWithoutWhere
match(PatternElement... pattern)
Adds (another)MATCH
clause.default StatementBuilder.OngoingReadingWithoutWhere
optionalMatch(PatternElement... pattern)
Adds (another) optionalMATCH
clause.
-
-
-
Method Detail
-
match
default StatementBuilder.OngoingReadingWithoutWhere match(PatternElement... pattern)
Adds (another)MATCH
clause.- Parameters:
pattern
- The patterns to match- Returns:
- An ongoing match that is used to specify an optional where and a required return clause
-
optionalMatch
default StatementBuilder.OngoingReadingWithoutWhere optionalMatch(PatternElement... pattern)
Adds (another) optionalMATCH
clause.- Parameters:
pattern
- The patterns to match- Returns:
- An ongoing match that is used to specify an optional where and a required return clause
-
match
StatementBuilder.OngoingReadingWithoutWhere match(boolean optional, PatternElement... pattern)
Adds (another)MATCH
clause.- Parameters:
optional
- A flag whether theMATCH
clause includes theOPTIONAL
keyword.pattern
- The patterns to match- Returns:
- An ongoing match that is used to specify an optional where and a required return clause
- Since:
- 2020.1.3
-
-