migratool.datasources.geometric
Class GeometricOriginDataSource
java.lang.Object
migratool.datasources.AbstractOriginDataSource
migratool.datasources.geometric.GeometricOriginDataSource
public class GeometricOriginDataSource
- extends AbstractOriginDataSource
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
Method Summary |
LogicTable |
getData()
Retorna um Tabela l�gica contendo na os metadados e os dados |
java.util.Collection |
getDataTable()
Retorna uma cole��o de registros semelhante ao iGIS |
oracle.sdoapi.adapter.GeometryAdapter |
getGeometryAdapter()
M�todo que usa um adaptador de geometrias para o Oracle |
java.util.Collection |
loadFields(java.sql.ResultSetMetaData rsmd)
Retorna o conjunto de fields de um ResultSetMetaData |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GeometricOriginDataSource
public GeometricOriginDataSource(BDdescription fromDescrition)
getDataTable
public java.util.Collection getDataTable()
throws DataSourceException,
igis.datasources.DataSourceException
- Description copied from class:
AbstractOriginDataSource
- Retorna uma cole��o de registros semelhante ao iGIS
- Specified by:
getDataTable
in class AbstractOriginDataSource
- Returns:
- Collection contendo os resultados como atributos.
- Throws:
DataSourceException
getGeometryAdapter
public oracle.sdoapi.adapter.GeometryAdapter getGeometryAdapter()
- M�todo que usa um adaptador de geometrias para o Oracle
- Parameters:
dataSource
- A fonte de dadoscon
- A conex�o
- Returns:
- O adaptador
loadFields
public java.util.Collection loadFields(java.sql.ResultSetMetaData rsmd)
throws java.sql.SQLException
- Retorna o conjunto de fields de um ResultSetMetaData
- Parameters:
rsmd
- Os metadados de uma consulta
- Returns:
- Iterador com objetos do tipo field
- Throws:
java.sql.SQLException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getData
public LogicTable getData()
- Description copied from class:
AbstractOriginDataSource
- Retorna um Tabela l�gica contendo na os metadados e os dados
- Specified by:
getData
in class AbstractOriginDataSource
- Returns:
- logicTable contendo os resultados como atributos.
Copyright © 2005-2007 InteliGIS. All Rights Reserved.