public class HiveServerException extends org.apache.thrift.TException implements org.apache.thrift.TBase<HiveServerException,HiveServerException._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
HiveServerException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<HiveServerException._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
HiveServerException() |
HiveServerException(HiveServerException other)
Performs a deep copy on other.
|
HiveServerException(String message,
int errorCode,
String SQLState) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(HiveServerException other) |
HiveServerException |
deepCopy() |
boolean |
equals(HiveServerException that) |
boolean |
equals(Object that) |
HiveServerException._Fields |
fieldForId(int fieldId) |
int |
getErrorCode() |
Object |
getFieldValue(HiveServerException._Fields field) |
String |
getMessage() |
String |
getSQLState() |
int |
hashCode() |
boolean |
isSet(HiveServerException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetErrorCode()
Returns true if field errorCode is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
|
boolean |
isSetSQLState()
Returns true if field SQLState is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setErrorCode(int errorCode) |
void |
setErrorCodeIsSet(boolean value) |
void |
setFieldValue(HiveServerException._Fields field,
Object value) |
void |
setMessage(String message) |
void |
setMessageIsSet(boolean value) |
void |
setSQLState(String SQLState) |
void |
setSQLStateIsSet(boolean value) |
String |
toString() |
void |
unsetErrorCode() |
void |
unsetMessage() |
void |
unsetSQLState() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final Map<HiveServerException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public HiveServerException()
public HiveServerException(HiveServerException other)
public HiveServerException deepCopy()
deepCopy
in interface org.apache.thrift.TBase<HiveServerException,HiveServerException._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<HiveServerException,HiveServerException._Fields>
public String getMessage()
getMessage
in class Throwable
public void setMessage(String message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public int getErrorCode()
public void setErrorCode(int errorCode)
public void unsetErrorCode()
public boolean isSetErrorCode()
public void setErrorCodeIsSet(boolean value)
public String getSQLState()
public void setSQLState(String SQLState)
public void unsetSQLState()
public boolean isSetSQLState()
public void setSQLStateIsSet(boolean value)
public void setFieldValue(HiveServerException._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<HiveServerException,HiveServerException._Fields>
public Object getFieldValue(HiveServerException._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<HiveServerException,HiveServerException._Fields>
public boolean isSet(HiveServerException._Fields field)
isSet
in interface org.apache.thrift.TBase<HiveServerException,HiveServerException._Fields>
public boolean equals(HiveServerException that)
public int compareTo(HiveServerException other)
compareTo
in interface Comparable<HiveServerException>
public HiveServerException._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<HiveServerException,HiveServerException._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<HiveServerException,HiveServerException._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<HiveServerException,HiveServerException._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.