类 UpdateRegionLocationPlan

  • 所有已实现的接口:
    org.apache.iotdb.consensus.common.request.IConsensusRequest

    public class UpdateRegionLocationPlan
    extends ConfigPhysicalPlan
    • 构造器详细资料

      • 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 location
        oldNode - remove the old location
        newNode - 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()