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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfrom, toDocumentcreate, createpublic static ConditionalOperators.Switch.CaseOperator.ThenBuilder when(AggregationExpression condition)
public org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpressiontoDocument in interface AggregationExpressioncontext - must not be null.Document) form of the expression.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.