Class AuthorStatement
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.statement.StatementNode
-
- org.apache.iotdb.db.mpp.plan.statement.Statement
-
- org.apache.iotdb.db.mpp.plan.statement.sys.AuthorStatement
-
- All Implemented Interfaces:
IConfigStatement
public class AuthorStatement extends Statement implements IConfigStatement
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
isDebug, statementType
-
-
Constructor Summary
Constructors Constructor Description AuthorStatement(StatementType type)AuthorOperator Constructor with OperatorType.AuthorStatement(AuthorOperator.AuthorType type)AuthorOperator Constructor with AuthorType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(StatementVisitor<R,C> visitor, C context)Accessible forStatementVisitor, useStatementVisitor.process(StatementNode, Object)instead.AuthorOperator.AuthorTypegetAuthorType()java.lang.StringgetNewPassword()java.util.List<org.apache.iotdb.commons.path.PartialPath>getNodeNameList()java.lang.StringgetPassWord()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()java.lang.String[]getPrivilegeList()QueryTypegetQueryType()Determine whether the operation to be performed is read or writejava.lang.StringgetRoleName()java.lang.StringgetUserName()voidsetNewPassword(java.lang.String newPassword)voidsetNodeNameList(java.util.List<org.apache.iotdb.commons.path.PartialPath> nodeNameList)voidsetPassWord(java.lang.String password)voidsetPrivilegeList(java.lang.String[] privilegeList)voidsetRoleName(java.lang.String roleName)voidsetUserName(java.lang.String userName)
-
-
-
Constructor Detail
-
AuthorStatement
public AuthorStatement(AuthorOperator.AuthorType type)
AuthorOperator Constructor with AuthorType.- Parameters:
type- author type
-
AuthorStatement
public AuthorStatement(StatementType type)
AuthorOperator Constructor with OperatorType.- Parameters:
type- statement 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[] privilegeList)
-
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> nodeNameList)
-
accept
public <R,C> R accept(StatementVisitor<R,C> visitor, C context)
Description copied from class:StatementNodeAccessible forStatementVisitor, useStatementVisitor.process(StatementNode, Object)instead.- Overrides:
acceptin classStatementNode
-
getQueryType
public QueryType getQueryType()
Description copied from interface:IConfigStatementDetermine whether the operation to be performed is read or write- Specified by:
getQueryTypein interfaceIConfigStatement- Returns:
- QueryType
-
-