Class MySqlFlushStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlStatementImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlFlushStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement,MySqlObject,MySqlStatement
public class MySqlFlushStatement extends MySqlStatementImpl
Created by wenshao on 16/08/2017.
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description MySqlFlushStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(MySqlASTVisitor visitor)voidaddTable(SQLName name)voidaddTable(SQLExprTableSource table)SQLExprgetRelayLogsForChannel()List<SQLExprTableSource>getTables()SQLIntegerExprgetVersion()booleanisBinaryLogs()booleanisDesKeyFile()booleanisEngineLogs()booleanisErrorLogs()booleanisForExport()booleanisGeneralLogs()booleanisHots()booleanisLocal()booleanisLogs()booleanisMaster()booleanisNoWriteToBinlog()booleanisOptimizerCosts()booleanisPrivileges()booleanisQueryCache()booleanisRelayLogs()booleanisSlowLogs()booleanisStatus()booleanisTableOption()booleanisUserResources()booleanisWithReadLock()voidsetBinaryLogs(boolean binaryLogs)voidsetDesKeyFile(boolean desKeyFile)voidsetEngineLogs(boolean engineLogs)voidsetErrorLogs(boolean errorLogs)voidsetForExport(boolean forExport)voidsetGeneralLogs(boolean generalLogs)voidsetHots(boolean hots)voidsetLocal(boolean local)voidsetLogs(boolean logs)voidsetMaster(boolean master)voidsetNoWriteToBinlog(boolean noWriteToBinlog)voidsetOptimizerCosts(boolean optimizerCosts)voidsetPrivileges(boolean privileges)voidsetQueryCache(boolean queryCache)voidsetRelayLogs(boolean relayLogs)voidsetRelayLogsForChannel(SQLExpr relayLogsForChannel)voidsetSlowLogs(boolean showLogs)voidsetStatus(boolean status)voidsetTableOption(boolean tableOption)voidsetUserResources(boolean userResources)voidsetVersion(SQLIntegerExpr version)voidsetWithReadLock(boolean withReadLock)-
Methods inherited from class com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlStatementImpl
accept0, getChildren
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, cloneTo, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedString
-
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
-
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
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
-
-
-
Method Detail
-
isNoWriteToBinlog
public boolean isNoWriteToBinlog()
-
setNoWriteToBinlog
public void setNoWriteToBinlog(boolean noWriteToBinlog)
-
isLocal
public boolean isLocal()
-
setLocal
public void setLocal(boolean local)
-
getTables
public List<SQLExprTableSource> getTables()
-
isWithReadLock
public boolean isWithReadLock()
-
setWithReadLock
public void setWithReadLock(boolean withReadLock)
-
isForExport
public boolean isForExport()
-
setForExport
public void setForExport(boolean forExport)
-
isBinaryLogs
public boolean isBinaryLogs()
-
setBinaryLogs
public void setBinaryLogs(boolean binaryLogs)
-
isDesKeyFile
public boolean isDesKeyFile()
-
setDesKeyFile
public void setDesKeyFile(boolean desKeyFile)
-
isEngineLogs
public boolean isEngineLogs()
-
setEngineLogs
public void setEngineLogs(boolean engineLogs)
-
isGeneralLogs
public boolean isGeneralLogs()
-
setGeneralLogs
public void setGeneralLogs(boolean generalLogs)
-
isHots
public boolean isHots()
-
setHots
public void setHots(boolean hots)
-
isLogs
public boolean isLogs()
-
setLogs
public void setLogs(boolean logs)
-
isPrivileges
public boolean isPrivileges()
-
setPrivileges
public void setPrivileges(boolean privileges)
-
isOptimizerCosts
public boolean isOptimizerCosts()
-
setOptimizerCosts
public void setOptimizerCosts(boolean optimizerCosts)
-
isQueryCache
public boolean isQueryCache()
-
setQueryCache
public void setQueryCache(boolean queryCache)
-
isRelayLogs
public boolean isRelayLogs()
-
setRelayLogs
public void setRelayLogs(boolean relayLogs)
-
getRelayLogsForChannel
public SQLExpr getRelayLogsForChannel()
-
setRelayLogsForChannel
public void setRelayLogsForChannel(SQLExpr relayLogsForChannel)
-
isSlowLogs
public boolean isSlowLogs()
-
setSlowLogs
public void setSlowLogs(boolean showLogs)
-
isStatus
public boolean isStatus()
-
setStatus
public void setStatus(boolean status)
-
isUserResources
public boolean isUserResources()
-
setUserResources
public void setUserResources(boolean userResources)
-
isErrorLogs
public boolean isErrorLogs()
-
setErrorLogs
public void setErrorLogs(boolean errorLogs)
-
isTableOption
public boolean isTableOption()
-
setTableOption
public void setTableOption(boolean tableOption)
-
accept0
public void accept0(MySqlASTVisitor visitor)
- Specified by:
accept0in interfaceMySqlObject- Overrides:
accept0in classMySqlStatementImpl
-
addTable
public void addTable(SQLName name)
-
addTable
public void addTable(SQLExprTableSource table)
-
getVersion
public SQLIntegerExpr getVersion()
-
setVersion
public void setVersion(SQLIntegerExpr version)
-
isMaster
public boolean isMaster()
-
setMaster
public void setMaster(boolean master)
-
-