public Map<String,Integer> typesForColumns(List<QuerySource> relations){
  HashMap<String,Integer> colType=new HashMap<String,Integer>();
  colType.put(Heading.ID,Types.VARCHAR);
  colType.put(Heading.TYPE,Types.VARCHAR);
  colType.put(Heading.INDEX,Types.VARCHAR);
  for (  QuerySource table : relations) {
    if (!tableColumnInfo.containsKey(table.getSource()))     continue;
    colType.putAll(tableColumnInfo.get(table.getSource()));
  }
  return colType;
}

public Map < String , Integer > typesForColumns ( List < QuerySource > relations ) { HashMap < String , Integer > colType = new HashMap < String , Integer > ( ) ; colType . put ( Heading . ID , Types . VARCHAR ) ; colType . put ( Heading . TYPE , Types . VARCHAR ) ; colType . put ( Heading . INDEX , Types . VARCHAR ) ; for ( QuerySource table : relations ) { if ( ! tableColumnInfo . containsKey ( table . getSource ( ) ) ) continue ; colType . putAll ( tableColumnInfo . get ( table . getSource ( ) ) ) ; } return colType ; }
gets sql column types for the provided tables as a map from column name to java . sql . types
