Class AuthorReadPlan
java.lang.Object
org.apache.iotdb.confignode.consensus.request.ConfigPhysicalPlan
org.apache.iotdb.confignode.consensus.request.read.ConfigPhysicalReadPlan
org.apache.iotdb.confignode.consensus.request.read.auth.AuthorReadPlan
- All Implemented Interfaces:
IConsensusRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.iotdb.confignode.consensus.request.ConfigPhysicalPlan
ConfigPhysicalPlan.Factory -
Constructor Summary
ConstructorsConstructorDescriptionAuthorReadPlan(ConfigPhysicalPlanType authorType, String userName, String roleName, String password, String newPassword, Set<Integer> permissions, boolean grantOpt, List<PartialPath> nodeNameList) AuthorReadPlanConstructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetPassword(String password) voidsetPermissions(Set<Integer> permissions) voidsetUserName(String userName) toString()Methods inherited from class org.apache.iotdb.confignode.consensus.request.read.ConfigPhysicalReadPlan
deserializeImpl, serializeImplMethods inherited from class org.apache.iotdb.confignode.consensus.request.ConfigPhysicalPlan
getSerializedSize, getType, serializeToByteBufferMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.iotdb.consensus.common.request.IConsensusRequest
getMemorySize, markAsGeneratedByRemoteConsensusLeader
-
Constructor Details
-
AuthorReadPlan
public AuthorReadPlan(ConfigPhysicalPlanType authorType, String userName, String roleName, String password, String newPassword, Set<Integer> permissions, boolean grantOpt, List<PartialPath> nodeNameList) AuthorReadPlanConstructor.- Parameters:
authorType- author typeuserName- user nameroleName- role namepassword- passwordnewPassword- new passwordpermissions- permissionsgrantOpt- with grant option, only grant statement can set grantOpt = truenodeNameList- node name in Path structure
-
-
Method Details
-
getRoleName
-
getPassword
-
setPassword
-
getPermissions
-
setPermissions
-
getUserName
-
setUserName
-
equals
- Overrides:
equalsin classConfigPhysicalPlan
-
hashCode
public int hashCode()- Overrides:
hashCodein classConfigPhysicalPlan
-
toString
-