E - - the column's element typeB - - the ColumnBuilder typepublic interface IFromResultSet<E,B extends ColumnBuilder<E>>
ResultSet into a Column
via a ColumnBuilder.
A number of pre-canned implementations have been provided:
| Modifier and Type | Method and Description |
|---|---|
void |
get(ResultSet rs,
int columnIndex,
B builder)
Gets one elements from the
ResultSet at the current row, for the
specified column, and adds it to the builder. |
ColumnType<E> |
getColumnType()
|
ColumnType<E> getColumnType()
ColumnType used to create the ColumnBuildervoid get(ResultSet rs, int columnIndex, B builder) throws SQLException
ResultSet at the current row, for the
specified column, and adds it to the builder.rs - - the ResultSetcolumnIndex - - one-based index of a column in the ResultSetbuilder - - the ColumnBuilder into which elements are addedSQLException - if some SQL or database error occursCopyright © 2020. All rights reserved.