使用Storm实现实时大数据分析!

else if(field.getColumnType().equalsIgnoreCase("double"))  
  •                    prepStatement.setDouble(dbIndex,   
  •                        Double.parseDouble(inputTupleList.get(i).toString()));  
  •                else if(field.getColumnType().equalsIgnoreCase("short"))  
  •                    prepStatement.setShort(dbIndex,   
  •                        Short.parseShort(inputTupleList.get(i).toString()));  
  •                else if(field.getColumnType().equalsIgnoreCase("boolean"))  
  •                    prepStatement.setBoolean(dbIndex,   
  •                        Boolean.parseBoolean(inputTupleList.get(i).toString()));  
  •