Enum Class NotificationClassification

java.lang.Object
java.lang.Enum<NotificationClassification>
org.neo4j.driver.NotificationClassification
All Implemented Interfaces:
Serializable, Comparable<NotificationClassification>, Constable, NotificationCategory

@Preview(name="GQL-status object") public enum NotificationClassification extends Enum<NotificationClassification> implements NotificationCategory
Notification classification.
Since:
5.22.0
  • Enum Constant Details

    • HINT

      public static final NotificationClassification HINT
      A hint category.

      For instance, the given hint cannot be satisfied.

    • UNRECOGNIZED

      public static final NotificationClassification UNRECOGNIZED
      An unrecognized category.

      For instance, the query or command mentions entities that are unknown to the system.

    • UNSUPPORTED

      public static final NotificationClassification UNSUPPORTED
      An unsupported category.

      For instance, the query/command is trying to use features that are not supported by the current system or using features that are experimental and should not be used in production.

    • PERFORMANCE

      public static final NotificationClassification PERFORMANCE
      A performance category.

      For instance, the query uses costly operations and might be slow.

    • DEPRECATION

      public static final NotificationClassification DEPRECATION
      A deprecation category.

      For instance, the query/command use deprecated features that should be replaced.

    • SECURITY

      public static final NotificationClassification SECURITY
      A security category.

      For instance, the security warnings.

      Please note that this category was added to a later server version. Therefore, a compatible server version is required to use it.

    • TOPOLOGY

      public static final NotificationClassification TOPOLOGY
      A topology category.

      For instance, the topology notifications.

      Please note that this category was added to a later server version. Therefore, a compatible server version is required to use it.

    • GENERIC

      public static final NotificationClassification GENERIC
      A generic category.

      For instance, notifications that are not part of a more specific class.

    • SCHEMA

      public static final NotificationClassification SCHEMA
      A schema category.

      For instance, notifications about indexes and constraints.

      Please note that this category was added to a later server version. Therefore, a compatible server version is required to use it.

      Since:
      5.24.0
  • Method Details

    • values

      public static NotificationClassification[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NotificationClassification valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null