Interface ConditionalOperators.Cond.WhenBuilder
- Enclosing class:
- ConditionalOperators.Cond
public static interface ConditionalOperators.Cond.WhenBuilder
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionwhen
(org.bson.Document booleanExpression) when
(AggregationExpression expression) when
(CriteriaDefinition criteria)
-
Method Details
-
when
- Parameters:
booleanExpression
- expression that yields in a boolean result, must not be null.- Returns:
- the
ConditionalOperators.Cond.ThenBuilder
-
when
- Parameters:
expression
- expression that yields in a boolean result, must not be null.- Returns:
- the
ConditionalOperators.Cond.ThenBuilder
-
when
- Parameters:
booleanField
- name of a field holding a boolean value, must not be null.- Returns:
- the
ConditionalOperators.Cond.ThenBuilder
-
when
- Parameters:
criteria
- criteria to evaluate, must not be null.- Returns:
- the
ConditionalOperators.Cond.ThenBuilder
-