@Beta public interface FilterableString extends Expressions.Operand
Modifier and Type | Method and Description |
---|---|
default ValueString |
concat(String operand)
Filter by expression "concat".
|
default ValueString |
concat(ValueString operand)
Filter by expression "concat".
|
default ValueBoolean |
contains(String operand)
Filter by expression "contains".
|
default ValueBoolean |
contains(ValueString operand)
Filter by expression "contains".
|
default ValueBoolean |
endsWith(String operand)
Filter by expression "endswith".
|
default ValueBoolean |
endsWith(ValueString operand)
Filter by expression "endswith".
|
default ValueNumeric |
indexOf(String operand)
Filter by expression "indexof".
|
default ValueNumeric |
indexOf(ValueString operand)
Filter by expression "indexof".
|
default ValueNumeric |
length()
Filter by expression "length".
|
default ValueBoolean |
matches(String operand)
Filter by expression "matchesPattern".
|
default ValueBoolean |
matches(ValueString operand)
Filter by expression "matchesPattern".
|
default ValueBoolean |
startsWith(String operand)
Filter by expression "startswith".
|
default ValueBoolean |
startsWith(ValueString operand)
Filter by expression "startswith".
|
default ValueString |
substring(Integer operand)
Filter by expression "substring".
|
default ValueString |
substring(Integer operandIndex,
Integer operandLength)
Filter by expression "substring".
|
default ValueBoolean |
substringOf(String operand)
Filter by expression "substringof".
|
default ValueBoolean |
substringOf(ValueString operand)
Filter by expression "substringof".
|
default ValueString |
toLower()
Filter by expression "tolower".
|
default ValueString |
toUpper()
Filter by expression "toUpper".
|
default ValueString |
trim()
Filter by expression "trim".
|
getExpression, getExpression
@Nonnull default ValueBoolean matches(@Nonnull String operand)
operand
- String expression to match the string against.@Nonnull default ValueBoolean matches(@Nonnull ValueString operand)
operand
- String expression to match the string against.@Nonnull default ValueString toLower()
@Nonnull default ValueString toUpper()
@Nonnull default ValueString trim()
@Nonnull default ValueNumeric length()
@Nonnull default ValueString concat(@Nonnull String operand)
operand
- The string to concatenate with.@Nonnull default ValueString concat(@Nonnull ValueString operand)
operand
- The string to concatenate with.@Nonnull default ValueBoolean startsWith(@Nonnull ValueString operand)
operand
- The substring which is checked for.@Nonnull default ValueBoolean startsWith(@Nonnull String operand)
operand
- The substring which is checked for.@Nonnull default ValueBoolean endsWith(@Nonnull ValueString operand)
operand
- The substring which is checked for.@Nonnull default ValueBoolean endsWith(@Nonnull String operand)
operand
- The substring which is checked for.@Nonnull default ValueBoolean contains(@Nonnull ValueString operand)
operand
- The substring which is checked for.substringOf(ValueString) for OData V2
@Nonnull default ValueBoolean contains(@Nonnull String operand)
operand
- The substring which is checked for.substringOf(String) for OData V2
@Nonnull default ValueBoolean substringOf(@Nonnull ValueString operand)
operand
- The substring which is checked for.contains(ValueString) for OData V4
@Nonnull default ValueBoolean substringOf(@Nonnull String operand)
operand
- The substring which is checked for.contains(String) for OData V4
@Nonnull default ValueNumeric indexOf(@Nonnull String operand)
operand
- The substring which is checked for.@Nonnull default ValueNumeric indexOf(@Nonnull ValueString operand)
operand
- The substring which is checked for.@Nonnull default ValueString substring(@Nonnull Integer operand)
operand
- The number of characters to cut off.Copyright © 2020 SAP SE. All rights reserved.