Last active
September 20, 2016 22:24
-
-
Save nwillc/c0ad9950e3490a4975d2834fadea2708 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@FunctionalInterface | |
public interface Extractor<T> { | |
/** | |
* Extract type T from the current position in the ResultSet. | |
* | |
* @param rs the ResultSet to extract from | |
* @return the type T extracted | |
* @throws SQLException should the extraction fail | |
*/ | |
T extract(ResultSet rs) throws SQLException; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment