org.postgis
Class PGgeometryLW

java.lang.Object
  extended by org.postgresql.util.PGobject
      extended by org.postgis.PGgeometry
          extended by 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

Field Summary
 
Fields inherited from class org.postgis.PGgeometry
SRIDPREFIX
 
Fields inherited from class org.postgresql.util.PGobject
type, value
 
Constructor Summary
PGgeometryLW()
           
PGgeometryLW(Geometry geom)
           
PGgeometryLW(java.lang.String value)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class org.postgis.PGgeometry
geomFromString, geomFromString, geomFromString, geomFromString, getGeometry, getGeoType, setGeometry, setValue, splitSRID
 
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
 

Constructor Detail

PGgeometryLW

public PGgeometryLW()

PGgeometryLW

public PGgeometryLW(Geometry geom)

PGgeometryLW

public PGgeometryLW(java.lang.String value)
             throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

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