Interface FilterableComparisonAbsolute
- All Superinterfaces:
Expressions.Operand
- All Known Subinterfaces:
FieldUntyped
,ValueBinary
,ValueBoolean
,ValueCollection
,ValueDate
,ValueDateTime
,ValueDateTimeOffset
,ValueDuration
,ValueEnum
,ValueGuid
,ValueNumeric
,ValueString
,ValueTimeOfDay
- All Known Implementing Classes:
ValueBinary.Expression
,ValueBoolean.Expression
,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 ValueBoolean
equalTo
(Expressions.Operand operand) Filter by expression "eq".default ValueBoolean
Filter by expression "eq".default ValueBoolean
Filter by expression "eq null".default ValueBoolean
in
(Expressions.Operand... operands) Filter by expression "in".default ValueBoolean
in
(FilterableCollection collection) Filter by expression "in".default ValueBoolean
Filter by expression "in".default <T> ValueBoolean
Filter by expression "in".default ValueBoolean
notEqualTo
(Expressions.Operand operand) Filter by expression "ne".default ValueBoolean
notEqualTo
(Object operand) Filter by expression "ne".default ValueBoolean
Filter by expression "ne null".Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
getExpression, getExpression
-
Method Details
-
equalTo
Filter by expression "eq".- Parameters:
operand
- The generic operand to compare with.- Returns:
- The FluentHelper filter.
-
equalTo
Filter by expression "eq".- 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.
-
in
Filter by expression "in".- Parameters:
operands
- The generic operands to compare with.- Returns:
- The FluentHelper filter.
-
in
Filter by expression "in".- Parameters:
operands
- The generic objects to compare with.- Returns:
- The FluentHelper filter.
- Throws:
IllegalArgumentException
- When there is no mapping found for the provided Java literal.
-
in
Filter by expression "in".- Parameters:
collection
- A filterable collection reference.- Returns:
- The FluentHelper filter.
-
in
Filter by expression "in".- Type Parameters:
T
- Generic argument type for provided list items.- Parameters:
operands
- The generic objects to compare with.- Returns:
- The FluentHelper filter.
- Throws:
IllegalArgumentException
- When there is no mapping found for the provided Java literal.
-
notEqualTo
Filter by expression "ne".- Parameters:
operand
- The generic operand to compare with.- Returns:
- The FluentHelper filter.
-
notEqualTo
Filter by expression "ne".- 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.
-
equalToNull
Filter by expression "eq null".- Returns:
- The FluentHelper filter.
-
notEqualToNull
Filter by expression "ne null".- Returns:
- The FluentHelper filter.
-