Package org.geotools.data.db2
Class DB2Util
- Object
-
- DB2Util
-
public class DB2Util extends Object
-
-
Constructor Summary
Constructors Constructor Description DB2Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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
-
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
-
-