Interface FilterableCollection

All Superinterfaces:
Expressions.Operand, Expressions.OperandMultiple
All Known Subinterfaces:
ValueCollection
All Known Implementing Classes:
ValueCollection.Expression

public interface FilterableCollection extends Expressions.OperandMultiple
Collection operations for generic OData filter expression operands.
  • Method Details

    • hasSubset

      @Nonnull default ValueBoolean.Expression hasSubset(@Nonnull ValueCollection operand)
      Filter by expression "hasSubset".
      Parameters:
      operand - Only operand of collection type.
      Returns:
      The FluentHelper filter.
    • hasSubset

      @Nonnull default ValueBoolean.Expression hasSubset(@Nonnull Iterable<?> operand)
      Filter by expression "hasSubset".
      Parameters:
      operand - Only operand of Java iterable.
      Returns:
      The FluentHelper filter.
    • hasSubSequence

      @Nonnull default ValueBoolean.Expression hasSubSequence(@Nonnull ValueCollection operand)
      Filter by expression "hasSubSequence".
      Parameters:
      operand - Only operand of collection type.
      Returns:
      The FluentHelper filter.
    • hasSubSequence

      @Nonnull default ValueBoolean.Expression hasSubSequence(@Nonnull Iterable<?> operand)
      Filter by expression "hasSubSequence".
      Parameters:
      operand - Only operand of Java iterable.
      Returns:
      The FluentHelper filter.
    • contains

      @Nonnull default ValueBoolean.Expression contains(@Nonnull ValueCollection operand)
      Filter by expression "contains".
      Parameters:
      operand - Only operand of collection type.
      Returns:
      The FluentHelper filter.
    • contains

      @Nonnull default ValueBoolean.Expression contains(@Nonnull Iterable<?> operand)
      Filter by expression "contains".
      Parameters:
      operand - Only operand of Java iterable.
      Returns:
      The FluentHelper filter.
    • startsWith

      @Nonnull default ValueBoolean.Expression startsWith(@Nonnull ValueCollection operand)
      Filter by expression "startsWith".
      Parameters:
      operand - Only operand of collection type.
      Returns:
      The FluentHelper filter.
    • startsWith

      @Nonnull default ValueBoolean.Expression startsWith(@Nonnull Iterable<?> operand)
      Filter by expression "startsWith".
      Parameters:
      operand - Only operand of Java iterable.
      Returns:
      The FluentHelper filter.
    • endsWith

      @Nonnull default ValueBoolean.Expression endsWith(@Nonnull ValueCollection operand)
      Filter by expression "endsWith".
      Parameters:
      operand - Only operand of collection type.
      Returns:
      The FluentHelper filter.
    • endsWith

      @Nonnull default ValueBoolean.Expression endsWith(@Nonnull Iterable<?> operand)
      Filter by expression "endsWith".
      Parameters:
      operand - Only operand of Java iterable.
      Returns:
      The FluentHelper filter.
    • indexOf

      @Nonnull default ValueNumeric.Expression indexOf(@Nonnull ValueCollection operand)
      Filter by expression "indexOf".
      Parameters:
      operand - Only operand of collection type.
      Returns:
      The FluentHelper filter.
    • indexOf

      @Nonnull default ValueNumeric.Expression indexOf(@Nonnull Iterable<?> operand)
      Filter by expression "indexOf".
      Parameters:
      operand - Only operand of Java iterable.
      Returns:
      The FluentHelper filter.
    • concat

      @Nonnull default ValueCollection.Expression concat(@Nonnull ValueCollection operand)
      Filter by expression "concat".
      Parameters:
      operand - Only operand of collection type.
      Returns:
      The FluentHelper filter.
    • concat

      @Nonnull default ValueCollection.Expression concat(@Nonnull Iterable<?> operand)
      Filter by expression "concat".
      Parameters:
      operand - Only operand of Java iterable.
      Returns:
      The FluentHelper filter.
    • length

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

      @Nonnull default ValueCollection.Expression substring(@Nonnull Integer operand)
      Filter by expression "substring".
      Parameters:
      operand - Only operand of Integer type.
      Returns:
      The FluentHelper filter.
    • substring

      @Nonnull default ValueCollection.Expression substring(@Nonnull Integer operandIndex, @Nonnull Integer operandLength)
      Filter by expression "substring".
      Parameters:
      operandIndex - Operand of Integer type to mark the start of the subset.
      operandLength - Operand of Integer type to mark the size of the subset.
      Returns:
      The FluentHelper filter.
    • all

      @Nonnull default ValueBoolean.Expression all(@Nonnull ValueBoolean operand)
      Filter by lambda expression "all".
      Parameters:
      operand - Operand to provide a generic filter to the collection item.
      Returns:
      The FluentHelper filter.
    • any

      @Nonnull default ValueBoolean.Expression any(@Nonnull ValueBoolean operand)
      Filter by lambda expression "any".
      Parameters:
      operand - Operand to provide a generic filter to the collection item.
      Returns:
      The FluentHelper filter.
    • any

      @Nonnull default ValueBoolean.Expression any()
      Filter by lambda expression "any", for finding non-empty collections.
      Returns:
      The FluentHelper filter.