migratool.datasources
Class AbstractDestinationDataSource
java.lang.Object
migratool.datasources.AbstractDestinationDataSource
- Direct Known Subclasses:
- DestinationDataSource, GeometricDestinationDataSource, GeomTextFileDestinationDataSource
public abstract class AbstractDestinationDataSource
- extends java.lang.Object
MIGRATOOL Program to migrate spatial databsets.
Copyright (C) 2007 Fábio Luiz Leite Júnior
Universidade Federal de Campina Grande
contact: fabioleite@gmail.com
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Author:
- fabio
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dbAccess
protected Connector dbAccess
dbConnection
protected java.sql.Connection dbConnection
destinationDescrition
protected BDdescription destinationDescrition
INITIAL_COLUMN
public static int INITIAL_COLUMN
AbstractDestinationDataSource
public AbstractDestinationDataSource()
closeConnetion
public void closeConnetion()
throws MigDestinationDataSourceException
- Throws:
MigDestinationDataSourceException
addData
public abstract void addData(java.util.ArrayList data)
throws MigDestinationDataSourceException
- Throws:
MigDestinationDataSourceException
generateVariables
protected java.lang.String generateVariables(int quantVariable)
- Parameters:
i
-
- Returns:
testDataBase
public boolean testDataBase()
generateColumnNames
protected java.lang.String generateColumnNames(java.sql.ResultSetMetaData rsmd)
throws java.sql.SQLException
- Parameters:
rsmd
-
- Returns:
-
- Throws:
java.sql.SQLException
Copyright © 2005-2007 InteliGIS. All Rights Reserved.