Interface FilterableString<EntityT>
- Type Parameters:
EntityT
- Type of the entity which references the value.
- All Superinterfaces:
EntityReference<EntityT>
,Expressions.Operand
,FilterableValue<EntityT,
String>
- All Known Implementing Classes:
FilterableString.Expression
,SimpleProperty.String
Fluent helper class to provide filter functions to OData expressions referenced by String.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Wrapper expression class, which delegates to another operation. -
Field Summary
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
NULL
-
Method Summary
Modifier and TypeMethodDescriptiondefault FilterableString<EntityT>
concat
(FilterableString<EntityT> operand) Filter by expression "concat".default FilterableString<EntityT>
Filter by expression "concat".default FilterableBoolean<EntityT>
contains
(FilterableString<EntityT> operand) Filter by expression "contain".default FilterableBoolean<EntityT>
Filter by expression "contain".default FilterableBoolean<EntityT>
endsWith
(FilterableString<EntityT> operand) Filter by expression "endswith".default FilterableBoolean<EntityT>
Filter by expression "endswith".default FilterableNumericInteger<EntityT>
indexOf
(FilterableString<EntityT> operand) Filter by expression "indexof".default FilterableNumericInteger<EntityT>
Filter by expression "indexof".default FilterableNumericInteger<EntityT>
length()
Filter by expression "length".default FilterableBoolean<EntityT>
matches
(FilterableString<EntityT> operand) Filter by expression "matchesPattern".default FilterableBoolean<EntityT>
Filter by expression "matchesPattern".default FilterableBoolean<EntityT>
startsWith
(FilterableString<EntityT> operand) Filter by expression "startswith".default FilterableBoolean<EntityT>
startsWith
(String operand) Filter by expression "startswith".default FilterableString<EntityT>
Filter by expression "substring".default FilterableString<EntityT>
Filter by expression "substring".default FilterableString<EntityT>
toLower()
Filter by expression "tolower".default FilterableString<EntityT>
toUpper()
Filter by expression "toupper".default FilterableString<EntityT>
trim()
Filter by expression "trim".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
Methods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.expression.FilterableValue
equalTo, equalTo, equalToNull, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, in, in, lessThan, lessThan, lessThanEqual, lessThanEqual, notEqualTo, notEqualTo, notEqualToNull
-
Method Details
-
matches
Filter by expression "matchesPattern".- Parameters:
operand
- String expression to match the string against.- Returns:
- The FluentHelper filter.
-
matches
Filter by expression "matchesPattern".- Parameters:
operand
- String expression to match the string against.- Returns:
- The FluentHelper filter.
-
toLower
Filter by expression "tolower".- Returns:
- The FluentHelper filter.
-
toUpper
Filter by expression "toupper".- Returns:
- The FluentHelper filter.
-
trim
Filter by expression "trim".- Returns:
- The FluentHelper filter.
-
length
Filter by expression "length".- Returns:
- The FluentHelper filter.
-
concat
Filter by expression "concat".- Parameters:
operand
- The string to concatenate with.- Returns:
- The FluentHelper filter.
-
concat
Filter by expression "concat".- Parameters:
operand
- The string to concatenate with.- Returns:
- The FluentHelper filter.
-
startsWith
Filter by expression "startswith".- Parameters:
operand
- The substring which is checked for.- Returns:
- The FluentHelper filter.
-
startsWith
Filter by expression "startswith".- Parameters:
operand
- The substring which is checked for.- Returns:
- The FluentHelper filter.
-
endsWith
Filter by expression "endswith".- Parameters:
operand
- The substring which is checked for.- Returns:
- The FluentHelper filter.
-
endsWith
Filter by expression "endswith".- Parameters:
operand
- The substring which is checked for.- Returns:
- The FluentHelper filter.
-
contains
Filter by expression "contain".- Parameters:
operand
- The substring which is checked for.- Returns:
- The FluentHelper filter.
-
contains
Filter by expression "contain".- Parameters:
operand
- The substring which is checked for.- Returns:
- The FluentHelper filter.
-
indexOf
@Nonnull default FilterableNumericInteger<EntityT> indexOf(@Nonnull FilterableString<EntityT> operand) Filter by expression "indexof".- Parameters:
operand
- The substring which is checked for.- Returns:
- The FluentHelper filter.
-
indexOf
Filter by expression "indexof".- Parameters:
operand
- The substring which is checked for.- Returns:
- The FluentHelper filter.
-
substring
Filter by expression "substring".- Parameters:
operand
- The number of characters to cut off.- Returns:
- The FluentHelper filter.
-
substring
@Nonnull default FilterableString<EntityT> substring(@Nonnull Integer operandIndex, @Nonnull Integer operandLength) Filter by expression "substring".- Parameters:
operandIndex
- The number of characters to cut off.operandLength
- The number of characters to keep in.- Returns:
- The FluentHelper filter.
-