Record Class RowFilterReferenceInfo
java.lang.Object
java.lang.Record
io.trino.spi.eventlistener.RowFilterReferenceInfo
- All Implemented Interfaces:
FilterMaskReferenceInfo,TableReferenceInfo
public record RowFilterReferenceInfo(String expression, String targetCatalogName, String targetSchemaName, String targetTableName)
extends Record
implements FilterMaskReferenceInfo
This class is JSON serializable for convenience and serialization compatibility is not guaranteed across versions.
-
Constructor Summary
ConstructorsConstructorDescriptionRowFilterReferenceInfo(String expression, String targetCatalogName, String targetSchemaName, String targetTableName) Creates an instance of aRowFilterReferenceInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpressionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thetargetCatalogNamerecord component.Returns the value of thetargetSchemaNamerecord component.Returns the value of thetargetTableNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RowFilterReferenceInfo
public RowFilterReferenceInfo(String expression, String targetCatalogName, String targetSchemaName, String targetTableName) Creates an instance of aRowFilterReferenceInforecord class.- Parameters:
expression- the value for theexpressionrecord componenttargetCatalogName- the value for thetargetCatalogNamerecord componenttargetSchemaName- the value for thetargetSchemaNamerecord componenttargetTableName- the value for thetargetTableNamerecord 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). -
expression
Returns the value of theexpressionrecord component.- Specified by:
expressionin interfaceFilterMaskReferenceInfo- Returns:
- the value of the
expressionrecord component
-
targetCatalogName
Returns the value of thetargetCatalogNamerecord component.- Specified by:
targetCatalogNamein interfaceFilterMaskReferenceInfo- Returns:
- the value of the
targetCatalogNamerecord component
-
targetSchemaName
Returns the value of thetargetSchemaNamerecord component.- Specified by:
targetSchemaNamein interfaceFilterMaskReferenceInfo- Returns:
- the value of the
targetSchemaNamerecord component
-
targetTableName
Returns the value of thetargetTableNamerecord component.- Specified by:
targetTableNamein interfaceFilterMaskReferenceInfo- Returns:
- the value of the
targetTableNamerecord component
-