public static interface ConditionalOperators.Cond.ThenBuilder
| Modifier and Type | Method and Description |
|---|---|
ConditionalOperators.Cond.OtherwiseBuilder |
then(Object value) |
ConditionalOperators.Cond.OtherwiseBuilder |
thenValueOf(AggregationExpression expression) |
ConditionalOperators.Cond.OtherwiseBuilder |
thenValueOf(String fieldReference) |
ConditionalOperators.Cond.OtherwiseBuilder then(Object value)
value - the value to be used if the condition evaluates true. 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.Cond.OtherwiseBuilderConditionalOperators.Cond.OtherwiseBuilder thenValueOf(String fieldReference)
fieldReference - must not be null.ConditionalOperators.Cond.OtherwiseBuilderConditionalOperators.Cond.OtherwiseBuilder thenValueOf(AggregationExpression expression)
expression - must not be null.ConditionalOperators.Cond.OtherwiseBuilderCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.