Package cn.mapway.common.geo.postgis
Class WktAdaptor
java.lang.Object
cn.mapway.common.geo.postgis.WktAdaptor
- All Implemented Interfaces:
org.nutz.dao.jdbc.ValueAdaptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.postgis.jdbc.geometry.GeometrygeomFromString(String value, net.postgis.jdbc.geometry.binary.BinaryParser bp, boolean haveM, Integer sridDefine) static voidvoidset(PreparedStatement stat, Object obj, int index)
-
Constructor Details
-
WktAdaptor
-
-
Method Details
-
get
- Specified by:
getin interfaceorg.nutz.dao.jdbc.ValueAdaptor- Throws:
SQLException
-
set
- Specified by:
setin interfaceorg.nutz.dao.jdbc.ValueAdaptor- Throws:
SQLException
-
geomFromString
public static net.postgis.jdbc.geometry.Geometry geomFromString(String value, net.postgis.jdbc.geometry.binary.BinaryParser bp, boolean haveM, Integer sridDefine) throws SQLException - Throws:
SQLException
-
main
-