Skip to content

Commit

Permalink
Remove ShardingSphereSchema.getAllTables (#33850)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Nov 30, 2024
1 parent adcdc9e commit 48f03ad
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Collectors;

/**
* ShardingSphere schema.
Expand Down Expand Up @@ -54,15 +53,6 @@ public ShardingSphereSchema(final String name, final Collection<ShardingSphereTa
views.forEach(each -> this.views.put(new ShardingSphereMetaDataIdentifier(each.getName()), each));
}

/**
* Get all table names.
*
* @return all table names
*/
public Collection<String> getAllTableNames() {
return tables.keySet().stream().map(ShardingSphereMetaDataIdentifier::getValue).collect(Collectors.toSet());
}

/**
* Get all tables.
*
Expand Down

0 comments on commit 48f03ad

Please sign in to comment.