提交 1c3a83ca 编写于 作者: happy_byr's avatar happy_byr

fix import

上级 2094bf77
......@@ -19,7 +19,7 @@ package org.apache.shardingsphere.sql.parser.postgresql.visitor.impl;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.visitor.statement.DALVisitor;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.AnalyzeContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.ConfigurationParameterClauseContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.ResetParameterContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.SetContext;
......@@ -88,7 +88,7 @@ public final class PostgreSQLDALVisitor extends PostgreSQLVisitor implements DAL
}
@Override
public ASTNode visitAnalyze(final PostgreSQLStatementParser.AnalyzeContext ctx) {
public ASTNode visitAnalyze(final AnalyzeContext ctx) {
return new AnalyzeTableStatement();
}
}
......@@ -19,7 +19,7 @@ package org.apache.shardingsphere.sql.parser.postgresql.visitor.impl;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.visitor.statement.DDLVisitor;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.CreateFunctionContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.AlterProcedureContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.AlterFunctionContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.AddColumnSpecificationContext;
......@@ -298,7 +298,7 @@ public final class PostgreSQLDDLVisitor extends PostgreSQLVisitor implements DDL
}
@Override
public ASTNode visitCreateFunction(final PostgreSQLStatementParser.CreateFunctionContext ctx) {
public ASTNode visitCreateFunction(final CreateFunctionContext ctx) {
return new CreateFunctionStatement();
}
}
......@@ -21,6 +21,8 @@ import org.antlr.v4.runtime.tree.ParseTree;
import org.apache.shardingsphere.sql.parser.api.ASTNode;
import org.apache.shardingsphere.sql.parser.api.visitor.statement.DMLVisitor;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.CallContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.DoStatementContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.AExprContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.AliasClauseContext;
import org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.AttrNameContext;
......@@ -661,12 +663,12 @@ public final class PostgreSQLDMLVisitor extends PostgreSQLVisitor implements DML
}
@Override
public ASTNode visitCall(final PostgreSQLStatementParser.CallContext ctx) {
public ASTNode visitCall(final CallContext ctx) {
return new CallStatement();
}
@Override
public ASTNode visitDoStatement(final PostgreSQLStatementParser.DoStatementContext ctx) {
public ASTNode visitDoStatement(final DoStatementContext ctx) {
return new DoStatement();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册