Package javax.jdo.query.geospatial
Interface GeospatialHelper
public interface GeospatialHelper
Helper builder for (DataNucleus vendor extension) Geospatial features.
-
Method Summary
Modifier and TypeMethodDescriptiongeometryCollFromText
(String wkt, Integer srid) Construct a GeometryCollectionExpression given its text and SRID values.geometryCollFromText
(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a GeometryCollectionExpression given its text and SRID expressions.geometryCollFromWKB
(Object wkb, Integer srid) Construct a GeometryCollectionExpression given its WKB and SRID values.geometryCollFromWKB
(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a GeometryCollectionExpression given its WKB and SRID expressions.geometryFromText
(String wkt, Integer srid) Construct a GeometryExpression given its text and SRID values.geometryFromText
(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a GeometryExpression given its text and SRID expressions.geometryFromWKB
(Object wkb, Integer srid) Construct a GeometryExpression given its WKB and SRID values.geometryFromWKB
(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a GeometryExpression given its WKB and SRID expressions.lineStringFromText
(String wkt, Integer srid) Construct a LineStringExpression given its text and SRID values.lineStringFromText
(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a LineStringExpression given its text and SRID expressions.lineStringFromWKB
(Object wkb, Integer srid) Construct a LineStringExpression given its WKB and SRID values.lineStringFromWKB
(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a LineStringExpression given its WKB and SRID expressions.multiLineStringFromText
(String wkt, Integer srid) Construct a MultiLineStringExpression given its text and SRID values.multiLineStringFromText
(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a MultiLineStringExpression given its text and SRID expressions.multiLineStringFromWKB
(Object wkb, Integer srid) Construct a MultiLineStringExpression given its WKB and SRID values.multiLineStringFromWKB
(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a MultiLineStringExpression given its WKB and SRID expressions.multiPointFromText
(String wkt, Integer srid) Construct a MultiPointExpression given its text and SRID values.multiPointFromText
(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a MultiPointExpression given its text and SRID expressions.multiPointFromWKB
(Object wkb, Integer srid) Construct a MultiPointExpression given its WKB and SRID values.multiPointFromWKB
(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a MultiPointExpression given its WKB and SRID expressions.multiPolygonFromText
(String wkt, Integer srid) Construct a MultiPolygonExpression given its text and SRID values.multiPolygonFromText
(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a MultiPolygonExpression given its text and SRID expressions.multiPolygonFromWKB
(Object wkb, Integer srid) Construct a MultiPolygonExpression given its WKB and SRID values.multiPolygonFromWKB
(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a MultiPolygonExpression given its WKB and SRID expressions.pointFromText
(String wkt, Integer srid) Construct a PointExpression given its text and SRID values.pointFromText
(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a PointExpression given its text and SRID expressions.pointFromWKB
(Object wkb, Integer srid) Construct a PointExpression given its WKB and SRID values.pointFromWKB
(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a PointExpression given its WKB and SRID expressions.polygonFromText
(String wkt, Integer srid) Construct a PolygonExpression given its text and SRID values.polygonFromText
(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a PolygonExpression given its text and SRID expressions.polygonFromWKB
(Object wkb, Integer srid) Construct a PolygonExpression given its WKB and SRID values.polygonFromWKB
(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a PolygonExpression given its WKB and SRID expressions.
-
Method Details
-
geometryFromText
Construct a GeometryExpression given its text and SRID expressions.- Parameters:
wktExpr
- well known text expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
geometryFromText
Construct a GeometryExpression given its text and SRID values.- Parameters:
wkt
- well known textsrid
- SRID- Returns:
- The geometry expression
-
geometryCollFromText
GeometryCollectionExpression geometryCollFromText(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a GeometryCollectionExpression given its text and SRID expressions.- Parameters:
wktExpr
- well known text expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
geometryCollFromText
Construct a GeometryCollectionExpression given its text and SRID values.- Parameters:
wkt
- well known textsrid
- SRID- Returns:
- The geometry expression
-
pointFromText
Construct a PointExpression given its text and SRID expressions.- Parameters:
wktExpr
- well known text expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
pointFromText
Construct a PointExpression given its text and SRID values.- Parameters:
wkt
- well known textsrid
- SRID- Returns:
- The geometry expression
-
lineStringFromText
LineStringExpression lineStringFromText(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a LineStringExpression given its text and SRID expressions.- Parameters:
wktExpr
- well known text expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
lineStringFromText
Construct a LineStringExpression given its text and SRID values.- Parameters:
wkt
- well known textsrid
- SRID- Returns:
- The geometry expression
-
polygonFromText
Construct a PolygonExpression given its text and SRID expressions.- Parameters:
wktExpr
- well known text expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
polygonFromText
Construct a PolygonExpression given its text and SRID values.- Parameters:
wkt
- well known textsrid
- SRID- Returns:
- The geometry expression
-
multiPointFromText
MultiPointExpression multiPointFromText(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a MultiPointExpression given its text and SRID expressions.- Parameters:
wktExpr
- well known text expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
multiPointFromText
Construct a MultiPointExpression given its text and SRID values.- Parameters:
wkt
- well known textsrid
- SRID- Returns:
- The geometry expression
-
multiLineStringFromText
MultiLineStringExpression multiLineStringFromText(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a MultiLineStringExpression given its text and SRID expressions.- Parameters:
wktExpr
- well known text expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
multiLineStringFromText
Construct a MultiLineStringExpression given its text and SRID values.- Parameters:
wkt
- well known textsrid
- SRID- Returns:
- The geometry expression
-
multiPolygonFromText
MultiPolygonExpression multiPolygonFromText(StringExpression wktExpr, NumericExpression<Integer> sridExpr) Construct a MultiPolygonExpression given its text and SRID expressions.- Parameters:
wktExpr
- well known text expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
multiPolygonFromText
Construct a MultiPolygonExpression given its text and SRID values.- Parameters:
wkt
- well known textsrid
- SRID- Returns:
- The geometry expression
-
geometryFromWKB
Construct a GeometryExpression given its WKB and SRID expressions.- Parameters:
wkbExpr
- well known binary expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
geometryFromWKB
Construct a GeometryExpression given its WKB and SRID values.- Parameters:
wkb
- well known binarysrid
- SRID- Returns:
- The geometry expression
-
geometryCollFromWKB
GeometryCollectionExpression geometryCollFromWKB(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a GeometryCollectionExpression given its WKB and SRID expressions.- Parameters:
wkbExpr
- well known binary expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
geometryCollFromWKB
Construct a GeometryCollectionExpression given its WKB and SRID values.- Parameters:
wkb
- well known binarysrid
- SRID- Returns:
- The geometry expression
-
pointFromWKB
Construct a PointExpression given its WKB and SRID expressions.- Parameters:
wkbExpr
- well known binary expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
pointFromWKB
Construct a PointExpression given its WKB and SRID values.- Parameters:
wkb
- well known binarysrid
- SRID- Returns:
- The geometry expression
-
lineStringFromWKB
LineStringExpression lineStringFromWKB(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a LineStringExpression given its WKB and SRID expressions.- Parameters:
wkbExpr
- well known binary expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
lineStringFromWKB
Construct a LineStringExpression given its WKB and SRID values.- Parameters:
wkb
- well known binarysrid
- SRID- Returns:
- The geometry expression
-
polygonFromWKB
Construct a PolygonExpression given its WKB and SRID expressions.- Parameters:
wkbExpr
- well known binary expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
polygonFromWKB
Construct a PolygonExpression given its WKB and SRID values.- Parameters:
wkb
- well known binarysrid
- SRID- Returns:
- The geometry expression
-
multiPointFromWKB
MultiPointExpression multiPointFromWKB(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a MultiPointExpression given its WKB and SRID expressions.- Parameters:
wkbExpr
- well known binary expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
multiPointFromWKB
Construct a MultiPointExpression given its WKB and SRID values.- Parameters:
wkb
- well known binarysrid
- SRID- Returns:
- The geometry expression
-
multiLineStringFromWKB
MultiLineStringExpression multiLineStringFromWKB(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a MultiLineStringExpression given its WKB and SRID expressions.- Parameters:
wkbExpr
- well known binary expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
multiLineStringFromWKB
Construct a MultiLineStringExpression given its WKB and SRID values.- Parameters:
wkb
- well known binarysrid
- SRID- Returns:
- The geometry expression
-
multiPolygonFromWKB
MultiPolygonExpression multiPolygonFromWKB(ObjectExpression wkbExpr, NumericExpression<Integer> sridExpr) Construct a MultiPolygonExpression given its WKB and SRID expressions.- Parameters:
wkbExpr
- well known binary expressionsridExpr
- SRID expression- Returns:
- The geometry expression
-
multiPolygonFromWKB
Construct a MultiPolygonExpression given its WKB and SRID values.- Parameters:
wkb
- well known binarysrid
- SRID- Returns:
- The geometry expression
-