Class TStatus
java.lang.Object
com.databricks.jdbc.model.client.thrift.generated.TStatus
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TStatus>,org.apache.thrift.TBase<TStatus,,TStatus._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2025-05-08")
public class TStatus
extends Object
implements org.apache.thrift.TBase<TStatus,TStatus._Fields>, Serializable, Cloneable, Comparable<TStatus>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final Map<TStatus._Fields, org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToInfoMessages(String elem) voidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intgetFieldValue(TStatus._Fields field) intinthashCode()booleanisSet(TStatus._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field displayMessage is set (has been assigned a value) and false otherwisebooleanReturns true if field errorCode is set (has been assigned a value) and false otherwisebooleanReturns true if field errorDetailsJson is set (has been assigned a value) and false otherwisebooleanReturns true if field errorMessage is set (has been assigned a value) and false otherwisebooleanReturns true if field infoMessages is set (has been assigned a value) and false otherwisebooleanReturns true if field sqlState is set (has been assigned a value) and false otherwisebooleanReturns true if field statusCode is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setDisplayMessage(String displayMessage) voidsetDisplayMessageIsSet(boolean value) setErrorCode(int errorCode) voidsetErrorCodeIsSet(boolean value) setErrorDetailsJson(String errorDetailsJson) voidsetErrorDetailsJsonIsSet(boolean value) setErrorMessage(String errorMessage) voidsetErrorMessageIsSet(boolean value) voidsetFieldValue(TStatus._Fields field, Object value) setInfoMessages(List<String> infoMessages) voidsetInfoMessagesIsSet(boolean value) setSqlState(String sqlState) voidsetSqlStateIsSet(boolean value) setStatusCode(TStatusCode statusCode) voidsetStatusCodeIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
statusCode
- See Also:
-
infoMessages
-
sqlState
-
errorCode
public int errorCode -
errorMessage
-
displayMessage
-
errorDetailsJson
-
metaDataMap
-
-
Constructor Details
-
TStatus
public TStatus() -
TStatus
-
TStatus
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TStatus,TStatus._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TStatus,TStatus._Fields>
-
getStatusCode
- See Also:
-
setStatusCode
- See Also:
-
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
-
addToInfoMessages
-
getInfoMessages
-
setInfoMessages
-
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
-
setSqlState
-
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
-
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
-
setErrorMessage
-
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
-
setDisplayMessage
-
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
-
setErrorDetailsJson
-
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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TStatus,TStatus._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TStatus,TStatus._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TStatus,TStatus._Fields>
-
equals
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<TStatus>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TStatus,TStatus._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-