Package ai.heavy.thrift.server
Class TQueryInfo
- java.lang.Object
-
- ai.heavy.thrift.server.TQueryInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TQueryInfo>,org.apache.thrift.TBase<TQueryInfo,TQueryInfo._Fields>,org.apache.thrift.TSerializable
public class TQueryInfo extends Object implements org.apache.thrift.TBase<TQueryInfo,TQueryInfo._Fields>, Serializable, Cloneable, Comparable<TQueryInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTQueryInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Stringclient_addressStringcurrent_statusStringdb_nameStringexec_device_typeintexecutor_idStringlogin_namestatic Map<TQueryInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringquery_public_session_idStringquery_session_idStringquery_strStringsubmitted
-
Constructor Summary
Constructors Constructor Description TQueryInfo()TQueryInfo(TQueryInfo other)Performs a deep copy on other.TQueryInfo(String query_session_id, String query_public_session_id, String current_status, int executor_id, String submitted, String query_str, String login_name, String client_address, String db_name, String exec_device_type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TQueryInfo other)TQueryInfodeepCopy()booleanequals(TQueryInfo that)booleanequals(Object that)TQueryInfo._FieldsfieldForId(int fieldId)StringgetClient_address()StringgetCurrent_status()StringgetDb_name()StringgetExec_device_type()intgetExecutor_id()ObjectgetFieldValue(TQueryInfo._Fields field)StringgetLogin_name()StringgetQuery_public_session_id()StringgetQuery_session_id()StringgetQuery_str()StringgetSubmitted()inthashCode()booleanisSet(TQueryInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetClient_address()Returns true if field client_address is set (has been assigned a value) and false otherwisebooleanisSetCurrent_status()Returns true if field current_status is set (has been assigned a value) and false otherwisebooleanisSetDb_name()Returns true if field db_name is set (has been assigned a value) and false otherwisebooleanisSetExec_device_type()Returns true if field exec_device_type is set (has been assigned a value) and false otherwisebooleanisSetExecutor_id()Returns true if field executor_id is set (has been assigned a value) and false otherwisebooleanisSetLogin_name()Returns true if field login_name is set (has been assigned a value) and false otherwisebooleanisSetQuery_public_session_id()Returns true if field query_public_session_id is set (has been assigned a value) and false otherwisebooleanisSetQuery_session_id()Returns true if field query_session_id is set (has been assigned a value) and false otherwisebooleanisSetQuery_str()Returns true if field query_str is set (has been assigned a value) and false otherwisebooleanisSetSubmitted()Returns true if field submitted is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TQueryInfosetClient_address(String client_address)voidsetClient_addressIsSet(boolean value)TQueryInfosetCurrent_status(String current_status)voidsetCurrent_statusIsSet(boolean value)TQueryInfosetDb_name(String db_name)voidsetDb_nameIsSet(boolean value)TQueryInfosetExec_device_type(String exec_device_type)voidsetExec_device_typeIsSet(boolean value)TQueryInfosetExecutor_id(int executor_id)voidsetExecutor_idIsSet(boolean value)voidsetFieldValue(TQueryInfo._Fields field, Object value)TQueryInfosetLogin_name(String login_name)voidsetLogin_nameIsSet(boolean value)TQueryInfosetQuery_public_session_id(String query_public_session_id)voidsetQuery_public_session_idIsSet(boolean value)TQueryInfosetQuery_session_id(String query_session_id)voidsetQuery_session_idIsSet(boolean value)TQueryInfosetQuery_str(String query_str)voidsetQuery_strIsSet(boolean value)TQueryInfosetSubmitted(String submitted)voidsetSubmittedIsSet(boolean value)StringtoString()voidunsetClient_address()voidunsetCurrent_status()voidunsetDb_name()voidunsetExec_device_type()voidunsetExecutor_id()voidunsetLogin_name()voidunsetQuery_public_session_id()voidunsetQuery_session_id()voidunsetQuery_str()voidunsetSubmitted()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
query_session_id
public String query_session_id
-
query_public_session_id
public String query_public_session_id
-
current_status
public String current_status
-
executor_id
public int executor_id
-
submitted
public String submitted
-
query_str
public String query_str
-
login_name
public String login_name
-
client_address
public String client_address
-
db_name
public String db_name
-
exec_device_type
public String exec_device_type
-
metaDataMap
public static final Map<TQueryInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TQueryInfo
public TQueryInfo()
-
TQueryInfo
public TQueryInfo(String query_session_id, String query_public_session_id, String current_status, int executor_id, String submitted, String query_str, String login_name, String client_address, String db_name, String exec_device_type)
-
TQueryInfo
public TQueryInfo(TQueryInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TQueryInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TQueryInfo,TQueryInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TQueryInfo,TQueryInfo._Fields>
-
getQuery_session_id
public String getQuery_session_id()
-
setQuery_session_id
public TQueryInfo setQuery_session_id(String query_session_id)
-
unsetQuery_session_id
public void unsetQuery_session_id()
-
isSetQuery_session_id
public boolean isSetQuery_session_id()
Returns true if field query_session_id is set (has been assigned a value) and false otherwise
-
setQuery_session_idIsSet
public void setQuery_session_idIsSet(boolean value)
-
getQuery_public_session_id
public String getQuery_public_session_id()
-
setQuery_public_session_id
public TQueryInfo setQuery_public_session_id(String query_public_session_id)
-
unsetQuery_public_session_id
public void unsetQuery_public_session_id()
-
isSetQuery_public_session_id
public boolean isSetQuery_public_session_id()
Returns true if field query_public_session_id is set (has been assigned a value) and false otherwise
-
setQuery_public_session_idIsSet
public void setQuery_public_session_idIsSet(boolean value)
-
getCurrent_status
public String getCurrent_status()
-
setCurrent_status
public TQueryInfo setCurrent_status(String current_status)
-
unsetCurrent_status
public void unsetCurrent_status()
-
isSetCurrent_status
public boolean isSetCurrent_status()
Returns true if field current_status is set (has been assigned a value) and false otherwise
-
setCurrent_statusIsSet
public void setCurrent_statusIsSet(boolean value)
-
getExecutor_id
public int getExecutor_id()
-
setExecutor_id
public TQueryInfo setExecutor_id(int executor_id)
-
unsetExecutor_id
public void unsetExecutor_id()
-
isSetExecutor_id
public boolean isSetExecutor_id()
Returns true if field executor_id is set (has been assigned a value) and false otherwise
-
setExecutor_idIsSet
public void setExecutor_idIsSet(boolean value)
-
getSubmitted
public String getSubmitted()
-
setSubmitted
public TQueryInfo setSubmitted(String submitted)
-
unsetSubmitted
public void unsetSubmitted()
-
isSetSubmitted
public boolean isSetSubmitted()
Returns true if field submitted is set (has been assigned a value) and false otherwise
-
setSubmittedIsSet
public void setSubmittedIsSet(boolean value)
-
getQuery_str
public String getQuery_str()
-
setQuery_str
public TQueryInfo setQuery_str(String query_str)
-
unsetQuery_str
public void unsetQuery_str()
-
isSetQuery_str
public boolean isSetQuery_str()
Returns true if field query_str is set (has been assigned a value) and false otherwise
-
setQuery_strIsSet
public void setQuery_strIsSet(boolean value)
-
getLogin_name
public String getLogin_name()
-
setLogin_name
public TQueryInfo setLogin_name(String login_name)
-
unsetLogin_name
public void unsetLogin_name()
-
isSetLogin_name
public boolean isSetLogin_name()
Returns true if field login_name is set (has been assigned a value) and false otherwise
-
setLogin_nameIsSet
public void setLogin_nameIsSet(boolean value)
-
getClient_address
public String getClient_address()
-
setClient_address
public TQueryInfo setClient_address(String client_address)
-
unsetClient_address
public void unsetClient_address()
-
isSetClient_address
public boolean isSetClient_address()
Returns true if field client_address is set (has been assigned a value) and false otherwise
-
setClient_addressIsSet
public void setClient_addressIsSet(boolean value)
-
getDb_name
public String getDb_name()
-
setDb_name
public TQueryInfo setDb_name(String db_name)
-
unsetDb_name
public void unsetDb_name()
-
isSetDb_name
public boolean isSetDb_name()
Returns true if field db_name is set (has been assigned a value) and false otherwise
-
setDb_nameIsSet
public void setDb_nameIsSet(boolean value)
-
getExec_device_type
public String getExec_device_type()
-
setExec_device_type
public TQueryInfo setExec_device_type(String exec_device_type)
-
unsetExec_device_type
public void unsetExec_device_type()
-
isSetExec_device_type
public boolean isSetExec_device_type()
Returns true if field exec_device_type is set (has been assigned a value) and false otherwise
-
setExec_device_typeIsSet
public void setExec_device_typeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TQueryInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TQueryInfo,TQueryInfo._Fields>
-
getFieldValue
public Object getFieldValue(TQueryInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TQueryInfo,TQueryInfo._Fields>
-
isSet
public boolean isSet(TQueryInfo._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<TQueryInfo,TQueryInfo._Fields>
-
equals
public boolean equals(TQueryInfo that)
-
compareTo
public int compareTo(TQueryInfo other)
- Specified by:
compareToin interfaceComparable<TQueryInfo>
-
fieldForId
public TQueryInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TQueryInfo,TQueryInfo._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
-
-