Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed Oct 17, 2024
1 parent eaee80c commit 9b8c516
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 112 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* creation, deletion, or modification.
*/
@DeveloperApi
public abstract class CatalogEvent extends GravitinoPostEvent {
public abstract class CatalogEvent extends Event {
/**
* Constructs a new {@code CatalogEvent} with the specified user and catalog identifier.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@

/**
* An abstract class representing events that are triggered when a catalog operation fails due to an
* exception. This class extends {@link GravitinoFailureEvent} to provide a more specific context
* exception. This class extends {@link FailureEvent} to provide a more specific context
* related to catalog operations, encapsulating details about the user who initiated the operation,
* the identifier of the catalog involved, and the exception that led to the failure.
*/
@DeveloperApi
public abstract class CatalogFailureEvent extends GravitinoFailureEvent {
public abstract class CatalogFailureEvent extends FailureEvent {
/**
* Constructs a new {@code CatalogFailureEvent} instance, capturing information about the failed
* catalog operation.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* understanding of each event.
*/
@DeveloperApi
public abstract class FilesetEvent extends GravitinoPostEvent {
public abstract class FilesetEvent extends Event {
/**
* Constructs a new {@code FilesetEvent} with the specified user and fileset identifier.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* diagnose and respond to issues.
*/
@DeveloperApi
public abstract class FilesetFailureEvent extends GravitinoFailureEvent {
public abstract class FilesetFailureEvent extends FailureEvent {
/**
* Constructs a new {@code FilesetFailureEvent} instance, capturing information about the failed
* fileset operation.
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* performing the operation and the identifier of the Metalake being operated on.
*/
@DeveloperApi
public abstract class MetalakeEvent extends GravitinoPostEvent {
public abstract class MetalakeEvent extends Event {
/**
* Constructs a new {@code MetalakeEvent} with the specified user and Metalake identifier.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@

/**
* An abstract class representing events that are triggered when a Metalake operation fails due to
* an exception. This class extends {@link GravitinoFailureEvent} to provide a more specific context
* an exception. This class extends {@link FailureEvent} to provide a more specific context
* related to Metalake operations, encapsulating details about the user who initiated the operation,
* the identifier of the Metalake involved, and the exception that led to the failure.
*/
@DeveloperApi
public abstract class MetalakeFailureEvent extends GravitinoFailureEvent {
public abstract class MetalakeFailureEvent extends FailureEvent {
/**
* Constructs a new {@code MetalakeFailureEvent} instance, capturing information about the failed
* Metalake operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* performing the operation and the identifier of the Partition being operated on.
*/
@DeveloperApi
public abstract class PartitionEvent extends GravitinoPostEvent {
public abstract class PartitionEvent extends Event {
/**
* Constructs a new {@code PartitionEvent} with the specified user and Partition identifier.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@

/**
* An abstract class representing events that are triggered when a Partition operation fails due to
* an exception. This class extends {@link GravitinoFailureEvent} to provide a more specific context
* an exception. This class extends {@link FailureEvent} to provide a more specific context
* related to Partition operations, encapsulating details about the user who initiated the
* operation, the identifier of the Partition involved, and the exception that led to the failure.
*/
@DeveloperApi
public abstract class PartitionFailureEvent extends GravitinoFailureEvent {
public abstract class PartitionFailureEvent extends FailureEvent {
/**
* Constructs a new {@code PartitionFailureEvent} instance, capturing information about the failed
* Partition operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/** Represents an abstract base class for events related to schema operations. */
@DeveloperApi
public abstract class SchemaEvent extends GravitinoPostEvent {
public abstract class SchemaEvent extends Event {
protected SchemaEvent(String user, NameIdentifier identifier) {
super(user, identifier);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* exception.
*/
@DeveloperApi
public abstract class SchemaFailureEvent extends GravitinoFailureEvent {
public abstract class SchemaFailureEvent extends FailureEvent {
protected SchemaFailureEvent(String user, NameIdentifier identifier, Exception exception) {
super(user, identifier, exception);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* specific type of table operation being represented.
*/
@DeveloperApi
public abstract class TableEvent extends GravitinoPostEvent {
public abstract class TableEvent extends Event {
/**
* Constructs a new {@code TableEvent} with the specified user and table identifier.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**
* An abstract class representing events that are triggered when a table operation fails due to an
* exception. This class extends {@link GravitinoFailureEvent} to provide a more specific context
* exception. This class extends {@link FailureEvent} to provide a more specific context
* related to table operations, encapsulating details about the user who initiated the operation,
* the identifier of the table involved, and the exception that led to the failure.
*
Expand All @@ -33,7 +33,7 @@
* and respond to issues.
*/
@DeveloperApi
public abstract class TableFailureEvent extends GravitinoFailureEvent {
public abstract class TableFailureEvent extends FailureEvent {
/**
* Constructs a new {@code TableFailureEvent} instance, capturing information about the failed
* table operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* specific type of topic operation being represented.
*/
@DeveloperApi
public abstract class TopicEvent extends GravitinoPostEvent {
public abstract class TopicEvent extends Event {
/**
* Constructs a new {@code TopicEvent} with the specified user and topic identifier.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**
* An abstract class representing events that are triggered when a topic operation fails due to an
* exception. This class extends {@link GravitinoFailureEvent} to provide a more specific context
* exception. This class extends {@link FailureEvent} to provide a more specific context
* related to topic operations, encapsulating details about the user who initiated the operation,
* the identifier of the topic involved, and the exception that led to the failure.
*
Expand All @@ -33,7 +33,7 @@
* and respond to issues.
*/
@DeveloperApi
public abstract class TopicFailureEvent extends GravitinoFailureEvent {
public abstract class TopicFailureEvent extends FailureEvent {
/**
* Constructs a new {@code TopicFailureEvent} instance, capturing information about the failed
* topic operation.
Expand Down

0 comments on commit 9b8c516

Please sign in to comment.