Skip to content

Commit 4363dad

Browse files
authored
Refactor package of proxy.backend.handler.distsql.ral.queryable and proxy.backend.handler.distsql.ral.updatable (#34982)
1 parent a966c64 commit 4363dad

File tree

39 files changed

+61
-68
lines changed

39 files changed

+61
-68
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.computenode;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.query.DistSQLQueryExecutor;
2121
import org.apache.shardingsphere.distsql.statement.ral.queryable.show.ShowComputeNodeInfoStatement;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.computenode;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.query.DistSQLQueryExecutor;
2121
import org.apache.shardingsphere.distsql.statement.ral.queryable.show.ShowComputeNodeModeStatement;

proxy/backend/core/src/main/java/org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/ShowComputeNodesExecutor.java proxy/backend/core/src/main/java/org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/computenode/ShowComputeNodesExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.computenode;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.query.DistSQLQueryExecutor;
2121
import org.apache.shardingsphere.distsql.statement.ral.queryable.show.ShowComputeNodesStatement;
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export;
1919

2020
import lombok.Setter;
2121
import org.apache.shardingsphere.distsql.handler.aware.DistSQLExecutorDatabaseAware;
@@ -54,11 +54,6 @@ public Collection<LocalDataQueryResultRow> getRows(final ExportDatabaseConfigura
5454
return Collections.singleton(new LocalDataQueryResultRow(exportedData));
5555
}
5656

57-
@Override
58-
public void setDatabase(final ShardingSphereDatabase database) {
59-
this.database = database;
60-
}
61-
6257
@Override
6358
public Class<ExportDatabaseConfigurationStatement> getType() {
6459
return ExportDatabaseConfigurationStatement.class;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export;
1919

2020
import org.apache.commons.codec.binary.Base64;
2121
import org.apache.shardingsphere.distsql.handler.engine.query.DistSQLQueryExecutor;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.query.DistSQLQueryExecutor;
2121
import org.apache.shardingsphere.distsql.statement.ral.queryable.export.ExportStorageNodesStatement;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export;
1919

2020
import lombok.Setter;
2121
import org.apache.shardingsphere.distsql.handler.aware.DistSQLExecutorDatabaseAware;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.variable;
1919

2020
import lombok.Setter;
2121
import org.apache.shardingsphere.distsql.handler.aware.DistSQLExecutorConnectionContextAware;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.variable;
1919

2020
import lombok.Setter;
2121
import org.apache.shardingsphere.distsql.handler.aware.DistSQLExecutorConnectionContextAware;
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.yaml;
1919

2020
import com.google.common.base.Preconditions;
2121
import com.google.common.base.Strings;
@@ -74,11 +74,11 @@ public Collection<LocalDataQueryResultRow> getRows(final ConvertYamlConfiguratio
7474
}
7575
Preconditions.checkNotNull(yamlConfig, "Invalid yaml file `%s`", file.getName());
7676
Preconditions.checkNotNull(yamlConfig.getDatabaseName(), "`databaseName` in file `%s` is required.", file.getName());
77-
return Collections.singleton(new LocalDataQueryResultRow(convertYamlConfigToDistSQL(yamlConfig)));
77+
return Collections.singleton(new LocalDataQueryResultRow(convertYamlConfigurationToDistSQL(yamlConfig)));
7878
}
7979

8080
@SuppressWarnings("unchecked")
81-
private String convertYamlConfigToDistSQL(final YamlProxyDatabaseConfiguration yamlConfig) {
81+
private String convertYamlConfigurationToDistSQL(final YamlProxyDatabaseConfiguration yamlConfig) {
8282
StringBuilder result = new StringBuilder();
8383
result.append(convertDatabase(yamlConfig.getDatabaseName()));
8484
result.append(System.lineSeparator()).append(System.lineSeparator());
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.computenode;
1919

2020
import org.apache.shardingsphere.distsql.handler.required.DistSQLExecutorClusterModeRequired;
2121
import org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecutor;
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.imports;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecutor;
2121
import org.apache.shardingsphere.distsql.statement.ral.updatable.ImportDatabaseConfigurationStatement;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.imports;
1919

2020
import org.apache.commons.codec.binary.Base64;
2121
import org.apache.commons.io.FileUtils;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.label;
1919

2020
import org.apache.shardingsphere.distsql.handler.required.DistSQLExecutorClusterModeRequired;
2121
import org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecutor;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.label;
1919

2020
import org.apache.shardingsphere.distsql.handler.required.DistSQLExecutorClusterModeRequired;
2121
import org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecutor;
+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.lock;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecutor;
2121
import org.apache.shardingsphere.distsql.handler.required.DistSQLExecutorClusterModeRequired;
@@ -29,7 +29,6 @@
2929
import org.apache.shardingsphere.mode.lock.exception.LockedClusterException;
3030
import org.apache.shardingsphere.mode.lock.global.GlobalLockDefinition;
3131
import org.apache.shardingsphere.mode.manager.ContextManager;
32-
import org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.lock.ClusterLock;
3332
import org.apache.shardingsphere.proxy.backend.lock.spi.ClusterLockStrategy;
3433

3534
/**
+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.lock;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecutor;
2121
import org.apache.shardingsphere.distsql.handler.required.DistSQLExecutorClusterModeRequired;
@@ -26,7 +26,6 @@
2626
import org.apache.shardingsphere.mode.lock.exception.NotLockedClusterException;
2727
import org.apache.shardingsphere.mode.lock.global.GlobalLockDefinition;
2828
import org.apache.shardingsphere.mode.manager.ContextManager;
29-
import org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.lock.ClusterLock;
3029

3130
/**
3231
* Unlock cluster executor.
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.refresh;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecutor;
2121
import org.apache.shardingsphere.distsql.statement.ral.updatable.RefreshDatabaseMetaDataStatement;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.refresh;
1919

2020
import lombok.Setter;
2121
import org.apache.shardingsphere.distsql.handler.aware.DistSQLExecutorDatabaseAware;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.variable;
1919

2020
import ch.qos.logback.classic.Level;
2121
import ch.qos.logback.classic.Logger;

proxy/backend/core/src/main/resources/META-INF/services/org.apache.shardingsphere.distsql.handler.engine.query.DistSQLQueryExecutor

+10-10
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
# limitations under the License.
1616
#
1717

18-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ShowComputeNodesExecutor
19-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ShowComputeNodeInfoExecutor
20-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ShowComputeNodeModeExecutor
21-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ExportDatabaseConfigurationExecutor
22-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ExportMetaDataExecutor
23-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ExportStorageNodesExecutor
24-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ConvertYamlConfigurationExecutor
25-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ShowDistVariableExecutor
26-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ShowDistVariablesExecutor
27-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.ShowTableMetaDataExecutor
18+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.computenode.ShowComputeNodesExecutor
19+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.computenode.ShowComputeNodeInfoExecutor
20+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.computenode.ShowComputeNodeModeExecutor
21+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export.ExportDatabaseConfigurationExecutor
22+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export.ExportMetaDataExecutor
23+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export.ExportStorageNodesExecutor
24+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.yaml.ConvertYamlConfigurationExecutor
25+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.variable.ShowDistVariableExecutor
26+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.variable.ShowDistVariablesExecutor
27+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export.ShowTableMetaDataExecutor
2828
org.apache.shardingsphere.proxy.backend.handler.distsql.rul.FormatSQLExecutor
2929
org.apache.shardingsphere.proxy.backend.handler.distsql.rul.ParseDistSQLExecutor
3030
org.apache.shardingsphere.proxy.backend.handler.distsql.rul.PreviewExecutor

proxy/backend/core/src/main/resources/META-INF/services/org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecutor

+10-10
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.LabelComputeNodeExecutor
19-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.UnlabelComputeNodeExecutor
20-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.SetComputeNodeStateExecutor
21-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.ImportDatabaseConfigurationExecutor
22-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.ImportMetaDataExecutor
23-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.SetDistVariableExecutor
24-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.RefreshDatabaseMetaDataExecutor
25-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.LockClusterExecutor
26-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.UnlockClusterExecutor
27-
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.RefreshTableMetaDataExecutor
18+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.label.LabelComputeNodeExecutor
19+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.label.UnlabelComputeNodeExecutor
20+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.computenode.SetComputeNodeStateExecutor
21+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.imports.ImportDatabaseConfigurationExecutor
22+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.imports.ImportMetaDataExecutor
23+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.variable.SetDistVariableExecutor
24+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.refresh.RefreshDatabaseMetaDataExecutor
25+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.lock.LockClusterExecutor
26+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.lock.UnlockClusterExecutor
27+
org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.refresh.RefreshTableMetaDataExecutor
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.computenode;
1919

2020
import org.apache.shardingsphere.distsql.statement.ral.queryable.show.ShowComputeNodeInfoStatement;
2121
import org.apache.shardingsphere.infra.config.mode.ModeConfiguration;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.computenode;
1919

2020
import org.apache.shardingsphere.distsql.statement.ral.queryable.show.ShowComputeNodeModeStatement;
2121
import org.apache.shardingsphere.infra.config.mode.ModeConfiguration;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.computenode;
1919

2020
import org.apache.shardingsphere.distsql.statement.ral.queryable.show.ShowComputeNodesStatement;
2121
import org.apache.shardingsphere.infra.config.mode.ModeConfiguration;
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export;
1919

2020
import lombok.SneakyThrows;
2121
import org.apache.shardingsphere.distsql.statement.ral.queryable.export.ExportDatabaseConfigurationStatement;
@@ -138,7 +138,7 @@ private ShardingTableRuleConfiguration createTableRuleConfiguration() {
138138

139139
@SneakyThrows({IOException.class, URISyntaxException.class})
140140
private String loadExpectedRow() {
141-
URL url = Objects.requireNonNull(ConvertYamlConfigurationExecutorTest.class.getResource("/expected/export-database-configuration.yaml"));
141+
URL url = Objects.requireNonNull(ExportDatabaseConfigurationExecutorTest.class.getResource("/expected/export-database-configuration.yaml"));
142142
return Files.readAllLines(Paths.get(url.toURI())).stream().filter(each -> !each.startsWith("#") && !each.trim().isEmpty()).collect(Collectors.joining(System.lineSeparator()))
143143
+ System.lineSeparator();
144144
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export;
1919

2020
import org.apache.commons.codec.binary.Base64;
2121
import org.apache.shardingsphere.authority.rule.AuthorityRule;
+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export;
1919

2020
import lombok.SneakyThrows;
2121
import org.apache.shardingsphere.authority.rule.AuthorityRule;
@@ -197,7 +197,7 @@ private ShardingTableRuleConfiguration createTableRuleConfiguration() {
197197

198198
@SneakyThrows({IOException.class, URISyntaxException.class})
199199
private String loadExpectedRow() {
200-
URL url = Objects.requireNonNull(ConvertYamlConfigurationExecutorTest.class.getResource("/expected/export-storage-nodes.json"));
200+
URL url = Objects.requireNonNull(ExportStorageNodesExecutorTest.class.getResource("/expected/export-storage-nodes.json"));
201201
return Files.readAllLines(Paths.get(url.toURI())).stream().filter(each -> !each.startsWith("#") && !each.trim().isEmpty()).collect(Collectors.joining(System.lineSeparator()));
202202
}
203203
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.export;
1919

2020
import org.apache.shardingsphere.distsql.statement.ral.queryable.show.ShowTableMetaDataStatement;
2121
import org.apache.shardingsphere.infra.database.core.type.DatabaseType;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.variable;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.DistSQLConnectionContext;
2121
import org.apache.shardingsphere.distsql.statement.ral.queryable.show.ShowDistVariableStatement;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.variable;
1919

2020
import org.apache.shardingsphere.distsql.handler.engine.DistSQLConnectionContext;
2121
import org.apache.shardingsphere.distsql.statement.ral.queryable.show.ShowDistVariablesStatement;
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.queryable.yaml;
1919

2020
import com.google.common.base.Splitter;
2121
import lombok.SneakyThrows;
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.computenode;
1919

2020
import org.apache.shardingsphere.distsql.statement.ral.updatable.SetComputeNodeStateStatement;
2121
import org.apache.shardingsphere.infra.exception.generic.UnsupportedSQLOperationException;
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable;
18+
package org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.imports;
1919

2020
import org.apache.shardingsphere.distsql.statement.ral.updatable.ImportDatabaseConfigurationStatement;
2121
import org.apache.shardingsphere.infra.config.props.ConfigurationProperties;

0 commit comments

Comments
 (0)