From cf6061b6610d62211fc445c50fdd5792b4c6453a Mon Sep 17 00:00:00 2001 From: seawinde Date: Mon, 1 Jul 2024 08:33:30 +0800 Subject: [PATCH] optimize class name --- ...dViewScanRule.java => AbstractMaterializedViewScanRule.java} | 2 +- .../exploration/mv/MaterializedViewFilterProjectScanRule.java | 2 +- .../rules/exploration/mv/MaterializedViewFilterScanRule.java | 2 +- .../exploration/mv/MaterializedViewProjectFilterScanRule.java | 2 +- .../rules/exploration/mv/MaterializedViewProjectScanRule.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/{MaterializedViewScanRule.java => AbstractMaterializedViewScanRule.java} (97%) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewScanRule.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/AbstractMaterializedViewScanRule.java similarity index 97% rename from fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewScanRule.java rename to fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/AbstractMaterializedViewScanRule.java index 964d9bdb06fc994..9e87c926f8ff1e7 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewScanRule.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/AbstractMaterializedViewScanRule.java @@ -34,7 +34,7 @@ /** * This is responsible for single table rewriting according to different pattern * */ -public abstract class MaterializedViewScanRule extends AbstractMaterializedViewRule { +public abstract class AbstractMaterializedViewScanRule extends AbstractMaterializedViewRule { @Override protected Plan rewriteQueryByView(MatchMode matchMode, diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewFilterProjectScanRule.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewFilterProjectScanRule.java index 7063030f24d70d7..613b356cdc579cc 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewFilterProjectScanRule.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewFilterProjectScanRule.java @@ -30,7 +30,7 @@ /** * MaterializedViewFilterProjectScanRule */ -public class MaterializedViewFilterProjectScanRule extends MaterializedViewScanRule { +public class MaterializedViewFilterProjectScanRule extends AbstractMaterializedViewScanRule { public static final MaterializedViewFilterProjectScanRule INSTANCE = new MaterializedViewFilterProjectScanRule(); diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewFilterScanRule.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewFilterScanRule.java index 4cdde78ca4d2f59..18f366354ce3e87 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewFilterScanRule.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewFilterScanRule.java @@ -29,7 +29,7 @@ /** * MaterializedViewFilterScanRule */ -public class MaterializedViewFilterScanRule extends MaterializedViewScanRule { +public class MaterializedViewFilterScanRule extends AbstractMaterializedViewScanRule { public static final MaterializedViewFilterScanRule INSTANCE = new MaterializedViewFilterScanRule(); diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewProjectFilterScanRule.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewProjectFilterScanRule.java index 55f28b949049e6a..d8a92ef59f292c0 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewProjectFilterScanRule.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewProjectFilterScanRule.java @@ -30,7 +30,7 @@ /** * MaterializedViewProjectFilterScanRule */ -public class MaterializedViewProjectFilterScanRule extends MaterializedViewScanRule { +public class MaterializedViewProjectFilterScanRule extends AbstractMaterializedViewScanRule { public static final MaterializedViewProjectFilterScanRule INSTANCE = new MaterializedViewProjectFilterScanRule(); diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewProjectScanRule.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewProjectScanRule.java index d73b31f2c7cb49e..72a656532cd7905 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewProjectScanRule.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewProjectScanRule.java @@ -29,7 +29,7 @@ /** * MaterializedViewProjectScanRule */ -public class MaterializedViewProjectScanRule extends MaterializedViewScanRule { +public class MaterializedViewProjectScanRule extends AbstractMaterializedViewScanRule { public static final MaterializedViewProjectScanRule INSTANCE = new MaterializedViewProjectScanRule();