@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2023-06-29") public enum PageType extends Enum<PageType> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
DATA_PAGE |
DATA_PAGE_V2 |
DICTIONARY_PAGE |
INDEX_PAGE |
Modifier and Type | Method and Description |
---|---|
static PageType |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static PageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageType DATA_PAGE
public static final PageType INDEX_PAGE
public static final PageType DICTIONARY_PAGE
public static final PageType DATA_PAGE_V2
public static PageType[] values()
for (PageType c : PageType.values()) System.out.println(c);
public static PageType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface org.apache.thrift.TEnum
public static PageType findByValue(int value)
Copyright © 2023 The Apache Software Foundation. All rights reserved.