Interface ColumnTranslator
-
- All Known Implementing Classes:
BlobColumnTranslator
,BooleanColumnTranslator
,ByteArrayColumnTranslator
,ClobColumnTranslator
,ColumnWriterWithCharEncoding
,DateColumnTranslator
,DoubleColumnTranslator
,FloatColumnTranslator
,FormattableColumnTranslator
,IntegerColumnTranslator
,StringColumnTranslator
,TimeColumnTranslator
,TimestampColumnTranslator
public interface ColumnTranslator
Translate a column in a ResultSet into a String for processing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
translate(JdbcResultRow rs, int column)
Translate the column into a String.java.lang.String
translate(JdbcResultRow rs, java.lang.String columnName)
Translate the column into a String.
-
-
-
Method Detail
-
translate
java.lang.String translate(JdbcResultRow rs, int column) throws java.sql.SQLException, java.io.IOException
Translate the column into a String.- Parameters:
rs
- the result setcolumn
- the column index- Returns:
- The String representation of the column
- Throws:
java.sql.SQLException
java.io.IOException
-
translate
java.lang.String translate(JdbcResultRow rs, java.lang.String columnName) throws java.sql.SQLException, java.io.IOException
Translate the column into a String.- Parameters:
rs
- the result setcolumnName
- the column name- Returns:
- The String representation of the column
- Throws:
java.sql.SQLException
java.io.IOException
-
-