Interface ComparableExpression<T>

Type Parameters:
T - Java type being represented here
All Superinterfaces:
Expression<T>
All Known Subinterfaces:
BooleanExpression, ByteExpression, CharacterExpression, DateExpression, DateTimeExpression, EnumExpression<T>, GeometryCollectionExpression<T>, GeometryExpression<T>, IfThenElseExpression<T>, LinearRingExpression<T>, LineStringExpression<T>, LocalDateExpression, LocalDateTimeExpression, LocalTimeExpression, MultiLineStringExpression<T>, MultiPointExpression<T>, MultiPolygonExpression<T>, NumericExpression<T>, OptionalExpression<T>, PointExpression<T>, PolygonExpression<T>, StringExpression, TimeExpression

public interface ComparableExpression<T> extends Expression<T>
Representation of an expression for a Java type that implements java.lang.Comparable.
  • Method Details

    • lt

      Method returning whether this expression is less than the other expression.
      Parameters:
      expr - Other expression
      Returns:
      Whether this is less than the other
    • lt

      Method returning whether this expression is less than the literal.
      Parameters:
      t - literal
      Returns:
      Whether this is less than the other
    • lteq

      BooleanExpression lteq(ComparableExpression<? extends T> expr)
      Method returning whether this expression is less than or equal the other expression.
      Parameters:
      expr - Other expression
      Returns:
      Whether this is less than or equal the other
    • lteq

      Method returning whether this expression is less than or equal the literal.
      Parameters:
      t - literal
      Returns:
      Whether this is less than or equal the other
    • gt

      Method returning whether this expression is greater than the other expression.
      Parameters:
      expr - Other expression
      Returns:
      Whether this is greater than the other
    • gt

      Method returning whether this expression is greater than the literal.
      Parameters:
      t - literal
      Returns:
      Whether this is greater than the other
    • gteq

      BooleanExpression gteq(ComparableExpression<? extends T> expr)
      Method returning whether this expression is greater than or equal the other expression.
      Parameters:
      expr - Other expression
      Returns:
      Whether this is greater than or equal to the other
    • gteq

      Method returning whether this expression is greater than or equal the literal.
      Parameters:
      t - literal
      Returns:
      Whether this is greater than or equal to the other
    • min

      Method to return a numeric expression representing the aggregated minimum of this expression.
      Returns:
      Numeric expression for the minimum
    • max

      Method to return a numeric expression representing the aggregated maximum of this expression.
      Returns:
      Numeric expression for the maximum
    • asc

      Method to return an order expression for this expression in ascending order.
      Returns:
      The order expression
    • desc

      Method to return an order expression for this expression in descending order.
      Returns:
      The order expression