Package org.neo4j.cypherdsl.core
Interface Case.CaseEnding
-
- All Superinterfaces:
Case,Expression,ProvidesAffixes,Visitable
- Enclosing interface:
- Case
@API(status=EXPERIMENTAL, since="1.0") public static interface Case.CaseEnding extends CaseSpecification 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @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, in, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, remainder, sorted, startsWith, subtract
-
Methods inherited from interface org.neo4j.cypherdsl.core.ast.ProvidesAffixes
getPrefix, getSuffix
-
-
-
-
Method Detail
-
when
@NotNull @CheckReturnValue @NotNull Case.OngoingWhenThen when(Expression expression)
Adds a newWHENblock.
-
elseDefault
@NotNull @CheckReturnValue @NotNull Case elseDefault(Expression defaultExpression)
Ends this case expression with a default expression to evaluate.- Parameters:
defaultExpression- The new default expression- Returns:
- An ongoing when builder.
-
-