Class DBAddress
- java.lang.Object
-
- org.citydb.citygml.importer.database.content.DBAddress
-
- All Implemented Interfaces:
DBImporter
public class DBAddress extends java.lang.Object implements DBImporter
-
-
Constructor Summary
Constructors Constructor Description DBAddress(java.sql.Connection batchConn, Config config, CityGMLImportManager importer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected long
doImport(org.citygml4j.model.citygml.core.Address address)
void
executeBatch()
void
importBridgeAddress(org.citygml4j.model.citygml.core.Address address, long parentId)
void
importBuildingAddress(org.citygml4j.model.citygml.core.Address address, long parentId)
-
-
-
Constructor Detail
-
DBAddress
public DBAddress(java.sql.Connection batchConn, Config config, CityGMLImportManager importer) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
-
Method Detail
-
doImport
protected long doImport(org.citygml4j.model.citygml.core.Address address) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
importBuildingAddress
public void importBuildingAddress(org.citygml4j.model.citygml.core.Address address, long parentId) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
importBridgeAddress
public void importBridgeAddress(org.citygml4j.model.citygml.core.Address address, long parentId) 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
-
-