EntityT
- Entity type that the expression is operating on, only used to conform to expected interface.public class UncheckedFilterExpression<EntityT> extends FilterExpressionHelper<EntityT>
filter query options
that
does not check for type safety.
Instances of this class can be used to pass an unchecked FilterExpression
to fluent helpers. This approach
discards type safety and is generally discouraged. Instead, to construct type safe filter query options, use the
recommended approach described in ExpressionFluentHelper
.Constructor and Description |
---|
UncheckedFilterExpression(com.sap.cloud.sdk.odatav2.connectivity.FilterExpression filterExpression)
Deprecated.
Please avoid using
FilterExpression . Use UncheckedFilterExpression(ValueBoolean)
instead. |
UncheckedFilterExpression(ValueBoolean filterExpression)
Creates an instance with the given
ValueBoolean to be passed to fluent helpers. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
hashCode() |
@Deprecated public UncheckedFilterExpression(@Nonnull com.sap.cloud.sdk.odatav2.connectivity.FilterExpression filterExpression)
FilterExpression
. Use UncheckedFilterExpression(ValueBoolean)
instead.FilterExpression
to be passed to fluent helpers.
Note: This constructor is deprecated.
The API is still functional and the passed custom filter expression will be taken into account for the deprecated
execute(...)
method of the OData V2 request builders.
Note: Instances created with this deprecated type will not be respected in OData queries
executed with executeRequest(...)
.
Instantiate with UncheckedFilterExpression(ValueBoolean)
instead.
filterExpression
- The filter expression to pass as query option to fluent helpers.public UncheckedFilterExpression(@Nonnull ValueBoolean filterExpression)
ValueBoolean
to be passed to fluent helpers.
Note: Instances created with this constructor will not be respected in OData queries executed
with deprecated execute(...)
.
filterExpression
- The filter expression to pass as query option to fluent helpers.Copyright © 2021 SAP SE. All rights reserved.