private void buildName(EventData data, EventData result, DataMediaPair pair) {
        DataMedia targetDataMedia = pair.getTarget();
        DataMedia sourceDataMedia = pair.getSource();
        String schemaName = buildName(data.getSchemaName(),
            sourceDataMedia.getNamespaceMode(),
            targetDataMedia.getNamespaceMode());
        String tableName = buildName(data.getTableName(), sourceDataMedia.getNameMode(), targetDataMedia.getNameMode());
        result.setSchemaName(schemaName);
        result.setTableName(tableName);
    }
private void buildName ( EventData data , EventData result , DataMediaPair pair ) { DataMedia targetDataMedia = pair . getTarget ( ) ; DataMedia sourceDataMedia = pair . getSource ( ) ; String schemaName = buildName ( data . getSchemaName ( ) , sourceDataMedia . getNamespaceMode ( ) , targetDataMedia . getNamespaceMode ( ) ) ; String tableName = buildName ( data . getTableName ( ) , sourceDataMedia . getNameMode ( ) , targetDataMedia . getNameMode ( ) ) ; result . setSchemaName ( schemaName ) ; result . setTableName ( tableName ) ; }
设置对应的目标库schema.name，需要考虑mutl配置情况

<pre>
case:
1. 源:offer , 目：offer
2. 源:offer[1-128] , 目：offer
3. 源:offer[1-128] , 目：offer[1-128]
4. 源:offer , 目：offer[1-128] 不支持，会报错