public class ResultSetParseHelper extends Object implements AutoCloseable
ResultSet to a tree like / object based data structure.
ResultSet must be scrollable| Modifier and Type | Class and Description |
|---|---|
static class |
ResultSetParseHelper.Cursor<I,M,P>
The cursor is the access point to database and create java objects
|
static interface |
ResultSetParseHelper.IRecordParser<I,M,P,B>
A record parser extract data from
ResultSet and provide the data object with parsed values. |
protected class |
ResultSetParseHelper.Node |
static class |
ResultSetParseHelper.ResultSetParseHelperBuilder<B,I,M,P>
Builder to build a
ResultSetParseHelper |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PHASE |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the parser helper.
|
void |
parse(PreparedStatement preparedStatement,
Object root,
int mainPhaseSize) |
ResultSetParseHelper |
setUnclosable() |
public static final String DEFAULT_PHASE
public ResultSetParseHelper setUnclosable()
public void parse(PreparedStatement preparedStatement, Object root, int mainPhaseSize) throws Exception
Exceptionpublic void close()
close in interface AutoCloseableCopyright © 2020. All rights reserved.