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