Package ai.heavy.thrift.server
Class TTargetInfo
- java.lang.Object
-
- ai.heavy.thrift.server.TTargetInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TTargetInfo>,org.apache.thrift.TBase<TTargetInfo,TTargetInfo._Fields>,org.apache.thrift.TSerializable
public class TTargetInfo extends Object implements org.apache.thrift.TBase<TTargetInfo,TTargetInfo._Fields>, Serializable, Cloneable, Comparable<TTargetInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTTargetInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TTypeInfoarg_typebooleanis_aggbooleanis_distinctTAggKindkindstatic Map<TTargetInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapbooleanskip_nullsTTypeInfotype
-
Constructor Summary
Constructors Constructor Description TTargetInfo()TTargetInfo(boolean is_agg, TAggKind kind, TTypeInfo type, TTypeInfo arg_type, boolean skip_nulls, boolean is_distinct)TTargetInfo(TTargetInfo other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TTargetInfo other)TTargetInfodeepCopy()booleanequals(TTargetInfo that)booleanequals(Object that)TTargetInfo._FieldsfieldForId(int fieldId)TTypeInfogetArg_type()ObjectgetFieldValue(TTargetInfo._Fields field)TAggKindgetKind()TTypeInfogetType()inthashCode()booleanisIs_agg()booleanisIs_distinct()booleanisSet(TTargetInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetArg_type()Returns true if field arg_type is set (has been assigned a value) and false otherwisebooleanisSetIs_agg()Returns true if field is_agg is set (has been assigned a value) and false otherwisebooleanisSetIs_distinct()Returns true if field is_distinct is set (has been assigned a value) and false otherwisebooleanisSetKind()Returns true if field kind is set (has been assigned a value) and false otherwisebooleanisSetSkip_nulls()Returns true if field skip_nulls is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisebooleanisSkip_nulls()voidread(org.apache.thrift.protocol.TProtocol iprot)TTargetInfosetArg_type(TTypeInfo arg_type)voidsetArg_typeIsSet(boolean value)voidsetFieldValue(TTargetInfo._Fields field, Object value)TTargetInfosetIs_agg(boolean is_agg)voidsetIs_aggIsSet(boolean value)TTargetInfosetIs_distinct(boolean is_distinct)voidsetIs_distinctIsSet(boolean value)TTargetInfosetKind(TAggKind kind)voidsetKindIsSet(boolean value)TTargetInfosetSkip_nulls(boolean skip_nulls)voidsetSkip_nullsIsSet(boolean value)TTargetInfosetType(TTypeInfo type)voidsetTypeIsSet(boolean value)StringtoString()voidunsetArg_type()voidunsetIs_agg()voidunsetIs_distinct()voidunsetKind()voidunsetSkip_nulls()voidunsetType()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
is_agg
public boolean is_agg
-
type
public TTypeInfo type
-
arg_type
public TTypeInfo arg_type
-
skip_nulls
public boolean skip_nulls
-
is_distinct
public boolean is_distinct
-
metaDataMap
public static final Map<TTargetInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TTargetInfo
public TTargetInfo()
-
TTargetInfo
public TTargetInfo(boolean is_agg, TAggKind kind, TTypeInfo type, TTypeInfo arg_type, boolean skip_nulls, boolean is_distinct)
-
TTargetInfo
public TTargetInfo(TTargetInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TTargetInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TTargetInfo,TTargetInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TTargetInfo,TTargetInfo._Fields>
-
isIs_agg
public boolean isIs_agg()
-
setIs_agg
public TTargetInfo setIs_agg(boolean is_agg)
-
unsetIs_agg
public void unsetIs_agg()
-
isSetIs_agg
public boolean isSetIs_agg()
Returns true if field is_agg is set (has been assigned a value) and false otherwise
-
setIs_aggIsSet
public void setIs_aggIsSet(boolean value)
-
setKind
public TTargetInfo setKind(TAggKind kind)
- See Also:
TAggKind
-
unsetKind
public void unsetKind()
-
isSetKind
public boolean isSetKind()
Returns true if field kind is set (has been assigned a value) and false otherwise
-
setKindIsSet
public void setKindIsSet(boolean value)
-
getType
public TTypeInfo getType()
-
setType
public TTargetInfo setType(TTypeInfo type)
-
unsetType
public void unsetType()
-
isSetType
public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
-
setTypeIsSet
public void setTypeIsSet(boolean value)
-
getArg_type
public TTypeInfo getArg_type()
-
setArg_type
public TTargetInfo setArg_type(TTypeInfo arg_type)
-
unsetArg_type
public void unsetArg_type()
-
isSetArg_type
public boolean isSetArg_type()
Returns true if field arg_type is set (has been assigned a value) and false otherwise
-
setArg_typeIsSet
public void setArg_typeIsSet(boolean value)
-
isSkip_nulls
public boolean isSkip_nulls()
-
setSkip_nulls
public TTargetInfo setSkip_nulls(boolean skip_nulls)
-
unsetSkip_nulls
public void unsetSkip_nulls()
-
isSetSkip_nulls
public boolean isSetSkip_nulls()
Returns true if field skip_nulls is set (has been assigned a value) and false otherwise
-
setSkip_nullsIsSet
public void setSkip_nullsIsSet(boolean value)
-
isIs_distinct
public boolean isIs_distinct()
-
setIs_distinct
public TTargetInfo setIs_distinct(boolean is_distinct)
-
unsetIs_distinct
public void unsetIs_distinct()
-
isSetIs_distinct
public boolean isSetIs_distinct()
Returns true if field is_distinct is set (has been assigned a value) and false otherwise
-
setIs_distinctIsSet
public void setIs_distinctIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TTargetInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TTargetInfo,TTargetInfo._Fields>
-
getFieldValue
public Object getFieldValue(TTargetInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TTargetInfo,TTargetInfo._Fields>
-
isSet
public boolean isSet(TTargetInfo._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<TTargetInfo,TTargetInfo._Fields>
-
equals
public boolean equals(TTargetInfo that)
-
compareTo
public int compareTo(TTargetInfo other)
- Specified by:
compareToin interfaceComparable<TTargetInfo>
-
fieldForId
public TTargetInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TTargetInfo,TTargetInfo._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
-
-