org.postgis
Class PGgeometryLW
java.lang.Object
org.postgresql.util.PGobject
org.postgis.PGgeometry
org.postgis.PGgeometryLW
- All Implemented Interfaces:
- java.io.Serializable, java.lang.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
Fields inherited from class org.postgresql.util.PGobject |
type, value |
Methods inherited from class org.postgresql.util.PGobject |
equals, getType, setType |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PGgeometryLW
public PGgeometryLW()
PGgeometryLW
public PGgeometryLW(Geometry geom)
PGgeometryLW
public PGgeometryLW(java.lang.String value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
toString
public java.lang.String toString()
- Overrides:
toString
in class PGgeometry
getValue
public java.lang.String getValue()
- Overrides:
getValue
in class PGgeometry
clone
public java.lang.Object clone()
- Overrides:
clone
in class PGgeometry