public class DefaultSqlTypeMapper extends Object implements SqlTypeMapper
| Constructor and Description |
|---|
DefaultSqlTypeMapper() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
blobToByteArray(ResultSet resultSet,
int columnIndex) |
Object |
clobToString(ResultSet resultSet,
int columnIndex) |
Object |
dateToLocalDate(ResultSet resultSet,
int columnIndex) |
Map<Integer,SqlTypeMapper> |
getSqlTypeMappers() |
protected void |
initSqlTypeMappers(Map<Integer,SqlTypeMapper> sqlTypeMappers) |
Object |
offsetDateTime(ResultSet resultSet,
int columnIndex) |
Object |
offsetTime(ResultSet resultSet,
int columnIndex) |
void |
setZoneId(ZoneId zoneId) |
void |
setZoneIdSupplier(BiFunction<ResultSet,Integer,ZoneId> zoneIdSupplier) |
Object |
timestampToLocalDateTime(ResultSet resultSet,
int columnIndex) |
Object |
timeToLocalTime(ResultSet resultSet,
int columnIndex) |
Object |
toObject(ResultSet resultSet,
int columnIndex) |
public void setZoneId(ZoneId zoneId)
public void setZoneIdSupplier(BiFunction<ResultSet,Integer,ZoneId> zoneIdSupplier)
public Map<Integer,SqlTypeMapper> getSqlTypeMappers()
protected void initSqlTypeMappers(Map<Integer,SqlTypeMapper> sqlTypeMappers)
public Object toObject(ResultSet resultSet, int columnIndex) throws SQLException
toObject in interface SqlTypeMapperSQLExceptionpublic Object clobToString(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic byte[] blobToByteArray(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic Object dateToLocalDate(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic Object timestampToLocalDateTime(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic Object timeToLocalTime(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic Object offsetTime(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic Object offsetDateTime(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionCopyright © 2011–2023 Link Intersystems GmbH. All rights reserved.