Class TMigrateRegionReq

    • Field Detail

      • regionId

        public int regionId
      • fromId

        public int fromId
      • toId

        public int toId
    • Constructor Detail

      • TMigrateRegionReq

        public TMigrateRegionReq()
      • TMigrateRegionReq

        public TMigrateRegionReq​(int regionId,
                                 int fromId,
                                 int toId)
      • TMigrateRegionReq

        public TMigrateRegionReq​(TMigrateRegionReq other)
        Performs a deep copy on other.
    • Method Detail

      • getRegionId

        public int getRegionId()
      • unsetRegionId

        public void unsetRegionId()
      • isSetRegionId

        public boolean isSetRegionId()
        Returns true if field regionId is set (has been assigned a value) and false otherwise
      • setRegionIdIsSet

        public void setRegionIdIsSet​(boolean value)
      • getFromId

        public int getFromId()
      • unsetFromId

        public void unsetFromId()
      • isSetFromId

        public boolean isSetFromId()
        Returns true if field fromId is set (has been assigned a value) and false otherwise
      • setFromIdIsSet

        public void setFromIdIsSet​(boolean value)
      • getToId

        public int getToId()
      • unsetToId

        public void unsetToId()
      • isSetToId

        public boolean isSetToId()
        Returns true if field toId is set (has been assigned a value) and false otherwise
      • setToIdIsSet

        public void setToIdIsSet​(boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException