Class RegionMigrationPlan
java.lang.Object
org.apache.iotdb.confignode.procedure.impl.region.RegionMigrationPlan
-
Constructor Summary
ConstructorsConstructorDescriptionRegionMigrationPlan(TConsensusGroupId regionId, TDataNodeLocation fromDataNode) -
Method Summary
Modifier and TypeMethodDescriptionstatic RegionMigrationPlancreate(TConsensusGroupId regionId, TDataNodeLocation fromDataNode) static RegionMigrationPlandeserialize(ByteBuffer byteBuffer) booleaninthashCode()voidserialize(DataOutputStream stream) voidsetToDataNode(TDataNodeLocation toDataNode) toString()
-
Constructor Details
-
RegionMigrationPlan
-
-
Method Details
-
create
public static RegionMigrationPlan create(TConsensusGroupId regionId, TDataNodeLocation fromDataNode) -
getRegionId
-
getFromDataNode
-
getToDataNode
-
setToDataNode
-
serialize
- Throws:
IOException
-
deserialize
-
equals
-
hashCode
public int hashCode() -
toString
-