private static void groupCorrespodingInfoBasedOnTask(TableBlockInfo info,TaskBlockInfo taskBlockMapping,String taskNo){
  List<TableBlockInfo> blockLists=taskBlockMapping.getTableBlockInfoList(taskNo);
  if (null != blockLists) {
    blockLists.add(info);
  }
 else {
    blockLists=new ArrayList<>(CarbonCommonConstants.DEFAULT_COLLECTION_SIZE);
    blockLists.add(info);
    taskBlockMapping.addTableBlockInfoList(taskNo,blockLists);
  }
}

private static void groupCorrespodingInfoBasedOnTask ( TableBlockInfo info , TaskBlockInfo taskBlockMapping , String taskNo ) { List < TableBlockInfo > blockLists = taskBlockMapping . getTableBlockInfoList ( taskNo ) ; if ( null != blockLists ) { blockLists . add ( info ) ; } else { blockLists = new ArrayList < > ( CarbonCommonConstants . DEFAULT_COLLECTION_SIZE ) ; blockLists . add ( info ) ; taskBlockMapping . addTableBlockInfoList ( taskNo , blockLists ) ; } }
grouping the tasknumber and list of tableblockinfo .
