org.geotools.data.db2
Class DB2Util

Object
  extended by DB2Util

public class DB2Util
extends Object


Constructor Summary
DB2Util()
           
 
Method Summary
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(Geometry geom, int srid, Class binding, StringBuffer sql)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DB2Util

public DB2Util()
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

getCastExpression

public static String getCastExpression(Class aClass)

prepareGeometryValue

public static void prepareGeometryValue(Geometry geom,
                                        int srid,
                                        Class binding,
                                        StringBuffer sql)

encodeGeometryValue

public static void encodeGeometryValue(Geometry value,
                                       int srid,
                                       StringBuffer sql)
                                throws IOException
Throws:
IOException


Copyright © 1996-2014 Geotools. All Rights Reserved.