Helper interface for Java to parse ResultSet objects. For Scala, we simply use
executeQuery[R](String, (ResultSet => R)): R
For Java, passing lambda functions is more complicated until Java 8.
So instead, we have a helper interface. Create an object that will parse the ResultSet
and pass it to SQLExecutor.executeQuery().
Helper interface for Java to parse ResultSet objects. For Scala, we simply use executeQuery[R](String, (ResultSet => R)): R
For Java, passing lambda functions is more complicated until Java 8. So instead, we have a helper interface. Create an object that will parse the ResultSet and pass it to SQLExecutor.executeQuery().