Constructor and Description |
---|
EnumCodec() |
Modifier and Type | Method and Description |
---|---|
static Integer |
parseEnumName(String name,
List<String> elems) |
static Integer |
parseEnumValue(Integer number,
List<String> elems) |
static String |
readEnumFromIndex(int idx,
List<String> elems) |
public static Integer parseEnumName(String name, List<String> elems) throws ConvertOverflowException
ConvertOverflowException
public static Integer parseEnumValue(Integer number, List<String> elems) throws ConvertOverflowException
ConvertOverflowException
Copyright © 2024 PingCAP. All rights reserved.