Package net.postgis.jdbc
Class PGgeometryLW
java.lang.Object
org.postgresql.util.PGobject
net.postgis.jdbc.PGgeo
net.postgis.jdbc.PGgeometry
net.postgis.jdbc.PGgeometryLW
- All Implemented Interfaces:
Serializable,Cloneable
A PostgreSQL JDBC PGobject extension data type modeling the geometry type.
The hex-encoded EWKB format is used to communicate with the backend, which is much more efficient,
but only works with Lwgeom enabled PostGIS (1.0.0 and up).
- Author:
- Phillip Ross
- See Also:
-
Field Summary
Fields inherited from class org.postgresql.util.PGobject
type, value -
Constructor Summary
ConstructorsConstructorDescriptionInstantiate with default state.PGgeometryLW(String value) Instantiate with the specified state.PGgeometryLW(Geometry geometry) Instantiate with the specified state. -
Method Summary
Methods inherited from class net.postgis.jdbc.PGgeo
getGeometry, getGeoType, setGeometry, setValue, toStringMethods inherited from class org.postgresql.util.PGobject
equals, equals, getType, hashCode, isNull, setType
-
Constructor Details
-
PGgeometryLW
public PGgeometryLW()Instantiate with default state. -
PGgeometryLW
Instantiate with the specified state.- Parameters:
geometry- the geometry to instantiate with
-
PGgeometryLW
Instantiate with the specified state.- Parameters:
value- the value to instantiate with- Throws:
SQLException
-
-
Method Details
-
getValue
-
clone
- Overrides:
clonein classPGgeometry
-