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

else if(field.getColumnType().equalsIgnoreCase("byte"))  
  •                    prepStatement.setByte(dbIndex,   
  •                        Byte.parseByte(inputTupleList.get(i).toString()));  
  •                else if(field.getColumnType().equalsIgnoreCase("Date"))  
  •                {  
  •                   Date dateToAdd=null;  
  •                   if (!(inputTupleList.get(i) instanceof Date))    
  •                   {    
  •                        DateFormat df = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");