Enum SimpleLoggingKey
- java.lang.Object
-
- java.lang.Enum<SimpleLoggingKey>
-
- io.github.mfvanek.pg.common.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_INDEXESFOREIGN_KEYSINDEXES_BLOATINDEXES_WITH_NULLSINTERSECTED_INDEXESINVALID_INDEXESTABLES_BLOATTABLES_WITH_MISSING_INDEXESTABLES_WITHOUT_PKUNUSED_INDEXES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKeyName()java.lang.StringgetSubKeyName()static SimpleLoggingKeyvalueOf(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:
getKeyNamein interfaceLoggingKey
-
getSubKeyName
@Nonnull public java.lang.String getSubKeyName()
- Specified by:
getSubKeyNamein interfaceLoggingKey
-
-