Interface FilterExpressionLogical
public interface FilterExpressionLogical
Set of OData filter functions for logical types.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ValueBoolean.Expression
and
(ValueBoolean operand1, ValueBoolean operand2) static ValueBoolean.Expression
equalTo
(Expressions.Operand operand1, Expressions.Operand operand2) static ValueBoolean.Expression
greaterThan
(Expressions.Operand operand1, Expressions.Operand operand2) static ValueBoolean.Expression
greaterThanEquals
(Expressions.Operand operand1, Expressions.Operand operand2) Returns aValueBoolean.Expression
that checks whetheroperand1
is greater than or equal tooperand2
("ge"
).static ValueBoolean.Expression
has
(Expressions.OperandSingle operand1, ValueEnum operand2) static ValueBoolean.Expression
in
(Expressions.Operand operand1, Expressions.Operand... operands2) static ValueBoolean.Expression
in
(Expressions.Operand operand1, Expressions.OperandMultiple operand2) static ValueBoolean.Expression
lessThan
(Expressions.Operand operand1, Expressions.Operand operand2) static ValueBoolean.Expression
lessThanEquals
(Expressions.Operand operand1, Expressions.Operand operand2) Returns aValueBoolean.Expression
that checks whetheroperand1
is less than or equal tooperand2
("le"
).static ValueBoolean.Expression
not
(ValueBoolean operand) static ValueBoolean.Expression
notEqualTo
(Expressions.Operand operand1, Expressions.Operand operand2) static ValueBoolean.Expression
or
(ValueBoolean operand1, ValueBoolean operand2)
-
Method Details
-
equalTo
@Nonnull static ValueBoolean.Expression equalTo(@Nonnull Expressions.Operand operand1, @Nonnull Expressions.Operand operand2) - Parameters:
operand1
- The first operand.operand2
- The second operand.- Returns:
- A
ValueBoolean.Expression
.
-
notEqualTo
@Nonnull static ValueBoolean.Expression notEqualTo(@Nonnull Expressions.Operand operand1, @Nonnull Expressions.Operand operand2) - Parameters:
operand1
- The first operand.operand2
- The second operand.- Returns:
- A
ValueBoolean.Expression
.
-
greaterThan
@Nonnull static ValueBoolean.Expression greaterThan(@Nonnull Expressions.Operand operand1, @Nonnull Expressions.Operand operand2) - Parameters:
operand1
- The first operand.operand2
- The second operand.- Returns:
- A
ValueBoolean.Expression
.
-
greaterThanEquals
@Nonnull static ValueBoolean.Expression greaterThanEquals(@Nonnull Expressions.Operand operand1, @Nonnull Expressions.Operand operand2) Returns aValueBoolean.Expression
that checks whetheroperand1
is greater than or equal tooperand2
("ge"
).- Parameters:
operand1
- The first operand.operand2
- The second operand.- Returns:
- A
ValueBoolean.Expression
.
-
lessThan
@Nonnull static ValueBoolean.Expression lessThan(@Nonnull Expressions.Operand operand1, @Nonnull Expressions.Operand operand2) - Parameters:
operand1
- The first operand.operand2
- The second operand.- Returns:
- A
ValueBoolean.Expression
.
-
lessThanEquals
@Nonnull static ValueBoolean.Expression lessThanEquals(@Nonnull Expressions.Operand operand1, @Nonnull Expressions.Operand operand2) Returns aValueBoolean.Expression
that checks whetheroperand1
is less than or equal tooperand2
("le"
).- Parameters:
operand1
- The first operand.operand2
- The second operand.- Returns:
- A
ValueBoolean.Expression
.
-
and
@Nonnull static ValueBoolean.Expression and(@Nonnull ValueBoolean operand1, @Nonnull ValueBoolean operand2) - Parameters:
operand1
- The first operand.operand2
- The second operand.- Returns:
- A
ValueBoolean.Expression
.
-
or
@Nonnull static ValueBoolean.Expression or(@Nonnull ValueBoolean operand1, @Nonnull ValueBoolean operand2) - Parameters:
operand1
- The first operand.operand2
- The second operand.- Returns:
- A
ValueBoolean.Expression
.
-
not
- Parameters:
operand
- The operand to negate.- Returns:
- A
ValueBoolean.Expression
.
-
has
@Nonnull static ValueBoolean.Expression has(@Nonnull Expressions.OperandSingle operand1, @Nonnull ValueEnum operand2) - Parameters:
operand1
- The first operand.operand2
- The second operand.- Returns:
- A
ValueBoolean.Expression
.
-
in
@Nonnull static ValueBoolean.Expression in(@Nonnull Expressions.Operand operand1, @Nonnull Expressions.Operand... operands2) - Parameters:
operand1
- The potential member.operands2
- The potential container.- Returns:
- A
ValueBoolean.Expression
.
-
in
@Nonnull static ValueBoolean.Expression in(@Nonnull Expressions.Operand operand1, @Nonnull Expressions.OperandMultiple operand2) - Parameters:
operand1
- The potential member.operand2
- The potential container.- Returns:
- A
ValueBoolean.Expression
.
-