File tree 2 files changed +2
-20
lines changed
oshdb-api/src/main/java/org/heigit/ohsome/oshdb/api/db
2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 1
1
package org .heigit .ohsome .oshdb .api .db ;
2
2
3
+ import static java .util .Optional .ofNullable ;
4
+
3
5
import java .nio .file .Path ;
4
- import java .sql .Connection ;
5
- import java .sql .DriverManager ;
6
- import java .sql .ResultSet ;
7
- import java .sql .SQLException ;
8
- import java .sql .Statement ;
9
- import java .util .ArrayList ;
10
- import java .util .List ;
11
- import java .util .Optional ;
12
- import java .util .Set ;
13
- import java .util .function .Consumer ;
14
- import java .util .stream .Collectors ;
15
- import java .util .stream .Stream ;
16
6
import javax .sql .DataSource ;
17
7
import org .h2 .jdbcx .JdbcConnectionPool ;
18
- import org .h2 .jdbcx .JdbcDataSource ;
19
- import org .heigit .ohsome .oshdb .OSHDB ;
20
- import org .heigit .ohsome .oshdb .util .TableNames ;
21
- import org .heigit .ohsome .oshdb .util .exceptions .OSHDBException ;
22
-
23
- import static java .util .Optional .ofNullable ;
24
8
25
9
/**
26
10
* OSHDB database backend connector to a H2 database.
Original file line number Diff line number Diff line change 7
7
import java .sql .ResultSet ;
8
8
import java .sql .SQLException ;
9
9
import java .util .Collection ;
10
- import java .util .HashMap ;
11
10
import java .util .HashSet ;
12
11
import java .util .Optional ;
13
- import java .util .Set ;
14
12
import java .util .stream .Stream ;
15
13
import javax .sql .DataSource ;
16
14
import org .heigit .ohsome .oshdb .api .mapreducer .MapReducer ;
You can’t perform that action at this time.
0 commit comments