Package javax.jdo.query.geospatial
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeometryExpression
getEndPoint()
Returns the last point of the CurveGeometryExpression
getPointN(NumericExpression position)
Returns the nth Point in the LineString.GeometryExpression
getStartPoint()
Returns the first point of the CurveBooleanExpression
isClosed()
Returns TRUE if Curve/MultiCurve is closed, i.e., if StartPoint(Curve) = EndPoint(Curve).BooleanExpression
isRing()
Returns TRUE if Curve/MultiCurve is closed and simple.-
Methods inherited from interface javax.jdo.query.ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
-
Methods inherited from interface javax.jdo.query.Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
-
Methods inherited from interface javax.jdo.query.geospatial.GeometryExpression
buffer, contains, convexHull, crosses, difference, disjoint, distance, equals, getArea, getBoundary, getCentroid, getDimension, getEnvelope, getGeometryN, getGeometryType, getLength, getNumGeometries, getNumPoints, getPointOnSurface, getSRID, intersection, intersects, isEmpty, isSimple, overlaps, relate, symDifference, toBinary, toText, touches, union, within
-
-
-
-
Method Detail
-
isRing
BooleanExpression 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
GeometryExpression getPointN(NumericExpression position)
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
-
-