public class VarcharEnumType extends AbstractVarcharType implements EnumType<String>
| Modifier and Type | Class and Description |
|---|---|
static class |
VarcharEnumType.VarcharEnumMap |
MAX_LENGTH, UNBOUNDED_LENGTH| Constructor and Description |
|---|
VarcharEnumType(VarcharEnumType.VarcharEnumMap enumMap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDisplayName()
Returns the name of this type that should be displayed to end-users.
|
Optional<String> |
getEnumKeyForValue(String value) |
Map<String,String> |
getEnumMap() |
Type |
getValueType() |
int |
hashCode() |
appendTo, compareTo, equalTo, getLength, getLengthSafe, getObjectValue, getSlice, getSliceUnchecked, hash, isComparable, isOrderable, isUnbounded, toString, writeBytes, writeSlice, writeSlice, writeStringcreateBlockBuilder, createBlockBuildergetTypeSignaturegetBlockUnchecked, getBoolean, getBooleanUnchecked, getDouble, getDoubleUnchecked, getJavaType, getLong, getLongUnchecked, getObject, getTypeParameters, writeBoolean, writeDouble, writeLong, writeObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitappendTo, compareTo, createBlockBuilder, createBlockBuilder, equalTo, getBlockUnchecked, getBoolean, getBooleanUnchecked, getDouble, getDoubleUnchecked, getJavaType, getLong, getLongUnchecked, getObject, getObjectValue, getSlice, getSliceUnchecked, getTypeParameters, getTypeSignature, hash, isComparable, isOrderable, writeBoolean, writeDouble, writeLong, writeObject, writeSlice, writeSlicepublic VarcharEnumType(VarcharEnumType.VarcharEnumMap enumMap)
public Map<String,String> getEnumMap()
getEnumMap in interface EnumType<String>public Optional<String> getEnumKeyForValue(String value)
getEnumKeyForValue in interface EnumType<String>public Type getValueType()
getValueType in interface EnumType<String>public String getDisplayName()
TypegetDisplayName in interface TypegetDisplayName in class AbstractVarcharTypepublic int hashCode()
hashCode in class AbstractVarcharTypepublic boolean equals(Object o)
equals in class AbstractVarcharTypeCopyright © 2012–2022. All rights reserved.