public static class ConditionalOperators.Switch.CaseOperator extends Object implements AggregationExpression
$switch-operation.| Modifier and Type | Class and Description |
|---|---|
static interface |
ConditionalOperators.Switch.CaseOperator.ThenBuilder |
| Modifier and Type | Method and Description |
|---|---|
org.bson.Document |
toDocument(AggregationOperationContext context)
|
static ConditionalOperators.Switch.CaseOperator.ThenBuilder |
when(AggregationExpression condition) |
public static ConditionalOperators.Switch.CaseOperator.ThenBuilder when(AggregationExpression condition)
public org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpressiontoDocument in interface AggregationExpressionCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.