@Override
    public void close() {
      try {
        statement.close();
      } catch (SQLException e) {
        throw new IllegalStateException("Could not close mbtiles file", e);
      }
    }
Iterates through the results of a query one at a time without materializing the entire list in memory.
planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Mbtiles.java