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 2025/04/21 11:44:22 UTC

(shardingsphere) branch master updated: Remove useless DialectObjectUniquenessLevelProvider (#35226)

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 90a86e502c0 Remove useless DialectObjectUniquenessLevelProvider (#35226)
90a86e502c0 is described below

commit 90a86e502c08383d59353a3399254f54c2b412a8
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Mon Apr 21 19:44:17 2025 +0800

    Remove useless DialectObjectUniquenessLevelProvider (#35226)
---
 .../DialectObjectUniquenessLevelProvider.java      | 43 ----------------------
 1 file changed, 43 deletions(-)

diff --git a/infra/database/core/src/main/java/org/apache/shardingsphere/infra/database/core/metadata/database/object/DialectObjectUniquenessLevelProvider.java b/infra/database/core/src/main/java/org/apache/shardingsphere/infra/database/core/metadata/database/object/DialectObjectUniquenessLevelProvider.java
deleted file mode 100644
index 330f697bee8..00000000000
--- a/infra/database/core/src/main/java/org/apache/shardingsphere/infra/database/core/metadata/database/object/DialectObjectUniquenessLevelProvider.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.infra.database.core.metadata.database.object;
-
-import org.apache.shardingsphere.infra.database.core.spi.DatabaseTypedSPI;
-import org.apache.shardingsphere.infra.spi.annotation.SingletonSPI;
-
-/**
- * Dialect object uniqueness level provider.
- */
-@SingletonSPI
-public interface DialectObjectUniquenessLevelProvider extends DatabaseTypedSPI {
-    
-    /**
-     * Get index uniqueness level.
-     *
-     * @return index uniqueness level
-     */
-    UniquenessLevel getIndexUniquenessLevel();
-    
-    /**
-     * Uniqueness level enum.
-     */
-    enum UniquenessLevel {
-        
-        SCHEMA_LEVEL, TABLE_LEVEL
-    }
-}