Skip navigation links
C D G H I N P S U 

C

connect() - Method in class net.digger.db.H2Helper
Opens and returns a connection to the database.
connect(String, String) - Method in class net.digger.db.H2Helper
Opens and returns a connection to the database as given user.

D

doBatchUpdate(String, H2Helper.PrepareCallback) - Method in class net.digger.db.H2Helper
Perform database batch update transaction, doing Connection and PreparedStatement setup and cleanup.
doBatchUpdate(Connection, String, H2Helper.PrepareCallback) - Method in class net.digger.db.H2Helper
Perform database batch update transaction, doing PreparedStatement setup and cleanup.
doQuery(String, H2Helper.PrepareCallback, H2Helper.ResultCallback<T>) - Method in class net.digger.db.H2Helper
Perform database query, doing Connection, PreparedStatement and ResultSet setup and cleanup.
doQuery(Connection, String, H2Helper.PrepareCallback, H2Helper.ResultCallback<T>) - Method in class net.digger.db.H2Helper
Perform database query, doing PreparedStatement and ResultSet setup and cleanup.
doUpdate(String, H2Helper.PrepareCallback) - Method in class net.digger.db.H2Helper
Perform database update, doing Connection and PreparedStatement setup and cleanup.
doUpdate(Connection, String, H2Helper.PrepareCallback) - Method in class net.digger.db.H2Helper
Perform database update, doing PreparedStatement setup and cleanup.
doUpdate(String, H2Helper.PrepareCallback, H2Helper.GeneratedKeysCallback<T>) - Method in class net.digger.db.H2Helper
Perform database update, doing Connection, PreparedStatement and ResultSet setup and cleanup.
doUpdate(Connection, String, H2Helper.PrepareCallback, H2Helper.GeneratedKeysCallback<T>) - Method in class net.digger.db.H2Helper
Perform database update, doing PreparedStatement and ResultSet setup and cleanup.

G

getConnUrl() - Method in class net.digger.db.H2Helper
Returns the connection url used to connect to the database.

H

H2Helper - Class in net.digger.db
Utility class for H2 Database.
H2Helper(String) - Constructor for class net.digger.db.H2Helper
Create instance of H2DB using given connection URL, and initialize table version table.
H2Helper(Path) - Constructor for class net.digger.db.H2Helper
Create instance of H2DB using given database, and initialize table version table.
H2Helper(Path, Map<String, String>) - Constructor for class net.digger.db.H2Helper
Create instance of H2DB using given database and options, and initialize table version table.
H2Helper(Path, Map<String, String>, String, String) - Constructor for class net.digger.db.H2Helper
Create instance of H2DB using given database, options and login credentials, and initialize table version table.
H2Helper.GeneratedKeysCallback<T> - Interface in net.digger.db
Callback used for processing update generated keys ResultSet.
H2Helper.PrepareCallback - Interface in net.digger.db
Callback used for working with PreparedStatement before executing query.
H2Helper.ResultCallback<T> - Interface in net.digger.db
Callback used for processing query ResultSet.
H2Helper.UpgradeCallback - Interface in net.digger.db
Callback used for creating and upgrading database tables.

I

initTable(String, int, H2Helper.UpgradeCallback) - Method in class net.digger.db.H2Helper
Checks the version of the given table against the given version, and calls the upgrade callback if necessary.

N

net.digger.db - package net.digger.db
 

P

prepare(PreparedStatement) - Method in interface net.digger.db.H2Helper.PrepareCallback
 
process(int, ResultSet) - Method in interface net.digger.db.H2Helper.GeneratedKeysCallback
 
process(ResultSet) - Method in interface net.digger.db.H2Helper.ResultCallback
 

S

setCredentials(String, String) - Method in class net.digger.db.H2Helper
Sets login credentials to be used by connect() and other methods which do not have a Connection argument.

U

upgrade(Connection, Integer) - Method in interface net.digger.db.H2Helper.UpgradeCallback
 
C D G H I N P S U 
Skip navigation links

Copyright © 2018. All rights reserved.