Class SQLPrivilegeStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLPrivilegeStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement
- Direct Known Subclasses:
SQLGrantStatement,SQLRevokeStatement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<SQLPrivilegeItem>protected SQLObjectprotected SQLObjectTypeFields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHintsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetUsers()voidsetResource(SQLExpr resource) voidvoidvoidMethods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
accept0, clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedStringMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLineMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
-
Field Details
-
privileges
-
users
-
resource
-
resourceType
-
-
Constructor Details
-
SQLPrivilegeStatement
public SQLPrivilegeStatement() -
SQLPrivilegeStatement
-
-
Method Details
-
getUsers
-
addUser
-
setUsers
-
getResource
-
setResource
-
setResource
-
getPrivileges
-
getResourceType
-
setResourceType
-