Record Class CatalogProperties
java.lang.Object
java.lang.Record
io.trino.spi.catalog.CatalogProperties
public record CatalogProperties(CatalogHandle catalogHandle, ConnectorName connectorName, Map<String,String> properties)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogProperties(CatalogHandle catalogHandle, ConnectorName connectorName, Map<String, String> properties) Creates an instance of aCatalogPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecatalogHandlerecord component.Returns the value of theconnectorNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CatalogProperties
public CatalogProperties(CatalogHandle catalogHandle, ConnectorName connectorName, Map<String, String> properties) Creates an instance of aCatalogPropertiesrecord class.- Parameters:
catalogHandle- the value for thecatalogHandlerecord componentconnectorName- the value for theconnectorNamerecord componentproperties- the value for thepropertiesrecord 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
-
connectorName
Returns the value of theconnectorNamerecord component.- Returns:
- the value of the
connectorNamerecord component
-
properties
-