@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2022-12-27") public enum Type extends Enum<Type> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
BOOLEAN |
BYTE_ARRAY |
DOUBLE |
FIXED_LEN_BYTE_ARRAY |
FLOAT |
INT32 |
INT64 |
INT96 |
Modifier and Type | Method and Description |
---|---|
static Type |
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 Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type BOOLEAN
public static final Type INT32
public static final Type INT64
public static final Type INT96
public static final Type FLOAT
public static final Type DOUBLE
public static final Type BYTE_ARRAY
public static final Type FIXED_LEN_BYTE_ARRAY
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type 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 Type findByValue(int value)
Copyright © 2022 The Apache Software Foundation. All rights reserved.