Package ai.heavy.thrift.calciteserver
Class TUserDefinedTableFunction
- java.lang.Object
-
- ai.heavy.thrift.calciteserver.TUserDefinedTableFunction
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TUserDefinedTableFunction>,org.apache.thrift.TBase<TUserDefinedTableFunction,TUserDefinedTableFunction._Fields>,org.apache.thrift.TSerializable
public class TUserDefinedTableFunction extends Object implements org.apache.thrift.TBase<TUserDefinedTableFunction,TUserDefinedTableFunction._Fields>, Serializable, Cloneable, Comparable<TUserDefinedTableFunction>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTUserDefinedTableFunction._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<Map<String,String>>annotationsList<TExtArgumentType>inputArgTypesstatic Map<TUserDefinedTableFunction._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameList<TExtArgumentType>outputArgTypesintsizerArgPosTOutputBufferSizeTypesizerTypeList<TExtArgumentType>sqlArgTypes
-
Constructor Summary
Constructors Constructor Description TUserDefinedTableFunction()TUserDefinedTableFunction(TUserDefinedTableFunction other)Performs a deep copy on other.TUserDefinedTableFunction(String name, TOutputBufferSizeType sizerType, int sizerArgPos, List<TExtArgumentType> inputArgTypes, List<TExtArgumentType> outputArgTypes, List<TExtArgumentType> sqlArgTypes, List<Map<String,String>> annotations)
-
Method Summary
-
-
-
Field Detail
-
name
public String name
-
sizerType
public TOutputBufferSizeType sizerType
- See Also:
TOutputBufferSizeType
-
sizerArgPos
public int sizerArgPos
-
inputArgTypes
public List<TExtArgumentType> inputArgTypes
-
outputArgTypes
public List<TExtArgumentType> outputArgTypes
-
sqlArgTypes
public List<TExtArgumentType> sqlArgTypes
-
metaDataMap
public static final Map<TUserDefinedTableFunction._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TUserDefinedTableFunction
public TUserDefinedTableFunction()
-
TUserDefinedTableFunction
public TUserDefinedTableFunction(String name, TOutputBufferSizeType sizerType, int sizerArgPos, List<TExtArgumentType> inputArgTypes, List<TExtArgumentType> outputArgTypes, List<TExtArgumentType> sqlArgTypes, List<Map<String,String>> annotations)
-
TUserDefinedTableFunction
public TUserDefinedTableFunction(TUserDefinedTableFunction other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TUserDefinedTableFunction deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TUserDefinedTableFunction,TUserDefinedTableFunction._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TUserDefinedTableFunction,TUserDefinedTableFunction._Fields>
-
getName
public String getName()
-
setName
public TUserDefinedTableFunction 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)
-
getSizerType
public TOutputBufferSizeType getSizerType()
- See Also:
TOutputBufferSizeType
-
setSizerType
public TUserDefinedTableFunction setSizerType(TOutputBufferSizeType sizerType)
- See Also:
TOutputBufferSizeType
-
unsetSizerType
public void unsetSizerType()
-
isSetSizerType
public boolean isSetSizerType()
Returns true if field sizerType is set (has been assigned a value) and false otherwise
-
setSizerTypeIsSet
public void setSizerTypeIsSet(boolean value)
-
getSizerArgPos
public int getSizerArgPos()
-
setSizerArgPos
public TUserDefinedTableFunction setSizerArgPos(int sizerArgPos)
-
unsetSizerArgPos
public void unsetSizerArgPos()
-
isSetSizerArgPos
public boolean isSetSizerArgPos()
Returns true if field sizerArgPos is set (has been assigned a value) and false otherwise
-
setSizerArgPosIsSet
public void setSizerArgPosIsSet(boolean value)
-
getInputArgTypesSize
public int getInputArgTypesSize()
-
getInputArgTypesIterator
public Iterator<TExtArgumentType> getInputArgTypesIterator()
-
addToInputArgTypes
public void addToInputArgTypes(TExtArgumentType elem)
-
getInputArgTypes
public List<TExtArgumentType> getInputArgTypes()
-
setInputArgTypes
public TUserDefinedTableFunction setInputArgTypes(List<TExtArgumentType> inputArgTypes)
-
unsetInputArgTypes
public void unsetInputArgTypes()
-
isSetInputArgTypes
public boolean isSetInputArgTypes()
Returns true if field inputArgTypes is set (has been assigned a value) and false otherwise
-
setInputArgTypesIsSet
public void setInputArgTypesIsSet(boolean value)
-
getOutputArgTypesSize
public int getOutputArgTypesSize()
-
getOutputArgTypesIterator
public Iterator<TExtArgumentType> getOutputArgTypesIterator()
-
addToOutputArgTypes
public void addToOutputArgTypes(TExtArgumentType elem)
-
getOutputArgTypes
public List<TExtArgumentType> getOutputArgTypes()
-
setOutputArgTypes
public TUserDefinedTableFunction setOutputArgTypes(List<TExtArgumentType> outputArgTypes)
-
unsetOutputArgTypes
public void unsetOutputArgTypes()
-
isSetOutputArgTypes
public boolean isSetOutputArgTypes()
Returns true if field outputArgTypes is set (has been assigned a value) and false otherwise
-
setOutputArgTypesIsSet
public void setOutputArgTypesIsSet(boolean value)
-
getSqlArgTypesSize
public int getSqlArgTypesSize()
-
getSqlArgTypesIterator
public Iterator<TExtArgumentType> getSqlArgTypesIterator()
-
addToSqlArgTypes
public void addToSqlArgTypes(TExtArgumentType elem)
-
getSqlArgTypes
public List<TExtArgumentType> getSqlArgTypes()
-
setSqlArgTypes
public TUserDefinedTableFunction setSqlArgTypes(List<TExtArgumentType> sqlArgTypes)
-
unsetSqlArgTypes
public void unsetSqlArgTypes()
-
isSetSqlArgTypes
public boolean isSetSqlArgTypes()
Returns true if field sqlArgTypes is set (has been assigned a value) and false otherwise
-
setSqlArgTypesIsSet
public void setSqlArgTypesIsSet(boolean value)
-
getAnnotationsSize
public int getAnnotationsSize()
-
setAnnotations
public TUserDefinedTableFunction setAnnotations(List<Map<String,String>> annotations)
-
unsetAnnotations
public void unsetAnnotations()
-
isSetAnnotations
public boolean isSetAnnotations()
Returns true if field annotations is set (has been assigned a value) and false otherwise
-
setAnnotationsIsSet
public void setAnnotationsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TUserDefinedTableFunction._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TUserDefinedTableFunction,TUserDefinedTableFunction._Fields>
-
getFieldValue
public Object getFieldValue(TUserDefinedTableFunction._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TUserDefinedTableFunction,TUserDefinedTableFunction._Fields>
-
isSet
public boolean isSet(TUserDefinedTableFunction._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<TUserDefinedTableFunction,TUserDefinedTableFunction._Fields>
-
equals
public boolean equals(TUserDefinedTableFunction that)
-
compareTo
public int compareTo(TUserDefinedTableFunction other)
- Specified by:
compareToin interfaceComparable<TUserDefinedTableFunction>
-
fieldForId
public TUserDefinedTableFunction._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TUserDefinedTableFunction,TUserDefinedTableFunction._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
-
-