Class MysqlPartitionSingle
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLPartition
-
- com.alibaba.druid.sql.ast.SQLPartitionSingle
-
- com.alibaba.druid.sql.dialect.mysql.ast.MysqlPartitionSingle
-
- All Implemented Interfaces:
SQLObject,MySqlObject
public class MysqlPartitionSingle extends SQLPartitionSingle implements MySqlObject
-
-
Field Summary
Fields Modifier and Type Field Description protected SQLExprcommentprotected SQLExprdataDirectoryprotected SQLExprengineprotected SQLExprindexDirectoryprotected SQLExprmaxRowsprotected SQLExprminRows-
Fields inherited from class com.alibaba.druid.sql.ast.SQLPartitionSingle
locality, name, subPartitions, subPartitionsCount, tablespace, values
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description MysqlPartitionSingle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(MySqlASTVisitor visitor)MysqlPartitionSingleclone()SQLExprgetComment()SQLExprgetDataDirectory()SQLExprgetEngine()SQLExprgetIndexDirectory()SQLExprgetMaxRows()SQLExprgetMinRows()voidsetComment(SQLExpr comment)voidsetDataDirectory(SQLExpr dataDirectory)voidsetEngine(SQLExpr engine)voidsetIndexDirectory(SQLExpr indexDirectory)voidsetMaxRows(SQLExpr maxRows)voidsetMinRows(SQLExpr minRows)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLPartitionSingle
accept0, addSubPartition, getLocality, getName, getSubPartitions, getSubPartitionsCount, getTablespace, getValues, setLocality, setName, setSubPartitionsCount, setTablespace, setValues
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
getIndexDirectory
public SQLExpr getIndexDirectory()
-
setIndexDirectory
public void setIndexDirectory(SQLExpr indexDirectory)
-
getDataDirectory
public SQLExpr getDataDirectory()
-
setDataDirectory
public void setDataDirectory(SQLExpr dataDirectory)
-
getMaxRows
public SQLExpr getMaxRows()
-
setMaxRows
public void setMaxRows(SQLExpr maxRows)
-
getMinRows
public SQLExpr getMinRows()
-
setMinRows
public void setMinRows(SQLExpr minRows)
-
getEngine
public SQLExpr getEngine()
-
setEngine
public void setEngine(SQLExpr engine)
-
getComment
public SQLExpr getComment()
-
setComment
public void setComment(SQLExpr comment)
-
clone
public MysqlPartitionSingle clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLPartitionSingle
-
accept0
public void accept0(MySqlASTVisitor visitor)
- Specified by:
accept0in interfaceMySqlObject
-
-