Interface FilterableValue<EntityT,PrimitiveT extends Serializable>
- Type Parameters:
EntityT
- Type of the entity which references the value.PrimitiveT
- Type of the value the filterable field holds.
- All Superinterfaces:
EntityReference<EntityT>
,Expressions.Operand
- All Known Subinterfaces:
FilterableBoolean<EntityT>
,FilterableDate<EntityT>
,FilterableDateTime<EntityT>
,FilterableDuration<EntityT>
,FilterableGuid<EntityT>
,FilterableNumeric<EntityT>
,FilterableNumericDecimal<EntityT>
,FilterableNumericInteger<EntityT>
,FilterableString<EntityT>
,FilterableTime<EntityT>
- All Known Implementing Classes:
FilterableBoolean.Expression
,FilterableDate.Expression
,FilterableDateTime.Expression
,FilterableDuration.Expression
,FilterableNumericDecimal.Expression
,FilterableNumericInteger.Expression
,FilterableString.Expression
,FilterableTime.Expression
,SimpleProperty.Boolean
,SimpleProperty.Date
,SimpleProperty.DateTime
,SimpleProperty.Duration
,SimpleProperty.Guid
,SimpleProperty.NumericDecimal
,SimpleProperty.NumericInteger
,SimpleProperty.String
,SimpleProperty.Time
public interface FilterableValue<EntityT,PrimitiveT extends Serializable>
extends Expressions.Operand, EntityReference<EntityT>
Fluent helper class to provide filter functions to OData expressions referenced by all value types.
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
NULL
-
Method Summary
Modifier and TypeMethodDescriptiondefault FilterableBoolean<EntityT>
equalTo
(FilterableValue<?, ?> operand) Filter by expression "eq".default FilterableBoolean<EntityT>
equalTo
(PrimitiveT operand) Filter by expression "eq".default FilterableBoolean<EntityT>
Filter by expression "eq null".default FilterableBoolean<EntityT>
greaterThan
(FilterableValue<?, ?> operand) Filter by expression "gt".default FilterableBoolean<EntityT>
greaterThan
(PrimitiveT operand) Filter by expression "gt".default FilterableBoolean<EntityT>
greaterThanEqual
(FilterableValue<?, ?> operand) Filter by expression "ge".default FilterableBoolean<EntityT>
greaterThanEqual
(PrimitiveT operand) Filter by expression "ge".default FilterableBoolean<EntityT>
in
(FilterableCollection<?, PrimitiveT> operand) Filter by expression "in".default FilterableBoolean<EntityT>
in
(PrimitiveT... operands) Filter by expression "in".default FilterableBoolean<EntityT>
lessThan
(FilterableValue<?, ?> operand) Filter by expression "lt".default FilterableBoolean<EntityT>
lessThan
(PrimitiveT operand) Filter by expression "lt".default FilterableBoolean<EntityT>
lessThanEqual
(FilterableValue<?, ?> operand) Filter by expression "le".default FilterableBoolean<EntityT>
lessThanEqual
(PrimitiveT operand) Filter by expression "le".default FilterableBoolean<EntityT>
notEqualTo
(FilterableValue<?, ?> operand) Filter by expression "ne".default FilterableBoolean<EntityT>
notEqualTo
(PrimitiveT operand) Filter by expression "ne".default FilterableBoolean<EntityT>
Filter by expression "ne null".Methods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.expression.EntityReference
getEntityType
Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
getExpression, getExpression
-
Method Details
-
equalToNull
Filter by expression "eq null".- Returns:
- The FluentHelper filter.
-
notEqualToNull
Filter by expression "ne null".- Returns:
- The FluentHelper filter.
-
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 operand 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 operand to compare with.- Returns:
- The FluentHelper filter.
- Throws:
IllegalArgumentException
- When there is no mapping found for the provided Java literal.
-
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 operand 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 operand 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 operand 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 operand 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.
- Throws:
IllegalArgumentException
- When there is no mapping found for any of the provided Java literals.
-
in
Filter by expression "in".- Parameters:
operand
- The generic operands to compare with.- Returns:
- The FluentHelper filter.
-