/* * Copyright 1999-2017 Alibaba Group Holding Ltd. * * Licensed 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 com.alibaba.druid.sql.dialect.odps.visitor; import com.alibaba.druid.sql.dialect.odps.ast.*; import com.alibaba.druid.sql.visitor.SQLASTVisitor; public interface OdpsASTVisitor extends SQLASTVisitor { void endVisit(OdpsCreateTableStatement x); boolean visit(OdpsCreateTableStatement x); void endVisit(OdpsInsertStatement x); boolean visit(OdpsInsertStatement x); void endVisit(OdpsInsert x); boolean visit(OdpsInsert x); void endVisit(OdpsUDTFSQLSelectItem x); boolean visit(OdpsUDTFSQLSelectItem x); void endVisit(OdpsShowPartitionsStmt x); boolean visit(OdpsShowPartitionsStmt x); void endVisit(OdpsShowStatisticStmt x); boolean visit(OdpsShowStatisticStmt x); void endVisit(OdpsSetLabelStatement x); boolean visit(OdpsSetLabelStatement x); void endVisit(OdpsSelectQueryBlock x); boolean visit(OdpsSelectQueryBlock x); void endVisit(OdpsAnalyzeTableStatement x); boolean visit(OdpsAnalyzeTableStatement x); void endVisit(OdpsAddStatisticStatement x); boolean visit(OdpsAddStatisticStatement x); void endVisit(OdpsRemoveStatisticStatement x); boolean visit(OdpsRemoveStatisticStatement x); void endVisit(OdpsStatisticClause.TableCount x); boolean visit(OdpsStatisticClause.TableCount x); void endVisit(OdpsStatisticClause.ExpressionCondition x); boolean visit(OdpsStatisticClause.ExpressionCondition x); void endVisit(OdpsStatisticClause.NullValue x); boolean visit(OdpsStatisticClause.NullValue x); void endVisit(OdpsStatisticClause.ColumnSum x); boolean visit(OdpsStatisticClause.ColumnSum x); void endVisit(OdpsStatisticClause.ColumnMax x); boolean visit(OdpsStatisticClause.ColumnMax x); void endVisit(OdpsStatisticClause.ColumnMin x); boolean visit(OdpsStatisticClause.ColumnMin x); void endVisit(OdpsReadStatement x); boolean visit(OdpsReadStatement x); void endVisit(OdpsShowGrantsStmt x); boolean visit(OdpsShowGrantsStmt x); void endVisit(OdpsListStmt x); boolean visit(OdpsListStmt x); void endVisit(OdpsGrantStmt x); boolean visit(OdpsGrantStmt x); void endVisit(OdpsLateralViewTableSource x); boolean visit(OdpsLateralViewTableSource x); void endVisit(OdpsValuesTableSource x); boolean visit(OdpsValuesTableSource x); }