Package org.geotools.data.db2
Class DB2Util
Object
DB2Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidencodeGeometryValue(Geometry value, int srid, StringBuffer sql) static voidexecuteRegister(String schemaName, String tableName, String columnName, String srsName, Connection con) static voidexecuteRegisterAndCalculateExtent(String schemaName, String tableName, String columnName, String srsName, Connection con) static voidexecuteUnRegister(String schemaName, String tableName, String columnName, Connection con) static StringgetCastExpression(Class aClass) static voidprepareGeometryValue(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
-