Class GTSpatialiteThreadsafeDb
- java.lang.Object
-
- org.hortonmachine.dbs.compat.ADb
-
- org.hortonmachine.dbs.compat.ASpatialDb
-
- org.hortonmachine.dbs.spatialite.hm.SpatialiteDb
-
- org.hortonmachine.dbs.spatialite.hm.SpatialiteThreadsafeDb
-
- org.hortonmachine.gears.spatialite.GTSpatialiteThreadsafeDb
-
- All Implemented Interfaces:
AutoCloseable,IVisitableDb
public class GTSpatialiteThreadsafeDb extends SpatialiteThreadsafeDb
A spatialite database threadsafe on writing (see package javadoc for more info).- Author:
- Andrea Antonello (www.hydrologis.com)
-
-
Field Summary
-
Fields inherited from class org.hortonmachine.dbs.compat.ASpatialDb
DEFAULT_GEOM_FIELD_NAME, supportsSpatialIndex
-
Fields inherited from class org.hortonmachine.dbs.compat.ADb
makePooled, mDbPath, mPrintInfos, password, user
-
-
Constructor Summary
Constructors Constructor Description GTSpatialiteThreadsafeDb()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteSqlFile(File file, int chunks, boolean eachLineAnSql)Execute a insert/update sql file.org.geotools.geometry.jts.ReferencedEnvelopegetTableBounds(String tableName)-
Methods inherited from class org.hortonmachine.dbs.spatialite.hm.SpatialiteThreadsafeDb
addGeometryXYColumnAndIndex, addGeometryXYColumnAndIndex, createIndex, createTable, deleteGeoTable, executeInsertUpdateDeleteSql, insertGeometry, lockWrite, unlockWrite
-
Methods inherited from class org.hortonmachine.dbs.spatialite.hm.SpatialiteDb
accept, close, createSpatialTable, getConnectionData, getConnectionInternal, getDbInfo, getForeignKeys, getGeojsonIn, getGeometryColumnsForTable, getIndexes, getJdbcConnection, getJdbcUrlPre, getSpatialindexBBoxWherePiece, getSpatialindexGeometryWherePiece, getTableColumns, getTableRecordsMapFromRawSql, getTableRecordsMapIn, getTables, getTablesMap, getTableType, getType, hasTable, initSpatialMetadata, logDebug, logInfo, logWarn, open, open, runRawSqlToCsv, setCredentials
-
Methods inherited from class org.hortonmachine.dbs.compat.ASpatialDb
createSpatialIndex, createSpatialTable, getGeometriesIn, getGeometriesIn, isTableSpatial, reproject, reproject, runSql
-
Methods inherited from class org.hortonmachine.dbs.compat.ADb
addNewColumn, escapeSql, execOnConnection, execOnResultSet, executeInsertUpdateDeletePreparedSql, executeSelect, getCount, getDatabasePath, getIndexSql, getLong, getMax, getProperColumnNameCase, getProperTableNameCase, setMakePooled
-
-
-
-
Method Detail
-
getTableBounds
public org.geotools.geometry.jts.ReferencedEnvelope getTableBounds(String tableName) throws Exception
- Overrides:
getTableBoundsin classSpatialiteDb- Throws:
Exception
-
-