Class TDataNodeLocation

    • Field Detail

      • dataNodeId

        public int dataNodeId
      • clientRpcEndPoint

        public TEndPoint clientRpcEndPoint
      • internalEndPoint

        public TEndPoint internalEndPoint
      • mPPDataExchangeEndPoint

        public TEndPoint mPPDataExchangeEndPoint
      • dataRegionConsensusEndPoint

        public TEndPoint dataRegionConsensusEndPoint
      • schemaRegionConsensusEndPoint

        public TEndPoint schemaRegionConsensusEndPoint
    • Constructor Detail

      • TDataNodeLocation

        public TDataNodeLocation()
      • TDataNodeLocation

        public TDataNodeLocation​(int dataNodeId,
                                 TEndPoint clientRpcEndPoint,
                                 TEndPoint internalEndPoint,
                                 TEndPoint mPPDataExchangeEndPoint,
                                 TEndPoint dataRegionConsensusEndPoint,
                                 TEndPoint schemaRegionConsensusEndPoint)
      • TDataNodeLocation

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

      • getDataNodeId

        public int getDataNodeId()
      • unsetDataNodeId

        public void unsetDataNodeId()
      • isSetDataNodeId

        public boolean isSetDataNodeId()
        Returns true if field dataNodeId is set (has been assigned a value) and false otherwise
      • setDataNodeIdIsSet

        public void setDataNodeIdIsSet​(boolean value)
      • getClientRpcEndPoint

        public TEndPoint getClientRpcEndPoint()
      • unsetClientRpcEndPoint

        public void unsetClientRpcEndPoint()
      • isSetClientRpcEndPoint

        public boolean isSetClientRpcEndPoint()
        Returns true if field clientRpcEndPoint is set (has been assigned a value) and false otherwise
      • setClientRpcEndPointIsSet

        public void setClientRpcEndPointIsSet​(boolean value)
      • getInternalEndPoint

        public TEndPoint getInternalEndPoint()
      • unsetInternalEndPoint

        public void unsetInternalEndPoint()
      • isSetInternalEndPoint

        public boolean isSetInternalEndPoint()
        Returns true if field internalEndPoint is set (has been assigned a value) and false otherwise
      • setInternalEndPointIsSet

        public void setInternalEndPointIsSet​(boolean value)
      • getMPPDataExchangeEndPoint

        public TEndPoint getMPPDataExchangeEndPoint()
      • unsetMPPDataExchangeEndPoint

        public void unsetMPPDataExchangeEndPoint()
      • isSetMPPDataExchangeEndPoint

        public boolean isSetMPPDataExchangeEndPoint()
        Returns true if field mPPDataExchangeEndPoint is set (has been assigned a value) and false otherwise
      • setMPPDataExchangeEndPointIsSet

        public void setMPPDataExchangeEndPointIsSet​(boolean value)
      • getDataRegionConsensusEndPoint

        public TEndPoint getDataRegionConsensusEndPoint()
      • setDataRegionConsensusEndPoint

        public TDataNodeLocation setDataRegionConsensusEndPoint​(TEndPoint dataRegionConsensusEndPoint)
      • unsetDataRegionConsensusEndPoint

        public void unsetDataRegionConsensusEndPoint()
      • isSetDataRegionConsensusEndPoint

        public boolean isSetDataRegionConsensusEndPoint()
        Returns true if field dataRegionConsensusEndPoint is set (has been assigned a value) and false otherwise
      • setDataRegionConsensusEndPointIsSet

        public void setDataRegionConsensusEndPointIsSet​(boolean value)
      • getSchemaRegionConsensusEndPoint

        public TEndPoint getSchemaRegionConsensusEndPoint()
      • setSchemaRegionConsensusEndPoint

        public TDataNodeLocation setSchemaRegionConsensusEndPoint​(TEndPoint schemaRegionConsensusEndPoint)
      • unsetSchemaRegionConsensusEndPoint

        public void unsetSchemaRegionConsensusEndPoint()
      • isSetSchemaRegionConsensusEndPoint

        public boolean isSetSchemaRegionConsensusEndPoint()
        Returns true if field schemaRegionConsensusEndPoint is set (has been assigned a value) and false otherwise
      • setSchemaRegionConsensusEndPointIsSet

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