- All Superinterfaces:
Case,Expression,ProvidesAffixes,Visitable
- Enclosing interface:
- Case
Specification for a renderable, complete CASE statement
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.neo4j.cypherdsl.core.Case
Case.CaseEnding, Case.GenericCase, Case.OngoingWhenThen, Case.SimpleCase -
Method Summary
Modifier and TypeMethodDescription@NotNull CaseelseDefault(Expression defaultExpression) Ends this case expression with a default expression to evaluate.@NotNull Case.OngoingWhenThenwhen(Expression expression) Adds a newWHENblock.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, subtractMethods inherited from interface org.neo4j.cypherdsl.core.ast.ProvidesAffixes
getPrefix, getSuffix
-
Method Details
-
when
Adds a newWHENblock. -
elseDefault
Ends this case expression with a default expression to evaluate.- Parameters:
defaultExpression- The new default expression- Returns:
- An ongoing when builder.
-