public static class BooleanOperators.BooleanOperatorFactory extends Object
| Constructor and Description |
|---|
BooleanOperatorFactory(AggregationExpression expression)
Creates new
BooleanOperators.BooleanOperatorFactory for given AggregationExpression. |
BooleanOperatorFactory(String fieldReference)
Creates new
BooleanOperators.BooleanOperatorFactory for given fieldReference. |
| Modifier and Type | Method and Description |
|---|---|
BooleanOperators.And |
and(AggregationExpression expression)
Creates new
AggregationExpression that evaluates one or more expressions and returns true if
all of the expressions are true. |
BooleanOperators.And |
and(String fieldReference)
Creates new
AggregationExpression that evaluates one or more expressions and returns true if
all of the expressions are true. |
BooleanOperators.Not |
not()
Creates new
AggregationExpression that evaluates a boolean and returns the opposite boolean value. |
BooleanOperators.Or |
or(AggregationExpression expression)
Creates new
AggregationExpression that evaluates one or more expressions and returns true if
any of the expressions are true. |
BooleanOperators.Or |
or(String fieldReference)
Creates new
AggregationExpression that evaluates one or more expressions and returns true if
any of the expressions are true. |
public BooleanOperatorFactory(String fieldReference)
BooleanOperators.BooleanOperatorFactory for given fieldReference.fieldReference - must not be null.public BooleanOperatorFactory(AggregationExpression expression)
BooleanOperators.BooleanOperatorFactory for given AggregationExpression.expression - must not be null.public BooleanOperators.And and(AggregationExpression expression)
AggregationExpression that evaluates one or more expressions and returns true if
all of the expressions are true.expression - must not be null.public BooleanOperators.And and(String fieldReference)
AggregationExpression that evaluates one or more expressions and returns true if
all of the expressions are true.fieldReference - must not be null.public BooleanOperators.Or or(AggregationExpression expression)
AggregationExpression that evaluates one or more expressions and returns true if
any of the expressions are true.expression - must not be null.public BooleanOperators.Or or(String fieldReference)
AggregationExpression that evaluates one or more expressions and returns true if
any of the expressions are true.fieldReference - must not be null.public BooleanOperators.Not not()
AggregationExpression that evaluates a boolean and returns the opposite boolean value.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.