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 e4350a52af2 Clean unused classes for data source preparer (#19492)
e4350a52af2 is described below

commit e4350a52af2a9ece1c0813a988e3b434f0974973
Author: Runqi Zhao <[email protected]>
AuthorDate: Sun Jul 24 00:01:38 2022 +0800

    Clean unused classes for data source preparer (#19492)
---
 .../prepare/datasource/ActualTableDefinition.java  | 43 ----------------------
 .../prepare/datasource/TableDefinitionSQLType.java | 31 ----------------
 2 files changed, 74 deletions(-)

diff --git 
a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-api/src/main/java/org/apache/shardingsphere/data/pipeline/api/prepare/datasource/ActualTableDefinition.java
 
b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-api/src/main/java/org/apache/shardingsphere/data/pipeline/api/prepare/datasource/ActualTableDefinition.java
deleted file mode 100644
index 03732c94431..00000000000
--- 
a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-api/src/main/java/org/apache/shardingsphere/data/pipeline/api/prepare/datasource/ActualTableDefinition.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.data.pipeline.api.prepare.datasource;
-
-import lombok.Getter;
-import lombok.RequiredArgsConstructor;
-import lombok.ToString;
-
-/**
- * Actual table definition.
- */
-@RequiredArgsConstructor
-@Getter
-@ToString
-public final class ActualTableDefinition {
-    
-    private final String logicTableName;
-    
-    private final String actualTableName;
-    
-    /**
-     * Plenty of actual table definition SQLs, separated with ';'.
-     * <p>
-     * May be <code>CREATE TABLE</code>, <code>ALTER TABLE</code>, 
<code>TABLESPACE</code>, <code>SET search_path</code>, etc.
-     * </p>
-     */
-    private final String tableDefinition;
-}
diff --git 
a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-api/src/main/java/org/apache/shardingsphere/data/pipeline/api/prepare/datasource/TableDefinitionSQLType.java
 
b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-api/src/main/java/org/apache/shardingsphere/data/pipeline/api/prepare/datasource/TableDefinitionSQLType.java
deleted file mode 100644
index 59c6b9b6a6e..00000000000
--- 
a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-api/src/main/java/org/apache/shardingsphere/data/pipeline/api/prepare/datasource/TableDefinitionSQLType.java
+++ /dev/null
@@ -1,31 +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.data.pipeline.api.prepare.datasource;
-
-/**
- * Table definition SQL type.
- */
-public enum TableDefinitionSQLType {
-    
-    UNKNOWN,
-    CREATE_TABLE,
-    ALTER_TABLE,
-    CREATE_INDEX,
-    DROP_INDEX,
-    COMMENT_ON
-}

Reply via email to