Package org.geotools.data.db2
Class DB2Util
Object
DB2Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
encodeGeometryValue
(Geometry value, int srid, StringBuffer sql) static void
executeRegister
(String schemaName, String tableName, String columnName, String srsName, Connection con) static void
executeRegisterAndCalculateExtent
(String schemaName, String tableName, String columnName, String srsName, Connection con) static void
executeUnRegister
(String schemaName, String tableName, String columnName, Connection con) static String
getCastExpression
(Class aClass) static void
prepareGeometryValue
(Class<? extends Geometry> gClass, int srid, Class binding, StringBuffer sql)
-
Constructor Details
-
DB2Util
public DB2Util()
-
-
Method Details
-
executeRegister
public static void executeRegister(String schemaName, String tableName, String columnName, String srsName, Connection con) throws SQLException - Throws:
SQLException
-
executeRegisterAndCalculateExtent
public static void executeRegisterAndCalculateExtent(String schemaName, String tableName, String columnName, String srsName, Connection con) throws SQLException - Throws:
SQLException
-
executeUnRegister
public static void executeUnRegister(String schemaName, String tableName, String columnName, Connection con) throws SQLException - Throws:
SQLException
-
getCastExpression
-
prepareGeometryValue
public static void prepareGeometryValue(Class<? extends Geometry> gClass, int srid, Class binding, StringBuffer sql) -
encodeGeometryValue
public static void encodeGeometryValue(Geometry value, int srid, StringBuffer sql) throws IOException - Throws:
IOException
-