Class DBCityObject
- java.lang.Object
-
- org.citydb.citygml.importer.database.content.DBCityObject
-
- All Implemented Interfaces:
DBImporter
public class DBCityObject extends java.lang.Object implements DBImporter
-
-
Constructor Summary
Constructors Constructor Description DBCityObject(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.gml.base.AbstractGML object)
protected long
doImport(org.citygml4j.model.gml.base.AbstractGML object, AbstractObjectType<?> objectType)
void
executeBatch()
-
-
-
Constructor Detail
-
DBCityObject
public DBCityObject(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.gml.base.AbstractGML object) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
doImport
protected long doImport(org.citygml4j.model.gml.base.AbstractGML object, AbstractObjectType<?> objectType) 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
-
-