Class DBAddressToBuilding
- java.lang.Object
-
- org.citydb.citygml.importer.database.content.DBAddressToBuilding
-
- All Implemented Interfaces:
DBImporter
public class DBAddressToBuilding extends java.lang.Object implements DBImporter
-
-
Constructor Summary
Constructors Constructor Description DBAddressToBuilding(java.sql.Connection batchConn, Config config, CityGMLImportManager importer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
doImport(long addressId, long buildingId)
void
executeBatch()
-
-
-
Constructor Detail
-
DBAddressToBuilding
public DBAddressToBuilding(java.sql.Connection batchConn, Config config, CityGMLImportManager importer) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-
Method Detail
-
doImport
protected void doImport(long addressId, long buildingId) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
executeBatch
public void executeBatch() throws CityGMLImportException, java.sql.SQLException
- Specified by:
executeBatch
in interfaceDBImporter
- Throws:
CityGMLImportException
java.sql.SQLException
-
close
public void close() throws CityGMLImportException, java.sql.SQLException
- Specified by:
close
in interfaceDBImporter
- Throws:
CityGMLImportException
java.sql.SQLException
-
-