Class 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)
    • Constructor Detail

      • GTSpatialiteThreadsafeDb

        public GTSpatialiteThreadsafeDb()
    • Method Detail

      • executeSqlFile

        public void executeSqlFile​(File file,
                                   int chunks,
                                   boolean eachLineAnSql)
                            throws Exception
        Execute a insert/update sql file.
        Parameters:
        file - the file to run on this db.
        chunks - commit interval.
        Throws:
        Exception