T - The type of the created objectpublic interface ObjectCreator<T>
T
from the current row of a ResultSet.| Modifier and Type | Interface and Description |
|---|---|
static class |
ObjectCreator.IntegerCreator
Creates a single integer from a result set.
|
static class |
ObjectCreator.StringCreator
Creates a single
String from a result set. |
| Modifier and Type | Field and Description |
|---|---|
static ObjectCreator.IntegerCreator |
INTEGER_CREATOR
A default integer creator.
|
static ObjectCreator.StringCreator |
STRING_CREATOR
A default string creator.
|
| Modifier and Type | Method and Description |
|---|---|
T |
createObject(ResultSet resultSet)
Creates a new object from the current row in the given result set.
|
static final ObjectCreator.IntegerCreator INTEGER_CREATOR
static final ObjectCreator.StringCreator STRING_CREATOR
T createObject(ResultSet resultSet) throws SQLException
resultSet - The result set to create a new object fromnull if the result set is not on a valid row, i.e. if the
result set is empty or there are no more rows left in itSQLException - if an SQL error occursCopyright © 2026. All rights reserved.