You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2024/11/25 15:29:12 UTC

(shardingsphere) branch master updated: Refactor ShardingSphereTable (#33805)

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

zhangliang 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 5234815b601 Refactor ShardingSphereTable (#33805)
5234815b601 is described below

commit 5234815b60166a7b98bee57645230cf9a0d73382
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Mon Nov 25 23:29:05 2024 +0800

    Refactor ShardingSphereTable (#33805)
---
 .../infra/metadata/database/schema/model/ShardingSphereTable.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/model/ShardingSphereTable.java b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/model/ShardingSphereTable.java
index a4bcba112de..1ecc8332a64 100644
--- a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/model/ShardingSphereTable.java
+++ b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/model/ShardingSphereTable.java
@@ -54,8 +54,10 @@ public final class ShardingSphereTable {
     
     private final Map<String, Integer> visibleColumnAndIndexMap = new CaseInsensitiveMap<>();
     
+    @Getter(AccessLevel.NONE)
     private final Map<ShardingSphereMetaDataIdentifier, ShardingSphereIndex> indexes;
     
+    @Getter(AccessLevel.NONE)
     private final Map<ShardingSphereMetaDataIdentifier, ShardingSphereConstraint> constraints;
     
     private final TableType type;