private void loadLevelFile(String tableName,String columnName,String cubeName,String schemaName){
  String baseLocation=CarbonUtil.getCarbonStorePath(schemaName,cubeName);
  baseLocation=baseLocation + File.separator + schemaName+ File.separator+ cubeName;
  if (loadFolderList.size() == 0) {
    checkAndUpdateFolderList(baseLocation);
  }
  try {
    File[] filesArray=null;
    for (    File loadFoler : loadFolderList) {
      filesArray=getFilesArray(loadFoler,tableName + '_' + columnName);
      if (null != filesArray) {
        for (int i=0; i < filesArray.length; i++) {
          readLevelFileAndUpdateCache(filesArray[i],tableName + '_' + columnName);
        }
      }
    }
  }
 catch (  IOException e) {
    LOGGER.error("Problem while populating the cache");
  }
}

private void loadLevelFile ( String tableName , String columnName , String cubeName , String schemaName ) { String baseLocation = CarbonUtil . getCarbonStorePath ( schemaName , cubeName ) ; baseLocation = baseLocation + File . separator + schemaName + File . separator + cubeName ; if ( loadFolderList . size ( ) == 0 ) { checkAndUpdateFolderList ( baseLocation ) ; } try { File [ ] filesArray = null ; for ( File loadFoler : loadFolderList ) { filesArray = getFilesArray ( loadFoler , tableName + '_' + columnName ) ; if ( null != filesArray ) { for ( int i = 0 ; i < filesArray . length ; i ++ ) { readLevelFileAndUpdateCache ( filesArray [ i ] , tableName + '_' + columnName ) ; } } } } catch ( IOException e ) { LOGGER . error ( "Problem while populating the cache" ) ; } }
below method will be used to fill the level cache
