Record Class AfterViewCommitedEvent
java.lang.Object
java.lang.Record
org.apache.polaris.service.events.AfterViewCommitedEvent
- Record Components:
identifier- The identifier.base- The old metadata.metadata- The new metadata.
- All Implemented Interfaces:
PolarisEvent
public record AfterViewCommitedEvent(org.apache.iceberg.catalog.TableIdentifier identifier, org.apache.iceberg.view.ViewMetadata base, org.apache.iceberg.view.ViewMetadata metadata)
extends Record
implements PolarisEvent
Emitted after Polaris performs a commit to a view. This is not emitted if there's an exception
while committing.
-
Constructor Summary
ConstructorsConstructorDescriptionAfterViewCommitedEvent(org.apache.iceberg.catalog.TableIdentifier identifier, org.apache.iceberg.view.ViewMetadata base, org.apache.iceberg.view.ViewMetadata metadata) Creates an instance of aAfterViewCommitedEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.iceberg.view.ViewMetadatabase()Returns the value of thebaserecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.apache.iceberg.catalog.TableIdentifierReturns the value of theidentifierrecord component.org.apache.iceberg.view.ViewMetadatametadata()Returns the value of themetadatarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AfterViewCommitedEvent
public AfterViewCommitedEvent(org.apache.iceberg.catalog.TableIdentifier identifier, org.apache.iceberg.view.ViewMetadata base, org.apache.iceberg.view.ViewMetadata metadata) Creates an instance of aAfterViewCommitedEventrecord class.- Parameters:
identifier- the value for theidentifierrecord componentbase- the value for thebaserecord componentmetadata- the value for themetadatarecord 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). -
identifier
public org.apache.iceberg.catalog.TableIdentifier identifier()Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
base
public org.apache.iceberg.view.ViewMetadata base()Returns the value of thebaserecord component.- Returns:
- the value of the
baserecord component
-
metadata
public org.apache.iceberg.view.ViewMetadata metadata()Returns the value of themetadatarecord component.- Returns:
- the value of the
metadatarecord component
-