Package org.apache.tika.eval.app.db
Class H2Util
java.lang.Object
org.apache.tika.eval.app.db.JDBCUtil
org.apache.tika.eval.app.db.H2Util
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.tika.eval.app.db.JDBCUtil
JDBCUtil.CREATE_TABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
databaseExists
(Path db) boolean
dropTableIfExists
(Connection conn, String tableName) JDBC driver class.getTables
(Connection connection) Methods inherited from class org.apache.tika.eval.app.db.JDBCUtil
batchInsert, containsTable, createTables, getConnection, insert, updateInsertStatement
-
Constructor Details
-
H2Util
-
-
Method Details
-
databaseExists
-
getJDBCDriverClass
Description copied from class:JDBCUtil
JDBC driver class. Override as necessary.- Overrides:
getJDBCDriverClass
in classJDBCUtil
- Returns:
-
dropTableIfExists
- Overrides:
dropTableIfExists
in classJDBCUtil
- Throws:
SQLException
-
getConnectionString
- Overrides:
getConnectionString
in classJDBCUtil
-
getTables
- Overrides:
getTables
in classJDBCUtil
- Throws:
SQLException
-