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