Skip to content

Commit

Permalink
Remove SQLParserFacade (#29626)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Jan 2, 2024
1 parent 76a3ee7 commit 394e797
Show file tree
Hide file tree
Showing 51 changed files with 94 additions and 106 deletions.
2 changes: 1 addition & 1 deletion docs/document/content/dev-manual/sql-parser.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ chapter = true

### 全限定类名

[`org.apache.shardingsphere.sql.parser.spi.SQLDialectParserFacade`](https://github.com/apache/shardingsphere/blob/master/parser/sql/spi/src/main/java/org/apache/shardingsphere/sql/parser/spi/SQLDialectParserFacade.java)
[`org.apache.shardingsphere.sql.parser.spi.DialectSQLParserFacade`](https://github.com/apache/shardingsphere/blob/master/parser/sql/spi/src/main/java/org/apache/shardingsphere/sql/parser/spi/SQLDialectParserFacade.java)

### 定义

Expand Down
2 changes: 1 addition & 1 deletion docs/document/content/dev-manual/sql-parser.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ chapter = true

### Fully-qualified class name

[`org.apache.shardingsphere.sql.parser.spi.SQLDialectParserFacade`](https://github.com/apache/shardingsphere/blob/master/parser/sql/spi/src/main/java/org/apache/shardingsphere/sql/parser/spi/SQLDialectParserFacade.java)
[`org.apache.shardingsphere.sql.parser.spi.DialectSQLParserFacade`](https://github.com/apache/shardingsphere/blob/master/parser/sql/spi/src/main/java/org/apache/shardingsphere/sql/parser/spi/SQLDialectParserFacade.java)

### Definition

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.shardingsphere.broadcast.distsql.parser.core.BroadcastDistSQLLexer;
import org.apache.shardingsphere.broadcast.distsql.parser.core.BroadcastDistSQLParser;
import org.apache.shardingsphere.broadcast.distsql.parser.core.BroadcastDistSQLStatementVisitor;
import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.parser.SQLLexer;
import org.apache.shardingsphere.sql.parser.api.parser.SQLParser;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for broadcast DistSQL statement.
*/
public final class BroadcastDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class BroadcastDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.broadcast.distsql.parser.facade.BroadcastDistSQLStatementParserFacade
org.apache.shardingsphere.broadcast.distsql.parser.facade.BroadcastDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.encrypt.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.encrypt.distsql.parser.core.EncryptDistSQLLexer;
import org.apache.shardingsphere.encrypt.distsql.parser.core.EncryptDistSQLParser;
import org.apache.shardingsphere.encrypt.distsql.parser.core.EncryptDistSQLStatementVisitor;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for encrypt DistSQL statement.
*/
public final class EncryptDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class EncryptDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.encrypt.distsql.parser.facade.EncryptDistSQLStatementParserFacade
org.apache.shardingsphere.encrypt.distsql.parser.facade.EncryptDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.mask.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.mask.distsql.parser.core.MaskDistSQLLexer;
import org.apache.shardingsphere.mask.distsql.parser.core.MaskDistSQLParser;
import org.apache.shardingsphere.mask.distsql.parser.core.MaskDistSQLStatementVisitor;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for mask DistSQL statement.
*/
public final class MaskDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class MaskDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.mask.distsql.parser.facade.MaskDistSQLStatementParserFacade
org.apache.shardingsphere.mask.distsql.parser.facade.MaskDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.readwritesplitting.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.readwritesplitting.distsql.parser.core.ReadwriteSplittingDistSQLStatementVisitor;
import org.apache.shardingsphere.readwritesplitting.distsql.parser.core.ReadwriteSplittingDistSQLLexer;
import org.apache.shardingsphere.readwritesplitting.distsql.parser.core.ReadwriteSplittingDistSQLParser;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for readwrite-splitting DistSQL statement.
*/
public final class ReadwriteSplittingDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class ReadwriteSplittingDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.readwritesplitting.distsql.parser.facade.ReadwriteSplittingDistSQLStatementParserFacade
org.apache.shardingsphere.readwritesplitting.distsql.parser.facade.ReadwriteSplittingDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.shadow.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.shadow.distsql.parser.core.ShadowDistSQLLexer;
import org.apache.shardingsphere.shadow.distsql.parser.core.ShadowDistSQLParser;
import org.apache.shardingsphere.shadow.distsql.parser.core.ShadowDistSQLStatementVisitor;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for shadow DistSQL statement.
*/
public final class ShadowDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class ShadowDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.shadow.distsql.parser.facade.ShadowDistSQLStatementParserFacade
org.apache.shardingsphere.shadow.distsql.parser.facade.ShadowDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import lombok.SneakyThrows;
import org.apache.shardingsphere.infra.exception.core.external.sql.type.kernel.category.DistSQLException;
import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.distsql.segment.AlgorithmSegment;
import org.apache.shardingsphere.distsql.statement.DistSQLStatement;
import org.apache.shardingsphere.infra.config.algorithm.AlgorithmConfiguration;
Expand All @@ -35,7 +35,7 @@
import org.apache.shardingsphere.sharding.api.config.strategy.keygen.KeyGenerateStrategyConfiguration;
import org.apache.shardingsphere.sharding.api.config.strategy.sharding.StandardShardingStrategyConfiguration;
import org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingTableRuleStatementUpdater;
import org.apache.shardingsphere.sharding.distsql.parser.facade.ShardingDistSQLStatementParserFacade;
import org.apache.shardingsphere.sharding.distsql.parser.facade.ShardingDistSQLParserFacade;
import org.apache.shardingsphere.sharding.distsql.segment.strategy.KeyGenerateStrategySegment;
import org.apache.shardingsphere.sharding.distsql.segment.strategy.ShardingStrategySegment;
import org.apache.shardingsphere.sharding.distsql.segment.table.AbstractTableRuleSegment;
Expand Down Expand Up @@ -288,9 +288,9 @@ private Map<String, DataSource> createDataSource() {
@SneakyThrows(ReflectiveOperationException.class)
@SuppressWarnings("rawtypes")
private DistSQLStatement getDistSQLStatement(final String sql) {
ShardingDistSQLStatementParserFacade facade = new ShardingDistSQLStatementParserFacade();
ShardingDistSQLParserFacade facade = new ShardingDistSQLParserFacade();
ParseASTNode parseASTNode = (ParseASTNode) SQLParserFactory.newInstance(sql, facade.getLexerClass(), facade.getParserClass()).parse();
SQLVisitor visitor = TypedSPILoader.getService(FeaturedDistSQLStatementParserFacade.class, facade.getType()).getVisitorClass().getDeclaredConstructor().newInstance();
SQLVisitor visitor = TypedSPILoader.getService(DistSQLParserFacade.class, facade.getType()).getVisitorClass().getDeclaredConstructor().newInstance();
return (DistSQLStatement) visitor.visit(parseASTNode.getRootNode());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.sharding.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.sharding.distsql.parser.core.ShardingDistSQLStatementVisitor;
import org.apache.shardingsphere.sharding.distsql.parser.core.ShardingDistSQLLexer;
import org.apache.shardingsphere.sharding.distsql.parser.core.ShardingDistSQLParser;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for sharding DistSQL statement.
*/
public final class ShardingDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class ShardingDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.sharding.distsql.parser.facade.ShardingDistSQLStatementParserFacade
org.apache.shardingsphere.sharding.distsql.parser.facade.ShardingDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.shardingsphere.authority.distsql.parser.core.AuthorityDistSQLLexer;
import org.apache.shardingsphere.authority.distsql.parser.core.AuthorityDistSQLParser;
import org.apache.shardingsphere.authority.distsql.parser.core.AuthorityDistSQLStatementVisitor;
import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.parser.SQLLexer;
import org.apache.shardingsphere.sql.parser.api.parser.SQLParser;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for authority DistSQL statement.
*/
public final class AuthorityDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class AuthorityDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.authority.distsql.parser.facade.AuthorityDistSQLStatementParserFacade
org.apache.shardingsphere.authority.distsql.parser.facade.AuthorityDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.shardingsphere.data.pipeline.cdc.distsql.parser.core.CDCDistSQLLexer;
import org.apache.shardingsphere.data.pipeline.cdc.distsql.parser.core.CDCDistSQLParser;
import org.apache.shardingsphere.data.pipeline.cdc.distsql.parser.core.CDCDistSQLStatementVisitor;
import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.parser.SQLLexer;
import org.apache.shardingsphere.sql.parser.api.parser.SQLParser;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for CDC DistSQL statement.
*/
public final class CDCDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class CDCDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import org.apache.shardingsphere.data.pipeline.migration.distsql.parser.core.MigrationDistSQLParser;
import org.apache.shardingsphere.data.pipeline.migration.distsql.parser.core.MigrationDistSQLStatementVisitor;
import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.data.pipeline.migration.distsql.parser.core.MigrationDistSQLLexer;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.parser.SQLLexer;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for migration DistSQL statement.
*/
public final class MigrationDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class MigrationDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# limitations under the License.
#

org.apache.shardingsphere.data.pipeline.migration.distsql.parser.facade.MigrationDistSQLStatementParserFacade
org.apache.shardingsphere.data.pipeline.cdc.distsql.parser.facade.CDCDistSQLStatementParserFacade
org.apache.shardingsphere.data.pipeline.migration.distsql.parser.facade.MigrationDistSQLParserFacade
org.apache.shardingsphere.data.pipeline.cdc.distsql.parser.facade.CDCDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.globalclock.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.globalclock.distsql.parser.core.GlobalClockDistSQLLexer;
import org.apache.shardingsphere.globalclock.distsql.parser.core.GlobalClockDistSQLParser;
import org.apache.shardingsphere.globalclock.distsql.parser.core.GlobalClockDistSQLStatementVisitor;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for global clock DistSQL statement.
*/
public final class GlobalClockDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class GlobalClockDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.globalclock.distsql.parser.facade.GlobalClockDistSQLStatementParserFacade
org.apache.shardingsphere.globalclock.distsql.parser.facade.GlobalClockDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.single.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.parser.SQLLexer;
import org.apache.shardingsphere.sql.parser.api.parser.SQLParser;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for single DistSQL statement.
*/
public final class SingleDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class SingleDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.single.distsql.parser.facade.SingleDistSQLStatementParserFacade
org.apache.shardingsphere.single.distsql.parser.facade.SingleDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.sqlfederation.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.sqlfederation.distsql.parser.core.SQLFederationDistSQLLexer;
import org.apache.shardingsphere.sqlfederation.distsql.parser.core.SQLFederationDistSQLParser;
import org.apache.shardingsphere.sqlfederation.distsql.parser.core.SQLFederationDistSQLStatementVisitor;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for SQL federation DistSQL statement.
*/
public final class SQLFederationDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class SQLFederationDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.sqlfederation.distsql.parser.facade.SQLFederationDistSQLStatementParserFacade
org.apache.shardingsphere.sqlfederation.distsql.parser.facade.SQLFederationDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.parser.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.parser.distsql.parser.core.SQLParserDistSQLLexer;
import org.apache.shardingsphere.parser.distsql.parser.core.SQLParserDistSQLParser;
import org.apache.shardingsphere.parser.distsql.parser.core.SQLParserDistSQLStatementVisitor;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for SQL parser DistSQL statement.
*/
public final class SQLParserDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class SQLParserDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.parser.distsql.parser.facade.SQLParserDistSQLStatementParserFacade
org.apache.shardingsphere.parser.distsql.parser.facade.SQLParserDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.sqltranslator.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.parser.SQLLexer;
import org.apache.shardingsphere.sql.parser.api.parser.SQLParser;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for SQL translator DistSQL statement.
*/
public final class SQLTranslatorDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class SQLTranslatorDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.sqltranslator.distsql.parser.facade.SQLTranslatorDistSQLStatementParserFacade
org.apache.shardingsphere.sqltranslator.distsql.parser.facade.SQLTranslatorDistSQLParserFacade
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.shardingsphere.traffic.distsql.parser.facade;

import org.apache.shardingsphere.distsql.parser.engine.spi.FeaturedDistSQLStatementParserFacade;
import org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.parser.SQLLexer;
import org.apache.shardingsphere.sql.parser.api.parser.SQLParser;
Expand All @@ -29,7 +29,7 @@
/**
* SQL parser facade for traffic DistSQL statement.
*/
public final class TrafficDistSQLStatementParserFacade implements FeaturedDistSQLStatementParserFacade {
public final class TrafficDistSQLParserFacade implements DistSQLParserFacade {

@Override
public Class<? extends SQLLexer> getLexerClass() {
Expand Down
Loading

0 comments on commit 394e797

Please sign in to comment.