Package org.postgis
Class PGgeometryLW
- java.lang.Object
-
- org.postgresql.util.PGobject
-
- org.postgis.PGgeometry
-
- org.postgis.PGgeometryLW
-
- All Implemented Interfaces:
Serializable,Cloneable
public class PGgeometryLW extends PGgeometry
This is a subclas of PGgeometry that uses hex encoded EWKB to communicate with the backend, which is much more efficient, but only works with Lwgeom enabled PostGIS (1.0.0 and up).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.postgis.PGgeometry
SRIDPREFIX
-
-
Constructor Summary
Constructors Constructor Description PGgeometryLW()PGgeometryLW(String value)PGgeometryLW(Geometry geom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()StringgetValue()StringtoString()-
Methods inherited from class org.postgis.PGgeometry
geomFromString, geomFromString, geomFromString, geomFromString, getGeometry, getGeoType, setGeometry, setValue, splitSRID
-
-
-
-
Constructor Detail
-
PGgeometryLW
public PGgeometryLW()
-
PGgeometryLW
public PGgeometryLW(Geometry geom)
-
PGgeometryLW
public PGgeometryLW(String value) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classPGgeometry
-
getValue
public String getValue()
- Overrides:
getValuein classPGgeometry
-
clone
public Object clone()
- Overrides:
clonein classPGgeometry
-
-