| Constructor and Description |
|---|
EnumNameCodec(List<ENUM> enumValues,
Class<ENUM> sourceType) |
| Modifier and Type | Method and Description |
|---|---|
static <TYPE> EnumNameCodec<TYPE> |
create(List<TYPE> enumTypes,
Class<TYPE> sourceType) |
ENUM |
decode(String fromCassandra) |
String |
encode(ENUM fromJava) |
Class<ENUM> |
sourceType() |
Class<String> |
targetType() |
public static <TYPE> EnumNameCodec<TYPE> create(List<TYPE> enumTypes, Class<TYPE> sourceType)
public String encode(ENUM fromJava) throws info.archinnov.achilles.exception.AchillesTranscodingException
Copyright © 2012-2021. All Rights Reserved.