Record Class ResolvedFunction

java.lang.Object
java.lang.Record
io.trino.metadata.ResolvedFunction

public record ResolvedFunction(BoundSignature signature, CatalogHandle catalogHandle, FunctionId functionId, FunctionKind functionKind, boolean deterministic, FunctionNullability functionNullability, Map<TypeSignature,Type> typeDependencies, Set<ResolvedFunction> functionDependencies) extends Record
  • Constructor Details

    • ResolvedFunction

      public ResolvedFunction(BoundSignature signature, CatalogHandle catalogHandle, FunctionId functionId, FunctionKind functionKind, boolean deterministic, FunctionNullability functionNullability, Map<TypeSignature,Type> typeDependencies, Set<ResolvedFunction> functionDependencies)
      Creates an instance of a ResolvedFunction record class.
      Parameters:
      signature - the value for the signature record component
      catalogHandle - the value for the catalogHandle record component
      functionId - the value for the functionId record component
      functionKind - the value for the functionKind record component
      deterministic - the value for the deterministic record component
      functionNullability - the value for the functionNullability record component
      typeDependencies - the value for the typeDependencies record component
      functionDependencies - the value for the functionDependencies record component
  • Method Details

    • name

    • toString

      public String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • signature

      public BoundSignature signature()
      Returns the value of the signature record component.
      Returns:
      the value of the signature record component
    • catalogHandle

      public CatalogHandle catalogHandle()
      Returns the value of the catalogHandle record component.
      Returns:
      the value of the catalogHandle record component
    • functionId

      public FunctionId functionId()
      Returns the value of the functionId record component.
      Returns:
      the value of the functionId record component
    • functionKind

      public FunctionKind functionKind()
      Returns the value of the functionKind record component.
      Returns:
      the value of the functionKind record component
    • deterministic

      public boolean deterministic()
      Returns the value of the deterministic record component.
      Returns:
      the value of the deterministic record component
    • functionNullability

      public FunctionNullability functionNullability()
      Returns the value of the functionNullability record component.
      Returns:
      the value of the functionNullability record component
    • typeDependencies

      public Map<TypeSignature,Type> typeDependencies()
      Returns the value of the typeDependencies record component.
      Returns:
      the value of the typeDependencies record component
    • functionDependencies

      public Set<ResolvedFunction> functionDependencies()
      Returns the value of the functionDependencies record component.
      Returns:
      the value of the functionDependencies record component