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:
  • Field Details

    • metaDataMap

      public static final Map<Function._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

  • Method Details

    • deepCopy

      public Function deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<Function,Function._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<Function,Function._Fields>
    • getFunctionName

      public String getFunctionName()
    • setFunctionName

      public Function setFunctionName(String functionName)
    • 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

      public String getDbName()
    • setDbName

      public Function setDbName(String dbName)
    • 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

      public String getClassName()
    • setClassName

      public Function setClassName(String className)
    • 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

      public String getOwnerName()
    • setOwnerName

      public Function setOwnerName(String ownerName)
    • 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

      public PrincipalType getOwnerType()
      See Also:
    • setOwnerType

      public Function setOwnerType(PrincipalType ownerType)
      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

      public Function setCreateTime(int createTime)
    • 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

      public FunctionType getFunctionType()
      See Also:
    • setFunctionType

      public Function setFunctionType(FunctionType functionType)
      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

      public Iterator<ResourceUri> getResourceUrisIterator()
    • addToResourceUris

      public void addToResourceUris(ResourceUri elem)
    • getResourceUris

      public List<ResourceUri> getResourceUris()
    • setResourceUris

      public Function setResourceUris(List<ResourceUri> resourceUris)
    • 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

      public String getCatName()
    • setCatName

      public Function setCatName(String catName)
    • 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

      public void setFieldValue(Function._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<Function,Function._Fields>
    • getFieldValue

      public Object getFieldValue(Function._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<Function,Function._Fields>
    • isSet

      public boolean isSet(Function._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<Function,Function._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(Function that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(Function other)
      Specified by:
      compareTo in interface Comparable<Function>
    • fieldForId

      public Function._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<Function,Function._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException