public static interface ConditionalOperators.Cond.OtherwiseBuilder
| Modifier and Type | Method and Description |
|---|---|
ConditionalOperators.Cond |
otherwise(Object value) |
ConditionalOperators.Cond |
otherwiseValueOf(AggregationExpression expression) |
ConditionalOperators.Cond |
otherwiseValueOf(String fieldReference) |
ConditionalOperators.Cond otherwise(Object value)
value - the value to be used if the condition evaluates false. Can be a Document, a
value that is supported by MongoDB or a value that can be converted to a MongoDB representation but
must not be null.ConditionalOperators.CondConditionalOperators.Cond otherwiseValueOf(String fieldReference)
fieldReference - must not be null.ConditionalOperators.CondConditionalOperators.Cond otherwiseValueOf(AggregationExpression expression)
expression - must not be null.ConditionalOperators.CondCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.