Class AuthorOperator
- java.lang.Object
-
- org.apache.iotdb.db.qp.logical.Operator
-
- org.apache.iotdb.db.qp.logical.sys.AuthorOperator
-
public class AuthorOperator extends Operator
this class maintains information in Author statement, including CREATE, DROP, GRANT and REVOKE.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthorOperator.AuthorType-
Nested classes/interfaces inherited from class org.apache.iotdb.db.qp.logical.Operator
Operator.OperatorType
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.qp.logical.Operator
isDebug, isPrefixMatchPath, operatorType, tokenIntType
-
-
Constructor Summary
Constructors Constructor Description AuthorOperator(int tokenIntType, Operator.OperatorType type)AuthorOperator Constructor with OperatorType.AuthorOperator(int tokenIntType, AuthorOperator.AuthorType type)AuthorOperator Constructor with AuthorType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhysicalPlangeneratePhysicalPlan(PhysicalGenerator generator)AuthorOperator.AuthorTypegetAuthorType()java.lang.StringgetNewPassword()java.util.List<org.apache.iotdb.commons.path.PartialPath>getNodeNameList()java.lang.StringgetPassWord()java.lang.String[]getPrivilegeList()java.lang.StringgetRoleName()java.lang.StringgetUserName()voidsetNewPassword(java.lang.String newPassword)voidsetNodeNameList(java.util.List<org.apache.iotdb.commons.path.PartialPath> nodePath)voidsetPassWord(java.lang.String password)voidsetPrivilegeList(java.lang.String[] authorizationList)voidsetRoleName(java.lang.String roleName)voidsetUserName(java.lang.String userName)-
Methods inherited from class org.apache.iotdb.db.qp.logical.Operator
getTokenIntType, getType, isDebug, isPrefixMatchPath, isQuery, setDebug, setOperatorType, setPrefixMatchPath, toString
-
-
-
-
Constructor Detail
-
AuthorOperator
public AuthorOperator(int tokenIntType, AuthorOperator.AuthorType type)AuthorOperator Constructor with AuthorType.- Parameters:
tokenIntType- token in Int typetype- author type
-
AuthorOperator
public AuthorOperator(int tokenIntType, Operator.OperatorType type)AuthorOperator Constructor with OperatorType.- Parameters:
tokenIntType- token in Int typetype- operator type
-
-
Method Detail
-
getAuthorType
public AuthorOperator.AuthorType getAuthorType()
-
getUserName
public java.lang.String getUserName()
-
setUserName
public void setUserName(java.lang.String userName)
-
getRoleName
public java.lang.String getRoleName()
-
setRoleName
public void setRoleName(java.lang.String roleName)
-
getPassWord
public java.lang.String getPassWord()
-
setPassWord
public void setPassWord(java.lang.String password)
-
getNewPassword
public java.lang.String getNewPassword()
-
setNewPassword
public void setNewPassword(java.lang.String newPassword)
-
getPrivilegeList
public java.lang.String[] getPrivilegeList()
-
setPrivilegeList
public void setPrivilegeList(java.lang.String[] authorizationList)
-
getNodeNameList
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getNodeNameList()
-
setNodeNameList
public void setNodeNameList(java.util.List<org.apache.iotdb.commons.path.PartialPath> nodePath)
-
generatePhysicalPlan
public PhysicalPlan generatePhysicalPlan(PhysicalGenerator generator) throws QueryProcessException
- Overrides:
generatePhysicalPlanin classOperator- Throws:
QueryProcessException
-
-