Enum SimpleLoggingKey
- java.lang.Object
-
- java.lang.Enum<SimpleLoggingKey>
-
- io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
-
- All Implemented Interfaces:
LoggingKey
,java.io.Serializable
,java.lang.Comparable<SimpleLoggingKey>
public enum SimpleLoggingKey extends java.lang.Enum<SimpleLoggingKey> implements LoggingKey
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DUPLICATED_INDEXES
FOREIGN_KEYS
INDEXES_BLOAT
INDEXES_WITH_NULLS
INTERSECTED_INDEXES
INVALID_INDEXES
TABLES_BLOAT
TABLES_WITH_MISSING_INDEXES
TABLES_WITHOUT_PK
UNUSED_INDEXES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKeyName()
java.lang.String
getSubKeyName()
static SimpleLoggingKey
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SimpleLoggingKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
public static final SimpleLoggingKey FOREIGN_KEYS
-
TABLES_WITH_MISSING_INDEXES
public static final SimpleLoggingKey TABLES_WITH_MISSING_INDEXES
-
TABLES_WITHOUT_PK
public static final SimpleLoggingKey TABLES_WITHOUT_PK
-
INDEXES_WITH_NULLS
public static final SimpleLoggingKey INDEXES_WITH_NULLS
-
INDEXES_BLOAT
public static final SimpleLoggingKey INDEXES_BLOAT
-
TABLES_BLOAT
public static final SimpleLoggingKey TABLES_BLOAT
-
-
Method Detail
-
values
public static SimpleLoggingKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SimpleLoggingKey c : SimpleLoggingKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimpleLoggingKey valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getKeyName
@Nonnull public java.lang.String getKeyName()
- Specified by:
getKeyName
in interfaceLoggingKey
-
getSubKeyName
@Nonnull public java.lang.String getSubKeyName()
- Specified by:
getSubKeyName
in interfaceLoggingKey
-
-