Interface ConditionalOperators.Cond.OtherwiseBuilder
- Enclosing class:
- ConditionalOperators.Cond
public static interface ConditionalOperators.Cond.OtherwiseBuilder
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionotherwiseValueOf
(String fieldReference) otherwiseValueOf
(AggregationExpression expression)
-
Method Details
-
otherwise
- Parameters:
value
- the value to be used if the condition evaluates false. 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
-
otherwiseValueOf
- Parameters:
fieldReference
- must not be null.- Returns:
- the
ConditionalOperators.Cond
-
otherwiseValueOf
- Parameters:
expression
- must not be null.- Returns:
- the
ConditionalOperators.Cond
-