public class SQLGrantStatement extends SQLPrivilegeStatement
| Constructor and Description |
|---|
SQLGrantStatement() |
SQLGrantStatement(DbType dbType) |
| Modifier and Type | Method and Description |
|---|---|
List<SQLObject> |
getChildren() |
SQLExpr |
getIdentifiedBy() |
String |
getIdentifiedByPassword() |
SQLExpr |
getMaxConnectionsPerHour() |
SQLExpr |
getMaxQueriesPerHour() |
SQLExpr |
getMaxUpdatesPerHour() |
SQLExpr |
getMaxUserConnections() |
SQLObjectType |
getResourceType() |
boolean |
getWithGrantOption() |
boolean |
isAdminOption() |
void |
setAdminOption(boolean adminOption) |
void |
setIdentifiedBy(SQLExpr identifiedBy) |
void |
setIdentifiedByPassword(String identifiedByPassword) |
void |
setMaxConnectionsPerHour(SQLExpr maxConnectionsPerHour) |
void |
setMaxQueriesPerHour(SQLExpr maxQueriesPerHour) |
void |
setMaxUpdatesPerHour(SQLExpr maxUpdatesPerHour) |
void |
setMaxUserConnections(SQLExpr maxUserConnections) |
void |
setResourceType(SQLObjectType resourceType) |
void |
setWithGrantOption(boolean withGrantOption) |
addUser, getPrivileges, getResource, getUsers, setResource, setResource, setUsersclone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLineequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentpublic SQLGrantStatement()
public SQLGrantStatement(DbType dbType)
public List<SQLObject> getChildren()
getChildren in interface SQLStatementgetChildren in class SQLStatementImplpublic SQLObjectType getResourceType()
getResourceType in class SQLPrivilegeStatementpublic void setResourceType(SQLObjectType resourceType)
setResourceType in class SQLPrivilegeStatementpublic SQLExpr getMaxQueriesPerHour()
public void setMaxQueriesPerHour(SQLExpr maxQueriesPerHour)
public SQLExpr getMaxUpdatesPerHour()
public void setMaxUpdatesPerHour(SQLExpr maxUpdatesPerHour)
public SQLExpr getMaxConnectionsPerHour()
public void setMaxConnectionsPerHour(SQLExpr maxConnectionsPerHour)
public SQLExpr getMaxUserConnections()
public void setMaxUserConnections(SQLExpr maxUserConnections)
public boolean isAdminOption()
public void setAdminOption(boolean adminOption)
public SQLExpr getIdentifiedBy()
public void setIdentifiedBy(SQLExpr identifiedBy)
public String getIdentifiedByPassword()
public void setIdentifiedByPassword(String identifiedByPassword)
public boolean getWithGrantOption()
public void setWithGrantOption(boolean withGrantOption)
Copyright © 2013–2020 Alibaba Group. All rights reserved.