Interface FilterableComparisonRelative

All Superinterfaces:
Expressions.Operand
All Known Subinterfaces:
FieldUntyped, ValueCollection, ValueDate, ValueDateTime, ValueDateTimeOffset, ValueDuration, ValueGuid, ValueNumeric, ValueString, ValueTimeOfDay
All Known Implementing Classes:
ValueCollection.Expression, ValueDate.Expression, ValueDateTime.Expression, ValueDateTimeOffset.Expression, ValueDuration.Expression, ValueNumeric.Expression, ValueString.Expression, ValueTimeOfDay.Expression

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

    • lessThan

      @Nonnull default ValueBoolean lessThan(@Nonnull Expressions.Operand operand)
      Filter by expression "lt".
      Parameters:
      operand - The generic operand to compare with.
      Returns:
      The FluentHelper filter.
    • lessThan

      @Nonnull default ValueBoolean lessThan(@Nonnull Object operand)
      Filter by expression "lt".
      Parameters:
      operand - The generic object to compare with.
      Returns:
      The FluentHelper filter.
      Throws:
      IllegalArgumentException - When there is no mapping found for the provided Java literal.
    • lessThanEqual

      @Nonnull default ValueBoolean lessThanEqual(@Nonnull Expressions.Operand operand)
      Filter by expression "le".
      Parameters:
      operand - The generic operand to compare with.
      Returns:
      The FluentHelper filter.
    • lessThanEqual

      @Nonnull default ValueBoolean lessThanEqual(@Nonnull Object operand)
      Filter by expression "le".
      Parameters:
      operand - The generic object to compare with.
      Returns:
      The FluentHelper filter.
      Throws:
      IllegalArgumentException - When there is no mapping found for the provided Java literal.
    • greaterThan

      @Nonnull default ValueBoolean greaterThan(@Nonnull Expressions.Operand operand)
      Filter by expression "gt".
      Parameters:
      operand - The generic operand to compare with.
      Returns:
      The FluentHelper filter.
    • greaterThan

      @Nonnull default ValueBoolean greaterThan(@Nonnull Object operand)
      Filter by expression "gt".
      Parameters:
      operand - The generic object to compare with.
      Returns:
      The FluentHelper filter.
      Throws:
      IllegalArgumentException - When there is no mapping found for the provided Java literal.
    • greaterThanEqual

      @Nonnull default ValueBoolean greaterThanEqual(@Nonnull Expressions.Operand operand)
      Filter by expression "ge".
      Parameters:
      operand - The generic operand to compare with.
      Returns:
      The FluentHelper filter.
    • greaterThanEqual

      @Nonnull default ValueBoolean greaterThanEqual(@Nonnull Object operand)
      Filter by expression "ge".
      Parameters:
      operand - The generic object to compare with.
      Returns:
      The FluentHelper filter.
      Throws:
      IllegalArgumentException - When there is no mapping found for the provided Java literal.