Class DBBuilding
- java.lang.Object
-
- org.citydb.citygml.importer.database.content.DBBuilding
-
- All Implemented Interfaces:
DBImporter
public class DBBuilding extends java.lang.Object implements DBImporter
-
-
Constructor Summary
Constructors Constructor Description DBBuilding(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.building.AbstractBuilding building)
long
doImport(org.citygml4j.model.citygml.building.AbstractBuilding building, long parentId, long rootId)
void
executeBatch()
-
-
-
Constructor Detail
-
DBBuilding
public DBBuilding(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.building.AbstractBuilding building) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
doImport
public long doImport(org.citygml4j.model.citygml.building.AbstractBuilding building, long parentId, long rootId) 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
-
-