Package ai.heavy.thrift.calciteserver
Class TUserDefinedFunction
- java.lang.Object
-
- ai.heavy.thrift.calciteserver.TUserDefinedFunction
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TUserDefinedFunction>,org.apache.thrift.TBase<TUserDefinedFunction,TUserDefinedFunction._Fields>,org.apache.thrift.TSerializable
public class TUserDefinedFunction extends Object implements org.apache.thrift.TBase<TUserDefinedFunction,TUserDefinedFunction._Fields>, Serializable, Cloneable, Comparable<TUserDefinedFunction>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTUserDefinedFunction._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<TExtArgumentType>argTypesstatic Map<TUserDefinedFunction._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameTExtArgumentTyperetType
-
Constructor Summary
Constructors Constructor Description TUserDefinedFunction()TUserDefinedFunction(TUserDefinedFunction other)Performs a deep copy on other.TUserDefinedFunction(String name, List<TExtArgumentType> argTypes, TExtArgumentType retType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToArgTypes(TExtArgumentType elem)voidclear()intcompareTo(TUserDefinedFunction other)TUserDefinedFunctiondeepCopy()booleanequals(TUserDefinedFunction that)booleanequals(Object that)TUserDefinedFunction._FieldsfieldForId(int fieldId)List<TExtArgumentType>getArgTypes()Iterator<TExtArgumentType>getArgTypesIterator()intgetArgTypesSize()ObjectgetFieldValue(TUserDefinedFunction._Fields field)StringgetName()TExtArgumentTypegetRetType()inthashCode()booleanisSet(TUserDefinedFunction._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetArgTypes()Returns true if field argTypes is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetRetType()Returns true if field retType is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TUserDefinedFunctionsetArgTypes(List<TExtArgumentType> argTypes)voidsetArgTypesIsSet(boolean value)voidsetFieldValue(TUserDefinedFunction._Fields field, Object value)TUserDefinedFunctionsetName(String name)voidsetNameIsSet(boolean value)TUserDefinedFunctionsetRetType(TExtArgumentType retType)voidsetRetTypeIsSet(boolean value)StringtoString()voidunsetArgTypes()voidunsetName()voidunsetRetType()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
name
public String name
-
argTypes
public List<TExtArgumentType> argTypes
-
retType
public TExtArgumentType retType
- See Also:
TExtArgumentType
-
metaDataMap
public static final Map<TUserDefinedFunction._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TUserDefinedFunction
public TUserDefinedFunction()
-
TUserDefinedFunction
public TUserDefinedFunction(String name, List<TExtArgumentType> argTypes, TExtArgumentType retType)
-
TUserDefinedFunction
public TUserDefinedFunction(TUserDefinedFunction other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TUserDefinedFunction deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TUserDefinedFunction,TUserDefinedFunction._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TUserDefinedFunction,TUserDefinedFunction._Fields>
-
getName
public String getName()
-
setName
public TUserDefinedFunction setName(String name)
-
unsetName
public void unsetName()
-
isSetName
public boolean isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
-
setNameIsSet
public void setNameIsSet(boolean value)
-
getArgTypesSize
public int getArgTypesSize()
-
getArgTypesIterator
public Iterator<TExtArgumentType> getArgTypesIterator()
-
addToArgTypes
public void addToArgTypes(TExtArgumentType elem)
-
getArgTypes
public List<TExtArgumentType> getArgTypes()
-
setArgTypes
public TUserDefinedFunction setArgTypes(List<TExtArgumentType> argTypes)
-
unsetArgTypes
public void unsetArgTypes()
-
isSetArgTypes
public boolean isSetArgTypes()
Returns true if field argTypes is set (has been assigned a value) and false otherwise
-
setArgTypesIsSet
public void setArgTypesIsSet(boolean value)
-
getRetType
public TExtArgumentType getRetType()
- See Also:
TExtArgumentType
-
setRetType
public TUserDefinedFunction setRetType(TExtArgumentType retType)
- See Also:
TExtArgumentType
-
unsetRetType
public void unsetRetType()
-
isSetRetType
public boolean isSetRetType()
Returns true if field retType is set (has been assigned a value) and false otherwise
-
setRetTypeIsSet
public void setRetTypeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TUserDefinedFunction._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TUserDefinedFunction,TUserDefinedFunction._Fields>
-
getFieldValue
public Object getFieldValue(TUserDefinedFunction._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TUserDefinedFunction,TUserDefinedFunction._Fields>
-
isSet
public boolean isSet(TUserDefinedFunction._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<TUserDefinedFunction,TUserDefinedFunction._Fields>
-
equals
public boolean equals(TUserDefinedFunction that)
-
compareTo
public int compareTo(TUserDefinedFunction other)
- Specified by:
compareToin interfaceComparable<TUserDefinedFunction>
-
fieldForId
public TUserDefinedFunction._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TUserDefinedFunction,TUserDefinedFunction._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
-
-