Package org.neo4j.cypherdsl.core
Interface Case.CaseEnding
-
- All Superinterfaces:
Condition,Expression,Visitable
- All Known Implementing Classes:
Case.GenericCase.EndingGenericCase,Case.SimpleCase.EndingSimpleCase
- Enclosing class:
- Case
@API(status=EXPERIMENTAL, since="1.0") public static interface Case.CaseEnding extends ConditionSpecification for a renderable, complete CASE statement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Case.CaseEndingelseDefault(Expression defaultExpression)Ends this case expression with a default expression to evaluate.Case.OngoingWhenThenwhen(Expression expression)Adds a newWHENblock.-
Methods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, ascending, concat, contains, descending, divide, endsWith, gt, gte, in, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, pow, property, remainder, startsWith, subtract
-
-
-
-
Method Detail
-
when
Case.OngoingWhenThen when(Expression expression)
Adds a newWHENblock.- Parameters:
expression- A new when expression.- Returns:
- An ongoing when builder.
-
elseDefault
Case.CaseEnding elseDefault(Expression defaultExpression)
Ends this case expression with a default expression to evaluate.- Parameters:
defaultExpression- The new default expression- Returns:
- An ongoing when builder.
-
-