Interface ExposesMatch
- All Known Subinterfaces:
ExposesSubqueryCall.BuildableSubquery, LoadCSVStatementBuilder, StatementBuilder, StatementBuilder.OngoingInQueryCallWithReturnFields, StatementBuilder.OngoingReading, StatementBuilder.OngoingReadingAndWith, StatementBuilder.OngoingReadingAndWithWithSkip, StatementBuilder.OngoingReadingAndWithWithWhereAndOrder, StatementBuilder.OngoingReadingWithoutWhere, StatementBuilder.OngoingReadingWithWhere, StatementBuilder.OngoingStandaloneCallWithReturnFields, StatementBuilder.OrderableOngoingReadingAndWith, StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere, StatementBuilder.OrderableOngoingReadingAndWithWithWhere, StatementBuilder.VoidCall
@API(status=STABLE,
since="1.0")
public interface ExposesMatch
A step exposing a
match(PatternElement...) method. This is one of the main
entry points of most Cypher queries.- Since:
- 1.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionmatch(boolean optional, PatternElement... pattern) Adds (another)MATCHclause.match(Collection<? extends PatternElement> pattern) Adds (another)MATCHclause.match(PatternElement... pattern) Adds (another)MATCHclause.optionalMatch(Collection<? extends PatternElement> pattern) Adds (another) optionalMATCHclause.optionalMatch(PatternElement... pattern) Adds (another) optionalMATCHclause.
-
Method Details
-
match
@CheckReturnValue default StatementBuilder.OngoingReadingWithoutWhere match(PatternElement... pattern) Adds (another)MATCHclause.- Parameters:
pattern- the patterns to match- Returns:
- an ongoing match that is used to specify an optional where and a required return clause
-
match
@CheckReturnValue default StatementBuilder.OngoingReadingWithoutWhere match(Collection<? extends PatternElement> pattern) Adds (another)MATCHclause.- Parameters:
pattern- the patterns to match- Returns:
- an ongoing match that is used to specify an optional where and a required return clause
- Since:
- 2021.2.2
-
optionalMatch
@CheckReturnValue default StatementBuilder.OngoingReadingWithoutWhere optionalMatch(PatternElement... pattern) Adds (another) optionalMATCHclause.- Parameters:
pattern- the patterns to match- Returns:
- an ongoing match that is used to specify an optional where and a required return clause
-
optionalMatch
@CheckReturnValue default StatementBuilder.OngoingReadingWithoutWhere optionalMatch(Collection<? extends PatternElement> pattern) Adds (another) optionalMATCHclause.- Parameters:
pattern- the patterns to match- Returns:
- an ongoing match that is used to specify an optional where and a required return clause
- Since:
- 2021.2.2
-
match
@CheckReturnValue StatementBuilder.OngoingReadingWithoutWhere match(boolean optional, PatternElement... pattern) Adds (another)MATCHclause.- Parameters:
optional- a flag whether theMATCHclause includes theOPTIONALkeyword.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
-