Package io.trino.metadata
Record Class CatalogFunctionMetadata
java.lang.Object
java.lang.Record
io.trino.metadata.CatalogFunctionMetadata
public record CatalogFunctionMetadata(CatalogHandle catalogHandle, String schemaName, FunctionMetadata functionMetadata)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogFunctionMetadata(CatalogHandle catalogHandle, String schemaName, FunctionMetadata functionMetadata) Creates an instance of aCatalogFunctionMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecatalogHandlerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionMetadatarecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theschemaNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CatalogFunctionMetadata
public CatalogFunctionMetadata(CatalogHandle catalogHandle, String schemaName, FunctionMetadata functionMetadata) Creates an instance of aCatalogFunctionMetadatarecord class.- Parameters:
catalogHandle- the value for thecatalogHandlerecord componentschemaName- the value for theschemaNamerecord componentfunctionMetadata- the value for thefunctionMetadatarecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
catalogHandle
Returns the value of thecatalogHandlerecord component.- Returns:
- the value of the
catalogHandlerecord component
-
schemaName
Returns the value of theschemaNamerecord component.- Returns:
- the value of the
schemaNamerecord component
-
functionMetadata
Returns the value of thefunctionMetadatarecord component.- Returns:
- the value of the
functionMetadatarecord component
-