Interface FilterableString

All Superinterfaces:
Expressions.Operand
All Known Subinterfaces:
ValueString
All Known Implementing Classes:
ValueString.Expression

public interface FilterableString extends Expressions.Operand
String operations for generic OData filter expression operands.
  • Method Details

    • matches

      @Nonnull default ValueBoolean matches(@Nonnull String operand)
      Filter by expression "matchesPattern".
      Parameters:
      operand - String expression to match the string against.
      Returns:
      The FluentHelper filter.
    • matches

      @Nonnull default ValueBoolean matches(@Nonnull ValueString operand)
      Filter by expression "matchesPattern".
      Parameters:
      operand - String expression to match the string against.
      Returns:
      The FluentHelper filter.
    • toLower

      @Nonnull default ValueString toLower()
      Filter by expression "tolower".
      Returns:
      The FluentHelper filter.
    • toUpper

      @Nonnull default ValueString toUpper()
      Filter by expression "toUpper".
      Returns:
      The FluentHelper filter.
    • trim

      @Nonnull default ValueString trim()
      Filter by expression "trim".
      Returns:
      The FluentHelper filter.
    • length

      @Nonnull default ValueNumeric length()
      Filter by expression "length".
      Returns:
      The FluentHelper filter.
    • concat

      @Nonnull default ValueString concat(@Nonnull String operand)
      Filter by expression "concat".
      Parameters:
      operand - The string to concatenate with.
      Returns:
      The FluentHelper filter.
    • concat

      @Nonnull default ValueString concat(@Nonnull ValueString operand)
      Filter by expression "concat".
      Parameters:
      operand - The string to concatenate with.
      Returns:
      The FluentHelper filter.
    • startsWith

      @Nonnull default ValueBoolean startsWith(@Nonnull ValueString operand)
      Filter by expression "startswith".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • startsWith

      @Nonnull default ValueBoolean startsWith(@Nonnull String operand)
      Filter by expression "startswith".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • endsWith

      @Nonnull default ValueBoolean endsWith(@Nonnull ValueString operand)
      Filter by expression "endswith".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • endsWith

      @Nonnull default ValueBoolean endsWith(@Nonnull String operand)
      Filter by expression "endswith".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • contains

      @Nonnull default ValueBoolean contains(@Nonnull ValueString operand)
      Filter by expression "contains".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
      See Also:
    • contains

      @Nonnull default ValueBoolean contains(@Nonnull String operand)
      Filter by expression "contains".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
      See Also:
    • substringOf

      @Nonnull default ValueBoolean substringOf(@Nonnull ValueString operand)
      Filter by expression "substringof".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
      See Also:
    • substringOf

      @Nonnull default ValueBoolean substringOf(@Nonnull String operand)
      Filter by expression "substringof".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
      See Also:
    • indexOf

      @Nonnull default ValueNumeric indexOf(@Nonnull String operand)
      Filter by expression "indexof".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • indexOf

      @Nonnull default ValueNumeric indexOf(@Nonnull ValueString operand)
      Filter by expression "indexof".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • substring

      @Nonnull default ValueString substring(@Nonnull Integer operand)
      Filter by expression "substring".
      Parameters:
      operand - The number of characters to cut off.
      Returns:
      The FluentHelper filter.
    • substring

      @Nonnull default ValueString 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.