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