private void rename(Table table){
  if (renameDefinitions != null) {
    for (    Column col : table.getAllColumns()) {
      String newColName=renameDefinitions.getNewColumnName(table.getSchema(),table.getName(),col.getName());
      if (newColName != null)       col.setName(newColName);
    }
    String newTableName=renameDefinitions.getNewTableName(table.getSchema(),table.getName());
    String newSchemaName=renameDefinitions.getNewSchemaName(table.getSchema(),table.getName());
    if (newTableName != null)     table.setTable(newTableName);
    if (newSchemaName != null)     table.setSchema(newSchemaName);
  }
}

private void rename ( Table table ) { if ( renameDefinitions != null ) { for ( Column col : table . getAllColumns ( ) ) { String newColName = renameDefinitions . getNewColumnName ( table . getSchema ( ) , table . getName ( ) , col . getName ( ) ) ; if ( newColName != null ) col . setName ( newColName ) ; } String newTableName = renameDefinitions . getNewTableName ( table . getSchema ( ) , table . getName ( ) ) ; String newSchemaName = renameDefinitions . getNewSchemaName ( table . getSchema ( ) , table . getName ( ) ) ; if ( newTableName != null ) table . setTable ( newTableName ) ; if ( newSchemaName != null ) table . setSchema ( newSchemaName ) ; } }
if renamedefinitions object is prepared , does the lookup and renaming of schema , table and columns . nothing is done if renamedefinitions is null .
