Class TCreatePeerReq

    • Method Detail

      • 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)
      • getRegionLocationsSize

        public int getRegionLocationsSize()
      • addToRegionLocations

        public void addToRegionLocations​(TDataNodeLocation elem)
      • unsetRegionLocations

        public void unsetRegionLocations()
      • isSetRegionLocations

        public boolean isSetRegionLocations()
        Returns true if field regionLocations is set (has been assigned a value) and false otherwise
      • setRegionLocationsIsSet

        public void setRegionLocationsIsSet​(boolean value)
      • getStorageGroup

        public String getStorageGroup()
      • unsetStorageGroup

        public void unsetStorageGroup()
      • isSetStorageGroup

        public boolean isSetStorageGroup()
        Returns true if field storageGroup is set (has been assigned a value) and false otherwise
      • setStorageGroupIsSet

        public void setStorageGroupIsSet​(boolean value)
      • getTtl

        public long getTtl()
      • unsetTtl

        public void unsetTtl()
      • isSetTtl

        public boolean isSetTtl()
        Returns true if field ttl is set (has been assigned a value) and false otherwise
      • setTtlIsSet

        public void setTtlIsSet​(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