public String getString(int columnIndex) throws ParseException {
try {
String valueString;
if(DatabaseDataSet.this.metaData.getColumnType(this.getDatabaseColumnIndex(columnIndex)) == 2005) {
Clob e = DatabaseDataSet.this.resultSet.getClob(this.getDatabaseColumnIndex(columnIndex));
if(e != null) {
try {
valueString = Tools.readTextFile(e.getCharacterStream());
} catch (IOException var5) {
throw new ParseException(var5.getMessage(), var5);
}
} else {
valueString = null;
}
} else {
valueString = DatabaseDataSet.this.resultSet.getString(this.getDatabaseColumnIndex(columnIndex));
}
return DatabaseDataSet.this.resultSet.wasNull()?null:valueString;
} catch (SQLException var6) {
throw new ParseException(var6.getMessage(), var6);
}
}
DatabaseDataSet.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:rapidminer
作者:
评论列表
文章目录