private Map<HiveObjectSpec,Table> createTableLookupMap(List<Table> tables){
  Map<HiveObjectSpec,Table> specToTable=new HashMap<>();
  for (  Table table : tables) {
    HiveObjectSpec spec=new HiveObjectSpec(table);
    specToTable.put(spec,table);
  }
  return specToTable;
}

private Map < HiveObjectSpec , Table > createTableLookupMap ( List < Table > tables ) { Map < HiveObjectSpec , Table > specToTable = new HashMap < > ( ) ; for ( Table table : tables ) { HiveObjectSpec spec = new HiveObjectSpec ( table ) ; specToTable . put ( spec , table ) ; } return specToTable ; }
create a mapping from a hive object specification to the thrift hive table object .
