- All Superinterfaces:
Expression
,ProvidesAffixes
,Visitable
- All Known Subinterfaces:
Case.CaseEnding
,Case.GenericCase
,Case.SimpleCase
See CaseExpression.
- Since:
- 1.0
- Author:
- Gerrit Meier, Michael J. Simons
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Specification for a renderable, complete CASE statementstatic interface
Extension of theCase
interface to support generic case.static interface
Helper class to collect `when` expressions and createCaseWhenThen
instances when the `then` is provided.static interface
Extension theCase
interface to support simple case with an initial expression / condition. -
Method Summary
Modifier and TypeMethodDescriptionstatic Case
create
(@Nullable Expression expression) Creates a newCase
Expression
@NotNull Case.OngoingWhenThen
when
(Expression nextExpression) Creates a new case/when expression with an additionalWHEN
block.Methods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, as, ascending, asCondition, concat, contains, descending, divide, endsWith, eq, gt, gte, hasSize, in, includesAll, includesAny, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, remainder, size, sorted, startsWith, subtract
Methods inherited from interface org.neo4j.cypherdsl.core.ast.ProvidesAffixes
getPrefix, getSuffix
-
Method Details
-
when
Creates a new case/when expression with an additionalWHEN
block.- Parameters:
nextExpression
- The next expression to use.- Returns:
- An ongoing when builder.
-
create
Creates a newCase
Expression
- Parameters:
expression
- starting expression for the simple case- Returns:
- The new expression
-