Package io.trino.metadata
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 Summary
ConstructorsConstructorDescriptionResolvedFunction(BoundSignature signature, CatalogHandle catalogHandle, FunctionId functionId, FunctionKind functionKind, boolean deterministic, FunctionNullability functionNullability, Map<TypeSignature, Type> typeDependencies, Set<ResolvedFunction> functionDependencies) Creates an instance of aResolvedFunctionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecatalogHandlerecord component.booleanReturns the value of thedeterministicrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionDependenciesrecord component.Returns the value of thefunctionIdrecord component.Returns the value of thefunctionKindrecord component.Returns the value of thefunctionNullabilityrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thesignaturerecord component.toString()Returns a string representation of this record class.Returns the value of thetypeDependenciesrecord component.
-
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 aResolvedFunctionrecord class.- Parameters:
signature- the value for thesignaturerecord componentcatalogHandle- the value for thecatalogHandlerecord componentfunctionId- the value for thefunctionIdrecord componentfunctionKind- the value for thefunctionKindrecord componentdeterministic- the value for thedeterministicrecord componentfunctionNullability- the value for thefunctionNullabilityrecord componenttypeDependencies- the value for thetypeDependenciesrecord componentfunctionDependencies- the value for thefunctionDependenciesrecord component
-
-
Method Details
-
name
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
signature
Returns the value of thesignaturerecord component.- Returns:
- the value of the
signaturerecord component
-
catalogHandle
Returns the value of thecatalogHandlerecord component.- Returns:
- the value of the
catalogHandlerecord component
-
functionId
Returns the value of thefunctionIdrecord component.- Returns:
- the value of the
functionIdrecord component
-
functionKind
Returns the value of thefunctionKindrecord component.- Returns:
- the value of the
functionKindrecord component
-
deterministic
public boolean deterministic()Returns the value of thedeterministicrecord component.- Returns:
- the value of the
deterministicrecord component
-
functionNullability
Returns the value of thefunctionNullabilityrecord component.- Returns:
- the value of the
functionNullabilityrecord component
-
typeDependencies
Returns the value of thetypeDependenciesrecord component.- Returns:
- the value of the
typeDependenciesrecord component
-
functionDependencies
Returns the value of thefunctionDependenciesrecord component.- Returns:
- the value of the
functionDependenciesrecord component
-