This is an automated email from the ASF dual-hosted git repository.

sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 48f03ad8eda Remove ShardingSphereSchema.getAllTables (#33850)
48f03ad8eda is described below

commit 48f03ad8eda56ca2cc510065f3bfee39b57659a6
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Nov 30 18:33:29 2024 +0800

    Remove ShardingSphereSchema.getAllTables (#33850)
---
 .../metadata/database/schema/model/ShardingSphereSchema.java   | 10 ----------
 1 file changed, 10 deletions(-)

diff --git 
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/model/ShardingSphereSchema.java
 
b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/model/ShardingSphereSchema.java
index 36e21e16ccf..13532c699e9 100644
--- 
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/model/ShardingSphereSchema.java
+++ 
b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/model/ShardingSphereSchema.java
@@ -25,7 +25,6 @@ import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
-import java.util.stream.Collectors;
 
 /**
  * ShardingSphere schema.
@@ -54,15 +53,6 @@ public final class ShardingSphereSchema {
         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.
      *

Reply via email to