Enum Class SimpleLoggingKey

java.lang.Object
java.lang.Enum<SimpleLoggingKey>
io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
All Implemented Interfaces:
LoggingKey, Serializable, Comparable<SimpleLoggingKey>, Constable

public enum SimpleLoggingKey extends Enum<SimpleLoggingKey> implements LoggingKey
  • Enum Constant Details

    • INVALID_INDEXES

      public static final SimpleLoggingKey INVALID_INDEXES
    • DUPLICATED_INDEXES

      public static final SimpleLoggingKey DUPLICATED_INDEXES
    • INTERSECTED_INDEXES

      public static final SimpleLoggingKey INTERSECTED_INDEXES
    • UNUSED_INDEXES

      public static final SimpleLoggingKey UNUSED_INDEXES
    • FOREIGN_KEYS_WITHOUT_INDEX

      public static final SimpleLoggingKey FOREIGN_KEYS_WITHOUT_INDEX
    • TABLES_WITH_MISSING_INDEXES

      public static final SimpleLoggingKey TABLES_WITH_MISSING_INDEXES
    • TABLES_WITHOUT_PRIMARY_KEY

      public static final SimpleLoggingKey TABLES_WITHOUT_PRIMARY_KEY
    • INDEXES_WITH_NULL_VALUES

      public static final SimpleLoggingKey INDEXES_WITH_NULL_VALUES
    • BLOATED_INDEXES

      public static final SimpleLoggingKey BLOATED_INDEXES
    • BLOATED_TABLES

      public static final SimpleLoggingKey BLOATED_TABLES
    • TABLES_WITHOUT_DESCRIPTION

      public static final SimpleLoggingKey TABLES_WITHOUT_DESCRIPTION
    • COLUMNS_WITHOUT_DESCRIPTION

      public static final SimpleLoggingKey COLUMNS_WITHOUT_DESCRIPTION
    • COLUMNS_WITH_JSON_TYPE

      public static final SimpleLoggingKey COLUMNS_WITH_JSON_TYPE
    • COLUMNS_WITH_SERIAL_TYPES

      public static final SimpleLoggingKey COLUMNS_WITH_SERIAL_TYPES
  • Method Details

    • values

      public static SimpleLoggingKey[] 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 SimpleLoggingKey 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
    • getKeyName

      @Nonnull public String getKeyName()
      Specified by:
      getKeyName in interface LoggingKey
    • getSubKeyName

      @Nonnull public String getSubKeyName()
      Specified by:
      getSubKeyName in interface LoggingKey
    • getDescription

      @Nonnull public String getDescription()
      Specified by:
      getDescription in interface LoggingKey