类 UpdateRegionLocationPlan
- java.lang.Object
-
- org.apache.iotdb.confignode.consensus.request.ConfigPhysicalPlan
-
- org.apache.iotdb.confignode.consensus.request.write.partition.UpdateRegionLocationPlan
-
- 所有已实现的接口:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class UpdateRegionLocationPlan extends ConfigPhysicalPlan
-
-
嵌套类概要
-
从类继承的嵌套类/接口 org.apache.iotdb.confignode.consensus.request.ConfigPhysicalPlan
ConfigPhysicalPlan.Factory
-
-
构造器概要
构造器 构造器 说明 UpdateRegionLocationPlan()UpdateRegionLocationPlan(org.apache.iotdb.common.rpc.thrift.TConsensusGroupId regionId, org.apache.iotdb.common.rpc.thrift.TDataNodeLocation oldNode, org.apache.iotdb.common.rpc.thrift.TDataNodeLocation newNode)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voiddeserializeImpl(java.nio.ByteBuffer buffer)org.apache.iotdb.common.rpc.thrift.TDataNodeLocationgetNewNode()org.apache.iotdb.common.rpc.thrift.TDataNodeLocationgetOldNode()org.apache.iotdb.common.rpc.thrift.TConsensusGroupIdgetRegionId()protected voidserializeImpl(java.io.DataOutputStream stream)-
从类继承的方法 org.apache.iotdb.confignode.consensus.request.ConfigPhysicalPlan
equals, getSerializedSize, getType, hashCode, serializeToByteBuffer
-
-
-
-
构造器详细资料
-
UpdateRegionLocationPlan
public UpdateRegionLocationPlan()
-
UpdateRegionLocationPlan
public UpdateRegionLocationPlan(org.apache.iotdb.common.rpc.thrift.TConsensusGroupId regionId, org.apache.iotdb.common.rpc.thrift.TDataNodeLocation oldNode, org.apache.iotdb.common.rpc.thrift.TDataNodeLocation newNode)Constructor- 参数:
regionId- update the region locationoldNode- remove the old locationnewNode- add the new location
-
-
方法详细资料
-
serializeImpl
protected void serializeImpl(java.io.DataOutputStream stream) throws java.io.IOException- 指定者:
serializeImpl在类中ConfigPhysicalPlan- 抛出:
java.io.IOException
-
deserializeImpl
protected void deserializeImpl(java.nio.ByteBuffer buffer) throws java.io.IOException- 指定者:
deserializeImpl在类中ConfigPhysicalPlan- 抛出:
java.io.IOException
-
getRegionId
public org.apache.iotdb.common.rpc.thrift.TConsensusGroupId getRegionId()
-
getOldNode
public org.apache.iotdb.common.rpc.thrift.TDataNodeLocation getOldNode()
-
getNewNode
public org.apache.iotdb.common.rpc.thrift.TDataNodeLocation getNewNode()
-
-