Class TSetClientInfoReq
- java.lang.Object
-
- org.apache.hive.service.rpc.thrift.TSetClientInfoReq
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TSetClientInfoReq>
,org.apache.thrift.TBase<TSetClientInfoReq,TSetClientInfoReq._Fields>
,org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.13.0)") @Public @Stable public class TSetClientInfoReq extends Object implements org.apache.thrift.TBase<TSetClientInfoReq,TSetClientInfoReq._Fields>, Serializable, Cloneable, Comparable<TSetClientInfoReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TSetClientInfoReq._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TSetClientInfoReq._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description TSetClientInfoReq()
TSetClientInfoReq(org.apache.hive.service.rpc.thrift.TSessionHandle sessionHandle)
TSetClientInfoReq(TSetClientInfoReq other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TSetClientInfoReq other)
TSetClientInfoReq
deepCopy()
boolean
equals(Object that)
boolean
equals(TSetClientInfoReq that)
TSetClientInfoReq._Fields
fieldForId(int fieldId)
Map<String,String>
getConfiguration()
int
getConfigurationSize()
Object
getFieldValue(TSetClientInfoReq._Fields field)
org.apache.hive.service.rpc.thrift.TSessionHandle
getSessionHandle()
int
hashCode()
boolean
isSet(TSetClientInfoReq._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetConfiguration()
Returns true if field configuration is set (has been assigned a value) and false otherwiseboolean
isSetSessionHandle()
Returns true if field sessionHandle is set (has been assigned a value) and false otherwisevoid
putToConfiguration(String key, String val)
void
read(org.apache.thrift.protocol.TProtocol iprot)
void
setConfiguration(Map<String,String> configuration)
void
setConfigurationIsSet(boolean value)
void
setFieldValue(TSetClientInfoReq._Fields field, Object value)
void
setSessionHandle(org.apache.hive.service.rpc.thrift.TSessionHandle sessionHandle)
void
setSessionHandleIsSet(boolean value)
String
toString()
void
unsetConfiguration()
void
unsetSessionHandle()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<TSetClientInfoReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSetClientInfoReq
public TSetClientInfoReq()
-
TSetClientInfoReq
public TSetClientInfoReq(org.apache.hive.service.rpc.thrift.TSessionHandle sessionHandle)
-
TSetClientInfoReq
public TSetClientInfoReq(TSetClientInfoReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSetClientInfoReq deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TSetClientInfoReq,TSetClientInfoReq._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TSetClientInfoReq,TSetClientInfoReq._Fields>
-
getSessionHandle
public org.apache.hive.service.rpc.thrift.TSessionHandle getSessionHandle()
-
setSessionHandle
public void setSessionHandle(org.apache.hive.service.rpc.thrift.TSessionHandle sessionHandle)
-
unsetSessionHandle
public void unsetSessionHandle()
-
isSetSessionHandle
public boolean isSetSessionHandle()
Returns true if field sessionHandle is set (has been assigned a value) and false otherwise
-
setSessionHandleIsSet
public void setSessionHandleIsSet(boolean value)
-
getConfigurationSize
public int getConfigurationSize()
-
unsetConfiguration
public void unsetConfiguration()
-
isSetConfiguration
public boolean isSetConfiguration()
Returns true if field configuration is set (has been assigned a value) and false otherwise
-
setConfigurationIsSet
public void setConfigurationIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSetClientInfoReq._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TSetClientInfoReq,TSetClientInfoReq._Fields>
-
getFieldValue
public Object getFieldValue(TSetClientInfoReq._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TSetClientInfoReq,TSetClientInfoReq._Fields>
-
isSet
public boolean isSet(TSetClientInfoReq._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<TSetClientInfoReq,TSetClientInfoReq._Fields>
-
equals
public boolean equals(TSetClientInfoReq that)
-
compareTo
public int compareTo(TSetClientInfoReq other)
- Specified by:
compareTo
in interfaceComparable<TSetClientInfoReq>
-
fieldForId
public TSetClientInfoReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TSetClientInfoReq,TSetClientInfoReq._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in 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:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-