Enum IndexPageType
- java.lang.Object
-
- java.lang.Enum<IndexPageType>
-
- org.apache.ignite.internal.metric.IndexPageType
-
- All Implemented Interfaces:
Serializable,Comparable<IndexPageType>
public enum IndexPageType extends Enum<IndexPageType>
Enumeration of types of b-tree index pages.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndexPageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static IndexPageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEAF
public static final IndexPageType LEAF
Leaf B-tree index page.
-
INNER
public static final IndexPageType INNER
Inner B-tree index page.
-
NOT_INDEX
public static final IndexPageType NOT_INDEX
Not index page.
-
-
Method Detail
-
values
public static IndexPageType[] 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 (IndexPageType c : IndexPageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexPageType 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
-
-