Class Storage
java.lang.Object
org.openprovenance.prov.service.Storage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddisplayResultSet(ResultSet resultSet) voidexecuteQuery(Connection conn) executeQuery(Connection conn, String statements) booleanexecuteStatements(Connection conn, String statements) getQuerier(Connection conn) static StringgetStringFromClasspath(Class<?> clazz, String propFileName) booleaninitializeDB(Connection conn) voidisSingleRow(ResultSet rs)
-
Field Details
-
SQL_FILE_NAME
-
PROV_SUSTAINABILITY_WEBAPP_CONFIG_PROPERTIES
- See Also:
-
-
Constructor Details
-
Storage
public Storage()
-
-
Method Details
-
setup
-
getStringFromClasspath
-
initializeDB
- Throws:
SQLException
-
executeStatements
- Throws:
SQLException
-
executeQuery
- Throws:
SQLException
-
executeQuery
- Throws:
SQLException
-
getQuerier
-
displayResultSet
- Throws:
SQLException
-
isSingleRow
- Throws:
SQLException
-