Package ai.heavy.thrift.server
Class TDetectResult
- java.lang.Object
-
- ai.heavy.thrift.server.TDetectResult
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TDetectResult>,org.apache.thrift.TBase<TDetectResult,TDetectResult._Fields>,org.apache.thrift.TSerializable
public class TDetectResult extends Object implements org.apache.thrift.TBase<TDetectResult,TDetectResult._Fields>, Serializable, Cloneable, Comparable<TDetectResult>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDetectResult._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TCopyParamscopy_paramsstatic Map<TDetectResult._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTRowSetrow_set
-
Constructor Summary
Constructors Constructor Description TDetectResult()TDetectResult(TDetectResult other)Performs a deep copy on other.TDetectResult(TRowSet row_set, TCopyParams copy_params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TDetectResult other)TDetectResultdeepCopy()booleanequals(TDetectResult that)booleanequals(Object that)TDetectResult._FieldsfieldForId(int fieldId)TCopyParamsgetCopy_params()ObjectgetFieldValue(TDetectResult._Fields field)TRowSetgetRow_set()inthashCode()booleanisSet(TDetectResult._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCopy_params()Returns true if field copy_params is set (has been assigned a value) and false otherwisebooleanisSetRow_set()Returns true if field row_set is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TDetectResultsetCopy_params(TCopyParams copy_params)voidsetCopy_paramsIsSet(boolean value)voidsetFieldValue(TDetectResult._Fields field, Object value)TDetectResultsetRow_set(TRowSet row_set)voidsetRow_setIsSet(boolean value)StringtoString()voidunsetCopy_params()voidunsetRow_set()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
row_set
public TRowSet row_set
-
copy_params
public TCopyParams copy_params
-
metaDataMap
public static final Map<TDetectResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TDetectResult
public TDetectResult()
-
TDetectResult
public TDetectResult(TRowSet row_set, TCopyParams copy_params)
-
TDetectResult
public TDetectResult(TDetectResult other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TDetectResult deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TDetectResult,TDetectResult._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TDetectResult,TDetectResult._Fields>
-
getRow_set
public TRowSet getRow_set()
-
setRow_set
public TDetectResult setRow_set(TRowSet row_set)
-
unsetRow_set
public void unsetRow_set()
-
isSetRow_set
public boolean isSetRow_set()
Returns true if field row_set is set (has been assigned a value) and false otherwise
-
setRow_setIsSet
public void setRow_setIsSet(boolean value)
-
getCopy_params
public TCopyParams getCopy_params()
-
setCopy_params
public TDetectResult setCopy_params(TCopyParams copy_params)
-
unsetCopy_params
public void unsetCopy_params()
-
isSetCopy_params
public boolean isSetCopy_params()
Returns true if field copy_params is set (has been assigned a value) and false otherwise
-
setCopy_paramsIsSet
public void setCopy_paramsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TDetectResult._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TDetectResult,TDetectResult._Fields>
-
getFieldValue
public Object getFieldValue(TDetectResult._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TDetectResult,TDetectResult._Fields>
-
isSet
public boolean isSet(TDetectResult._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<TDetectResult,TDetectResult._Fields>
-
equals
public boolean equals(TDetectResult that)
-
compareTo
public int compareTo(TDetectResult other)
- Specified by:
compareToin interfaceComparable<TDetectResult>
-
fieldForId
public TDetectResult._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TDetectResult,TDetectResult._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
-
-