package com.chenyang.druid.sql.ast.statement;

import com.chenyang.druid.sql.ast.SQLName;
import com.chenyang.druid.sql.ast.SQLObjectImpl;
import com.chenyang.druid.sql.visitor.SQLASTVisitor;

public class SQLAlterTableDropClusteringKey extends SQLObjectImpl implements SQLAlterTableItem {
   private SQLName keyName;

   public SQLName getKeyName() {
      return this.keyName;
   }

   public void setKeyName(SQLName keyName) {
      this.keyName = keyName;
   }

   protected void accept0(SQLASTVisitor visitor) {
      if (visitor.visit(this)) {
         this.acceptChild(visitor, this.keyName);
      }

      visitor.endVisit(this);
   }
}
