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 Condition
Specification for a renderable, complete CASE statement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Case.CaseEnding
elseDefault(Expression defaultExpression)
Ends this case expression with a default expression to evaluate.Case.OngoingWhenThen
when(Expression expression)
Adds a newWHEN
block.-
Methods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, as, ascending, 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, startsWith, subtract
-
-
-
-
Method Detail
-
when
Case.OngoingWhenThen when(Expression expression)
Adds a newWHEN
block.- 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.
-
-