public class JdbcTypesDefaultTransformer extends Object implements JdbcTypesTransformer
JdbcTypesTransformer
.Modifier and Type | Field and Description |
---|---|
static JdbcTypesDefaultTransformer |
INSTANCE
Singleton instance to use.
|
NUMERIC_TYPES
Constructor and Description |
---|
JdbcTypesDefaultTransformer() |
Modifier and Type | Method and Description |
---|---|
Object |
getColumnValue(ResultSet rs,
int colIdx,
Class<?> type)
Retrieves the value of the designated column in the current row of this
ResultSet object and
will convert to the requested Java data type. |
public static final JdbcTypesDefaultTransformer INSTANCE
public Object getColumnValue(ResultSet rs, int colIdx, Class<?> type) throws SQLException
ResultSet
object and
will convert to the requested Java data type.getColumnValue
in interface JdbcTypesTransformer
rs
- Result set.colIdx
- Column index in result set.type
- Class representing the Java data type to convert the designated column to.SQLException
- If a database access error occurs or this method is called.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023