private void generateChunksForSchema(String schemaName){
  try {
    if (logger.isDebugEnabled())     logger.debug("Getting list of tables from " + schemaName);
    ArrayList<Table> tablesFromSchema=connection.getTables(schemaName,true,true);
    if (logger.isDebugEnabled())     logger.debug("Tables : " + tablesFromSchema);
    if (tablesFromSchema != null && tablesFromSchema.size() > 0) {
      for (      Table table : tablesFromSchema) {
        generateChunksForTable(table,-1,null);
      }
    }
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

private void generateChunksForSchema ( String schemaName ) { try { if ( logger . isDebugEnabled ( ) ) logger . debug ( "Getting list of tables from " + schemaName ) ; ArrayList < Table > tablesFromSchema = connection . getTables ( schemaName , true , true ) ; if ( logger . isDebugEnabled ( ) ) logger . debug ( "Tables : " + tablesFromSchema ) ; if ( tablesFromSchema != null && tablesFromSchema . size ( ) > 0 ) { for ( Table table : tablesFromSchema ) { generateChunksForTable ( table , - 1 , null ) ; } } } catch ( Exception e ) { e . printStackTrace ( ) ; } }
generates chunk definitions for the whole given schema .
