Class TStatus

    • Field Detail

      • sqlState

        public String sqlState
      • errorCode

        public int errorCode
      • errorMessage

        public String errorMessage
      • displayMessage

        public String displayMessage
      • errorDetailsJson

        public String errorDetailsJson
      • metaDataMap

        public static final Map<TStatus._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • TStatus

        public TStatus()
      • TStatus

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

      • clear

        public void clear()
        Specified by:
        clear in interface org.apache.thrift.TBase<TStatus,​TStatus._Fields>
      • unsetStatusCode

        public void unsetStatusCode()
      • isSetStatusCode

        public boolean isSetStatusCode()
        Returns true if field statusCode is set (has been assigned a value) and false otherwise
      • setStatusCodeIsSet

        public void setStatusCodeIsSet​(boolean value)
      • getInfoMessagesSize

        public int getInfoMessagesSize()
      • getInfoMessagesIterator

        public Iterator<String> getInfoMessagesIterator()
      • addToInfoMessages

        public void addToInfoMessages​(String elem)
      • getInfoMessages

        public List<String> getInfoMessages()
      • unsetInfoMessages

        public void unsetInfoMessages()
      • isSetInfoMessages

        public boolean isSetInfoMessages()
        Returns true if field infoMessages is set (has been assigned a value) and false otherwise
      • setInfoMessagesIsSet

        public void setInfoMessagesIsSet​(boolean value)
      • getSqlState

        public String getSqlState()
      • unsetSqlState

        public void unsetSqlState()
      • isSetSqlState

        public boolean isSetSqlState()
        Returns true if field sqlState is set (has been assigned a value) and false otherwise
      • setSqlStateIsSet

        public void setSqlStateIsSet​(boolean value)
      • getErrorCode

        public int getErrorCode()
      • setErrorCode

        public TStatus setErrorCode​(int errorCode)
      • unsetErrorCode

        public void unsetErrorCode()
      • isSetErrorCode

        public boolean isSetErrorCode()
        Returns true if field errorCode is set (has been assigned a value) and false otherwise
      • setErrorCodeIsSet

        public void setErrorCodeIsSet​(boolean value)
      • getErrorMessage

        public String getErrorMessage()
      • setErrorMessage

        public TStatus setErrorMessage​(String errorMessage)
      • unsetErrorMessage

        public void unsetErrorMessage()
      • isSetErrorMessage

        public boolean isSetErrorMessage()
        Returns true if field errorMessage is set (has been assigned a value) and false otherwise
      • setErrorMessageIsSet

        public void setErrorMessageIsSet​(boolean value)
      • getDisplayMessage

        public String getDisplayMessage()
      • setDisplayMessage

        public TStatus setDisplayMessage​(String displayMessage)
      • unsetDisplayMessage

        public void unsetDisplayMessage()
      • isSetDisplayMessage

        public boolean isSetDisplayMessage()
        Returns true if field displayMessage is set (has been assigned a value) and false otherwise
      • setDisplayMessageIsSet

        public void setDisplayMessageIsSet​(boolean value)
      • getErrorDetailsJson

        public String getErrorDetailsJson()
      • setErrorDetailsJson

        public TStatus setErrorDetailsJson​(String errorDetailsJson)
      • unsetErrorDetailsJson

        public void unsetErrorDetailsJson()
      • isSetErrorDetailsJson

        public boolean isSetErrorDetailsJson()
        Returns true if field errorDetailsJson is set (has been assigned a value) and false otherwise
      • setErrorDetailsJsonIsSet

        public void setErrorDetailsJsonIsSet​(boolean value)
      • isSet

        public boolean isSet​(TStatus._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<TStatus,​TStatus._Fields>
      • equals

        public boolean equals​(TStatus that)
      • 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