Interface LineStringExpression<T>

All Superinterfaces:
ComparableExpression<T>, Expression<T>, GeometryExpression<T>

public interface LineStringExpression<T> extends GeometryExpression<T>
Representation of a LineString expression. Note that this is not part of the JDO spec, but a vendor extension to allow JDOQLTyped handling for geometry types.
  • Method Details

    • isRing

      Returns TRUE if Curve/MultiCurve is closed and simple.
      Returns:
      Whether it is closed and simple
    • getStartPoint

      GeometryExpression getStartPoint()
      Returns the first point of the Curve
      Returns:
      The first point
    • getPointN

      Returns the nth Point in the LineString.
      Parameters:
      position - The "n"
      Returns:
      The nth Point of the LineString
    • getEndPoint

      GeometryExpression getEndPoint()
      Returns the last point of the Curve
      Returns:
      The last point
    • isClosed

      BooleanExpression isClosed()
      Returns TRUE if Curve/MultiCurve is closed, i.e., if StartPoint(Curve) = EndPoint(Curve).
      Returns:
      Whether it is closed