Package io.trino.hive.thrift.metastore
Class Function
java.lang.Object
io.trino.hive.thrift.metastore.Function
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Function>,org.apache.thrift.TBase<Function,,Function._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class Function
extends Object
implements org.apache.thrift.TBase<Function,Function._Fields>, Serializable, Cloneable, Comparable<Function>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<Function._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionFunction()Performs a deep copy on other.Function(String functionName, String dbName, String className, String ownerName, PrincipalType ownerType, int createTime, FunctionType functionType, List<ResourceUri> resourceUris) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToResourceUris(ResourceUri elem) voidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intgetFieldValue(Function._Fields field) intinthashCode()booleanisSet(Function._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field catName is set (has been assigned a value) and false otherwisebooleanReturns true if field className is set (has been assigned a value) and false otherwisebooleanReturns true if field createTime is set (has been assigned a value) and false otherwisebooleanReturns true if field dbName is set (has been assigned a value) and false otherwisebooleanReturns true if field functionName is set (has been assigned a value) and false otherwisebooleanReturns true if field functionType is set (has been assigned a value) and false otherwisebooleanReturns true if field ownerName is set (has been assigned a value) and false otherwisebooleanReturns true if field ownerType is set (has been assigned a value) and false otherwisebooleanReturns true if field resourceUris is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCatName(String catName) voidsetCatNameIsSet(boolean value) setClassName(String className) voidsetClassNameIsSet(boolean value) setCreateTime(int createTime) voidsetCreateTimeIsSet(boolean value) voidsetDbNameIsSet(boolean value) voidsetFieldValue(Function._Fields field, Object value) setFunctionName(String functionName) voidsetFunctionNameIsSet(boolean value) setFunctionType(FunctionType functionType) voidsetFunctionTypeIsSet(boolean value) setOwnerName(String ownerName) voidsetOwnerNameIsSet(boolean value) setOwnerType(PrincipalType ownerType) voidsetOwnerTypeIsSet(boolean value) setResourceUris(List<ResourceUri> resourceUris) voidsetResourceUrisIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
Function
public Function() -
Function
public Function(String functionName, String dbName, String className, String ownerName, PrincipalType ownerType, int createTime, FunctionType functionType, List<ResourceUri> resourceUris) -
Function
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Function,Function._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Function,Function._Fields>
-
getFunctionName
-
setFunctionName
-
unsetFunctionName
public void unsetFunctionName() -
isSetFunctionName
public boolean isSetFunctionName()Returns true if field functionName is set (has been assigned a value) and false otherwise -
setFunctionNameIsSet
public void setFunctionNameIsSet(boolean value) -
getDbName
-
setDbName
-
unsetDbName
public void unsetDbName() -
isSetDbName
public boolean isSetDbName()Returns true if field dbName is set (has been assigned a value) and false otherwise -
setDbNameIsSet
public void setDbNameIsSet(boolean value) -
getClassName
-
setClassName
-
unsetClassName
public void unsetClassName() -
isSetClassName
public boolean isSetClassName()Returns true if field className is set (has been assigned a value) and false otherwise -
setClassNameIsSet
public void setClassNameIsSet(boolean value) -
getOwnerName
-
setOwnerName
-
unsetOwnerName
public void unsetOwnerName() -
isSetOwnerName
public boolean isSetOwnerName()Returns true if field ownerName is set (has been assigned a value) and false otherwise -
setOwnerNameIsSet
public void setOwnerNameIsSet(boolean value) -
getOwnerType
- See Also:
-
setOwnerType
- See Also:
-
unsetOwnerType
public void unsetOwnerType() -
isSetOwnerType
public boolean isSetOwnerType()Returns true if field ownerType is set (has been assigned a value) and false otherwise -
setOwnerTypeIsSet
public void setOwnerTypeIsSet(boolean value) -
getCreateTime
public int getCreateTime() -
setCreateTime
-
unsetCreateTime
public void unsetCreateTime() -
isSetCreateTime
public boolean isSetCreateTime()Returns true if field createTime is set (has been assigned a value) and false otherwise -
setCreateTimeIsSet
public void setCreateTimeIsSet(boolean value) -
getFunctionType
- See Also:
-
setFunctionType
- See Also:
-
unsetFunctionType
public void unsetFunctionType() -
isSetFunctionType
public boolean isSetFunctionType()Returns true if field functionType is set (has been assigned a value) and false otherwise -
setFunctionTypeIsSet
public void setFunctionTypeIsSet(boolean value) -
getResourceUrisSize
public int getResourceUrisSize() -
getResourceUrisIterator
-
addToResourceUris
-
getResourceUris
-
setResourceUris
-
unsetResourceUris
public void unsetResourceUris() -
isSetResourceUris
public boolean isSetResourceUris()Returns true if field resourceUris is set (has been assigned a value) and false otherwise -
setResourceUrisIsSet
public void setResourceUrisIsSet(boolean value) -
getCatName
-
setCatName
-
unsetCatName
public void unsetCatName() -
isSetCatName
public boolean isSetCatName()Returns true if field catName is set (has been assigned a value) and false otherwise -
setCatNameIsSet
public void setCatNameIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Function,Function._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Function,Function._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<Function,Function._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Function>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Function,Function._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-