Interface FilterableComparisonRelative
- All Superinterfaces:
Expressions.Operand
- All Known Subinterfaces:
FieldUntyped,ValueCollection,ValueDate,ValueDateTime,ValueDateTimeOffset,ValueDuration,ValueGuid,ValueNumeric,ValueString,ValueTimeOfDay
- All Known Implementing Classes:
ValueCollection.Expression,ValueDate.Expression,ValueDateTime.Expression,ValueDateTimeOffset.Expression,ValueDuration.Expression,ValueNumeric.Expression,ValueString.Expression,ValueTimeOfDay.Expression
Logical operations for generic OData filter expression operands.
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
NULL -
Method Summary
Modifier and TypeMethodDescriptiondefault ValueBooleangreaterThan(Expressions.Operand operand) Filter by expression "gt".default ValueBooleangreaterThan(Object operand) Filter by expression "gt".default ValueBooleangreaterThanEqual(Expressions.Operand operand) Filter by expression "ge".default ValueBooleangreaterThanEqual(Object operand) Filter by expression "ge".default ValueBooleanlessThan(Expressions.Operand operand) Filter by expression "lt".default ValueBooleanFilter by expression "lt".default ValueBooleanlessThanEqual(Expressions.Operand operand) Filter by expression "le".default ValueBooleanlessThanEqual(Object operand) Filter by expression "le".Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
getExpression, getExpression
-
Method Details
-
lessThan
Filter by expression "lt".- Parameters:
operand- The generic operand to compare with.- Returns:
- The FluentHelper filter.
-
lessThan
Filter by expression "lt".- Parameters:
operand- The generic object to compare with.- Returns:
- The FluentHelper filter.
- Throws:
IllegalArgumentException- When there is no mapping found for the provided Java literal.
-
lessThanEqual
Filter by expression "le".- Parameters:
operand- The generic operand to compare with.- Returns:
- The FluentHelper filter.
-
lessThanEqual
Filter by expression "le".- Parameters:
operand- The generic object to compare with.- Returns:
- The FluentHelper filter.
- Throws:
IllegalArgumentException- When there is no mapping found for the provided Java literal.
-
greaterThan
Filter by expression "gt".- Parameters:
operand- The generic operand to compare with.- Returns:
- The FluentHelper filter.
-
greaterThan
Filter by expression "gt".- Parameters:
operand- The generic object to compare with.- Returns:
- The FluentHelper filter.
- Throws:
IllegalArgumentException- When there is no mapping found for the provided Java literal.
-
greaterThanEqual
Filter by expression "ge".- Parameters:
operand- The generic operand to compare with.- Returns:
- The FluentHelper filter.
-
greaterThanEqual
Filter by expression "ge".- Parameters:
operand- The generic object to compare with.- Returns:
- The FluentHelper filter.
- Throws:
IllegalArgumentException- When there is no mapping found for the provided Java literal.
-