public Set < String > getActualTableNames ( final String dataSourceName , final String logicTableName ) { Set < String > result = new HashSet <> ( routingTables . size ( ) , 1 ) ; for ( RoutingTable each : routingTables ) { if ( dataSourceName . equalsIgnoreCase ( this . dataSourceName ) && each . getLogicTableName ( ) . equalsIgnoreCase ( logicTableName ) ) { result . add ( each . getActualTableName ( ) ) ; } } return result ; }
Get actual tables names via data source name .