public class PGgeometry
extends org.postgresql.util.PGobject
| Modifier and Type | Field and Description |
|---|---|
static String |
SRIDPREFIX
The prefix that indicates SRID presence
|
| Constructor and Description |
|---|
PGgeometry() |
PGgeometry(Geometry geom) |
PGgeometry(String value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
static Geometry |
geomFromString(String value) |
static Geometry |
geomFromString(String value,
BinaryParser bp)
Maybe we could add more error checking here?
|
static Geometry |
geomFromString(String value,
BinaryParser bp,
boolean haveM) |
static Geometry |
geomFromString(String value,
boolean haveM) |
Geometry |
getGeometry() |
int |
getGeoType() |
String |
getValue() |
void |
setGeometry(Geometry newgeom) |
void |
setValue(String value) |
static String[] |
splitSRID(String whole)
Splits a String at the first occurrence of border charachter.
|
String |
toString() |
public static final String SRIDPREFIX
public PGgeometry()
public PGgeometry(Geometry geom)
public PGgeometry(String value) throws SQLException
SQLExceptionpublic void setValue(String value) throws SQLException
setValue in class org.postgresql.util.PGobjectSQLExceptionpublic static Geometry geomFromString(String value) throws SQLException
SQLExceptionpublic static Geometry geomFromString(String value, boolean haveM) throws SQLException
SQLExceptionpublic static Geometry geomFromString(String value, BinaryParser bp) throws SQLException
SQLExceptionpublic static Geometry geomFromString(String value, BinaryParser bp, boolean haveM) throws SQLException
SQLExceptionpublic Geometry getGeometry()
public void setGeometry(Geometry newgeom)
public int getGeoType()
public String toString()
toString in class org.postgresql.util.PGobjectpublic String getValue()
getValue in class org.postgresql.util.PGobjectpublic Object clone()
clone in class org.postgresql.util.PGobjectpublic static String[] splitSRID(String whole) throws SQLException
SQLExceptionCopyright © 2014. All rights reserved.