Class JdbcTypesDefaultTransformer
- java.lang.Object
- 
- org.apache.ignite.cache.store.jdbc.JdbcTypesDefaultTransformer
 
- 
- All Implemented Interfaces:
- Serializable,- JdbcTypesTransformer
 
 public class JdbcTypesDefaultTransformer extends Object implements JdbcTypesTransformer Default implementation ofJdbcTypesTransformer.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static JdbcTypesDefaultTransformerINSTANCESingleton instance to use.- 
Fields inherited from interface org.apache.ignite.cache.store.jdbc.JdbcTypesTransformerNUMERIC_TYPES
 
- 
 - 
Constructor SummaryConstructors Constructor Description JdbcTypesDefaultTransformer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetColumnValue(ResultSet rs, int colIdx, Class<?> type)Retrieves the value of the designated column in the current row of thisResultSetobject and will convert to the requested Java data type.
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final JdbcTypesDefaultTransformer INSTANCE Singleton instance to use.
 
- 
 - 
Method Detail- 
getColumnValuepublic Object getColumnValue(ResultSet rs, int colIdx, Class<?> type) throws SQLException Retrieves the value of the designated column in the current row of thisResultSetobject and will convert to the requested Java data type.- Specified by:
- getColumnValuein interface- JdbcTypesTransformer
- Parameters:
- rs- Result set.
- colIdx- Column index in result set.
- type- Class representing the Java data type to convert the designated column to.
- Returns:
- Value in column.
- Throws:
- SQLException- If a database access error occurs or this method is called.
 
 
- 
 
-