Class SchemaEvent

java.lang.Object
org.apache.cassandra.diag.DiagnosticEvent
org.apache.cassandra.schema.SchemaEvent

public final class SchemaEvent extends DiagnosticEvent
  • Method Details

    • getType

      public SchemaEvent.SchemaEventType getType()
      Description copied from class: DiagnosticEvent
      Returns event type discriminator. This will usually be a enum value.
      Specified by:
      getType in class DiagnosticEvent
    • toMap

      public Map<String,Serializable> toMap()
      Description copied from class: DiagnosticEvent
      Returns map of key-value pairs containing relevant event details. Values can be complex objects like other maps, but must be Serializable, as returned values may be consumed by external clients. It's strongly recommended to stick to standard Java classes to avoid distributing custom classes to clients and also prevent potential class versioning conflicts.
      Specified by:
      toMap in class DiagnosticEvent