Record Class MaterializedViewReferenceInfo
java.lang.Object
java.lang.Record
io.trino.spi.eventlistener.MaterializedViewReferenceInfo
- All Implemented Interfaces:
BaseViewReferenceInfo,TableReferenceInfo
public record MaterializedViewReferenceInfo(String catalogName, String schemaName, String viewName)
extends Record
implements BaseViewReferenceInfo
This class is JSON serializable for convenience and serialization compatibility is not guaranteed across versions.
-
Constructor Summary
ConstructorsConstructorDescriptionMaterializedViewReferenceInfo(String catalogName, String schemaName, String viewName) Creates an instance of aMaterializedViewReferenceInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecatalogNamerecord 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 theschemaNamerecord component.final StringtoString()Returns a string representation of this record class.viewName()Returns the value of theviewNamerecord component.
-
Constructor Details
-
MaterializedViewReferenceInfo
Creates an instance of aMaterializedViewReferenceInforecord class.- Parameters:
catalogName- the value for thecatalogNamerecord componentschemaName- the value for theschemaNamerecord componentviewName- the value for theviewNamerecord 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). -
catalogName
Returns the value of thecatalogNamerecord component.- Specified by:
catalogNamein interfaceBaseViewReferenceInfo- Returns:
- the value of the
catalogNamerecord component
-
schemaName
Returns the value of theschemaNamerecord component.- Specified by:
schemaNamein interfaceBaseViewReferenceInfo- Returns:
- the value of the
schemaNamerecord component
-
viewName
Returns the value of theviewNamerecord component.- Specified by:
viewNamein interfaceBaseViewReferenceInfo- Returns:
- the value of the
viewNamerecord component
-