Package com.mapd.thrift.server
Class TMapDException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- com.mapd.thrift.server.TMapDException
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TMapDException>,org.apache.thrift.TBase<TMapDException,TMapDException._Fields>,org.apache.thrift.TSerializable
public class TMapDException extends org.apache.thrift.TException implements org.apache.thrift.TBase<TMapDException,TMapDException._Fields>, Serializable, Cloneable, Comparable<TMapDException>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTMapDException._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Stringerror_msgstatic Map<TMapDException._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TMapDException()TMapDException(TMapDException other)Performs a deep copy on other.TMapDException(String error_msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TMapDException other)TMapDExceptiondeepCopy()booleanequals(TMapDException that)booleanequals(Object that)TMapDException._FieldsfieldForId(int fieldId)StringgetError_msg()ObjectgetFieldValue(TMapDException._Fields field)inthashCode()booleanisSet(TMapDException._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetError_msg()Returns true if field error_msg is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TMapDExceptionsetError_msg(String error_msg)voidsetError_msgIsSet(boolean value)voidsetFieldValue(TMapDException._Fields field, Object value)StringtoString()voidunsetError_msg()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
error_msg
public String error_msg
-
metaDataMap
public static final Map<TMapDException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TMapDException
public TMapDException()
-
TMapDException
public TMapDException(String error_msg)
-
TMapDException
public TMapDException(TMapDException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TMapDException deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TMapDException,TMapDException._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TMapDException,TMapDException._Fields>
-
getError_msg
public String getError_msg()
-
setError_msg
public TMapDException setError_msg(String error_msg)
-
unsetError_msg
public void unsetError_msg()
-
isSetError_msg
public boolean isSetError_msg()
Returns true if field error_msg is set (has been assigned a value) and false otherwise
-
setError_msgIsSet
public void setError_msgIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TMapDException._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TMapDException,TMapDException._Fields>
-
getFieldValue
public Object getFieldValue(TMapDException._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TMapDException,TMapDException._Fields>
-
isSet
public boolean isSet(TMapDException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TMapDException,TMapDException._Fields>
-
equals
public boolean equals(TMapDException that)
-
compareTo
public int compareTo(TMapDException other)
- Specified by:
compareToin interfaceComparable<TMapDException>
-
fieldForId
public TMapDException._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TMapDException,TMapDException._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
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-