com.alibaba.druid.sql.dialect.mysql.ast
Class MySqlKey

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.statement.SQLConstaintImpl
          extended by com.alibaba.druid.sql.dialect.mysql.ast.MySqlKey
All Implemented Interfaces:
SQLObject, SQLConstaint, SQLTableConstaint, SQLTableElement, SQLUniqueConstraint, Serializable
Direct Known Subclasses:
MySqlPrimaryKey

public class MySqlKey
extends SQLConstaintImpl
implements SQLUniqueConstraint, SQLTableConstaint

See Also:
Serialized Form

Constructor Summary
MySqlKey()
           
 
Method Summary
 List<SQLExpr> getColumns()
           
 String getIndexType()
           
 void setIndexType(String indexType)
           
 
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLConstaintImpl
getName, setName
 
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, getAttribute, getAttributes, getAttributesDirect, getParent, output, putAttribute, setParent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.alibaba.druid.sql.ast.statement.SQLConstaint
getName, setName
 
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, getAttribute, getAttributes, getAttributesDirect, getParent, output, putAttribute, setParent
 

Constructor Detail

MySqlKey

public MySqlKey()
Method Detail

getColumns

public List<SQLExpr> getColumns()
Specified by:
getColumns in interface SQLUniqueConstraint

getIndexType

public String getIndexType()

setIndexType

public void setIndexType(String indexType)


Copyright © 2012 Alibaba Group. All Rights Reserved.