package com.alibaba.druid.sql.dialect.phoenix.ast;

import com.alibaba.druid.DbType;
import com.alibaba.druid.sql.ast.SQLStatementImpl;
import com.alibaba.druid.sql.dialect.phoenix.visitor.PhoenixASTVisitor;
import com.alibaba.druid.sql.visitor.SQLASTVisitor;

public abstract class PhoenixStatementImpl extends SQLStatementImpl implements PhoenixObject {
   public PhoenixStatementImpl() {
      super(DbType.phoenix);
   }

   protected void accept0(SQLASTVisitor visitor) {
      if (visitor instanceof PhoenixASTVisitor) {
         this.accept0((PhoenixASTVisitor)visitor);
      } else {
         super.accept0(visitor);
      }
   }

   public abstract void accept0(PhoenixASTVisitor var1);
}
