Package ax.antpick.k2hash
Enum K2hash.STATS_DUMP_LEVEL
- java.lang.Object
-
- java.lang.Enum<K2hash.STATS_DUMP_LEVEL>
-
- ax.antpick.k2hash.K2hash.STATS_DUMP_LEVEL
-
- All Implemented Interfaces:
Serializable
,Comparable<K2hash.STATS_DUMP_LEVEL>
- Enclosing class:
- K2hash
public static enum K2hash.STATS_DUMP_LEVEL extends Enum<K2hash.STATS_DUMP_LEVEL>
Defines levels used to dump a k2hash data.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELEMENT
Dump headers, hash tables, sub hash tables and elements.HASH_TABLE
Dump headers and hash tables.HEADER
Dump headers.PAGE
Dump headers, hash tables, sub hash tables, elements and pages.SUB_HASH_TABLE
Dump headers, hash tables and sub hash tables.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static K2hash.STATS_DUMP_LEVEL
valueOf(String name)
Returns the enum constant of this type with the specified name.static K2hash.STATS_DUMP_LEVEL[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEADER
public static final K2hash.STATS_DUMP_LEVEL HEADER
Dump headers.
-
HASH_TABLE
public static final K2hash.STATS_DUMP_LEVEL HASH_TABLE
Dump headers and hash tables.
-
SUB_HASH_TABLE
public static final K2hash.STATS_DUMP_LEVEL SUB_HASH_TABLE
Dump headers, hash tables and sub hash tables.
-
ELEMENT
public static final K2hash.STATS_DUMP_LEVEL ELEMENT
Dump headers, hash tables, sub hash tables and elements.
-
PAGE
public static final K2hash.STATS_DUMP_LEVEL PAGE
Dump headers, hash tables, sub hash tables, elements and pages.
-
-
Method Detail
-
values
public static K2hash.STATS_DUMP_LEVEL[] 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 (K2hash.STATS_DUMP_LEVEL c : K2hash.STATS_DUMP_LEVEL.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static K2hash.STATS_DUMP_LEVEL valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-