private void generateChunksForTable(Table table,long tableChunkSize,String[] columns) throws ReplicatorException, InterruptedException {
  long chunkSize;
  Integer pkType=getPKType(table);
  if (tableChunkSize == 0) {
    chunks.put(new NoChunk(table,columns));
    return;
  }
 else   if (tableChunkSize < 0) {
    chunkSize=this.chunkSize;
  }
 else {
    chunkSize=tableChunkSize;
  }
  if (logger.isDebugEnabled())   logger.debug("Processing table " + table.getSchema() + "."+ table.getName());
  if (pkType == null)   chunkLimit(table);
 else   if (pkType == Types.NUMERIC)   chunkNumericPK(table,columns,chunkSize);
 else   if (pkType == Types.VARCHAR)   chunkVarcharPK(table);
}

private void generateChunksForTable ( Table table , long tableChunkSize , String [ ] columns ) throws ReplicatorException , InterruptedException { long chunkSize ; Integer pkType = getPKType ( table ) ; if ( tableChunkSize == 0 ) { chunks . put ( new NoChunk ( table , columns ) ) ; return ; } else if ( tableChunkSize < 0 ) { chunkSize = this . chunkSize ; } else { chunkSize = tableChunkSize ; } if ( logger . isDebugEnabled ( ) ) logger . debug ( "Processing table " + table . getSchema ( ) + "." + table . getName ( ) ) ; if ( pkType == null ) chunkLimit ( table ) ; else if ( pkType == Types . NUMERIC ) chunkNumericPK ( table , columns , chunkSize ) ; else if ( pkType == Types . VARCHAR ) chunkVarcharPK ( table ) ; }
generates chunk definitions for the given table , eventually using a given chunk size and a given column list .
