Package org.neo4j.cypherdsl.core
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 ExposesMatchA 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.OngoingReadingWithoutWherematch(boolean optional, PatternElement... pattern)Adds (another)MATCHclause.default StatementBuilder.OngoingReadingWithoutWherematch(Collection<PatternElement> pattern)Adds (another)MATCHclause.default StatementBuilder.OngoingReadingWithoutWherematch(PatternElement... pattern)Adds (another)MATCHclause.default StatementBuilder.OngoingReadingWithoutWhereoptionalMatch(Collection<PatternElement> pattern)Adds (another) optionalMATCHclause.default StatementBuilder.OngoingReadingWithoutWhereoptionalMatch(PatternElement... pattern)Adds (another) optionalMATCHclause.
-
-
-
Method Detail
-
match
@NotNull @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
@NotNull @CheckReturnValue default StatementBuilder.OngoingReadingWithoutWhere match(Collection<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
@NotNull @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
@NotNull @CheckReturnValue default StatementBuilder.OngoingReadingWithoutWhere optionalMatch(Collection<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
@NotNull @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
-
-