Package io.trino.metadata
Record Class TableFunctionMetadata
java.lang.Object
java.lang.Record
io.trino.metadata.TableFunctionMetadata
public record TableFunctionMetadata(CatalogHandle catalogHandle, ConnectorTableFunction function)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTableFunctionMetadata(CatalogHandle catalogHandle, ConnectorTableFunction function) Creates an instance of aTableFunctionMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecatalogHandlerecord component.final booleanIndicates whether some other object is "equal to" this one.function()Returns the value of thefunctionrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TableFunctionMetadata
Creates an instance of aTableFunctionMetadatarecord class.- Parameters:
catalogHandle- the value for thecatalogHandlerecord componentfunction- the value for thefunctionrecord component
-
-
Method Details
-
toString
-
hashCode
-
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
-
function
Returns the value of thefunctionrecord component.- Returns:
- the value of the
functionrecord component
-