public class BooleanOperators extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BooleanOperators.And
AggregationExpression for $and. |
static class |
BooleanOperators.BooleanOperatorFactory |
static class |
BooleanOperators.Not
AggregationExpression for $not. |
static class |
BooleanOperators.Or
AggregationExpression for $or. |
| Constructor and Description |
|---|
BooleanOperators() |
| Modifier and Type | Method and Description |
|---|---|
static BooleanOperators.Not |
not(AggregationExpression expression)
Creates new
AggregationExpression that evaluates the boolean value of AggregationExpression result
and returns the opposite boolean value. |
static BooleanOperators.Not |
not(String fieldReference)
Creates new
AggregationExpression that evaluates the boolean value of the referenced field and returns the
opposite boolean value. |
static BooleanOperators.BooleanOperatorFactory |
valueOf(AggregationExpression fieldReference)
Take the value resulting of the given
AggregationExpression. |
static BooleanOperators.BooleanOperatorFactory |
valueOf(String fieldReference)
Take the array referenced by given fieldReference.
|
public static BooleanOperators.BooleanOperatorFactory valueOf(String fieldReference)
fieldReference - must not be null.BooleanOperators.BooleanOperatorFactory.public static BooleanOperators.BooleanOperatorFactory valueOf(AggregationExpression fieldReference)
AggregationExpression.fieldReference - must not be null.BooleanOperators.BooleanOperatorFactory.public static BooleanOperators.Not not(String fieldReference)
AggregationExpression that evaluates the boolean value of the referenced field and returns the
opposite boolean value.fieldReference - must not be null.BooleanOperators.Not.public static BooleanOperators.Not not(AggregationExpression expression)
AggregationExpression that evaluates the boolean value of AggregationExpression result
and returns the opposite boolean value.expression - must not be null.BooleanOperators.Not.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.