public class IntegerColumnTranslator extends FormattableColumnTranslator
In the adapter configuration file this class is aliased as jdbc-type-integer-column-translator which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
IntegerColumnTranslator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
translate(JdbcResultRow rs,
int column)
Translate the column into a String.
|
java.lang.String |
translate(JdbcResultRow rs,
java.lang.String column)
Translate the column into a String.
|
getFormat, setFormat, toString
public java.lang.String translate(JdbcResultRow rs, int column) throws java.sql.SQLException, java.io.IOException
ColumnTranslator
rs
- the result setcolumn
- the column indexjava.sql.SQLException
java.io.IOException
public java.lang.String translate(JdbcResultRow rs, java.lang.String column) throws java.sql.SQLException, java.io.IOException
ColumnTranslator
rs
- the result setcolumn
- the column namejava.sql.SQLException
java.io.IOException