public static interface ConditionalOperators.IfNull.ThenBuilder
| Modifier and Type | Method and Description |
|---|---|
ConditionalOperators.IfNull |
then(Object value) |
ConditionalOperators.IfNull |
thenValueOf(AggregationExpression expression) |
ConditionalOperators.IfNull |
thenValueOf(String fieldReference) |
ConditionalOperators.IfNull then(Object value)
value - the value to be used if the $ifNull condition evaluates true. Can be a
DBObject, a value that is supported by MongoDB or a value that can be converted to a MongoDB
representation but must not be null.ConditionalOperators.IfNull thenValueOf(String fieldReference)
fieldReference - the field holding the replacement value, must not be null.ConditionalOperators.IfNull thenValueOf(AggregationExpression expression)
expression - the expression yielding to the replacement value, must not be null.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.