Interface ConditionalOperators.Cond.ThenBuilder
- Enclosing class:
- ConditionalOperators.Cond
public static interface ConditionalOperators.Cond.ThenBuilder
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionthenValueOf
(String fieldReference) thenValueOf
(AggregationExpression expression)
-
Method Details
-
then
- Parameters:
value
- the value to be used if the condition evaluates true. Can be aDocument
, a value that is supported by MongoDB or a value that can be converted to a MongoDB representation but must not be null.- Returns:
- the
ConditionalOperators.Cond.OtherwiseBuilder
-
thenValueOf
- Parameters:
fieldReference
- must not be null.- Returns:
- the
ConditionalOperators.Cond.OtherwiseBuilder
-
thenValueOf
- Parameters:
expression
- must not be null.- Returns:
- the
ConditionalOperators.Cond.OtherwiseBuilder
-