public abstract class EnumConverter extends Object
| Constructor and Description |
|---|
EnumConverter() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Enum> |
parseCollection(PostgresReader reader,
int context,
T defaultValue,
Function<PostgresReader,T> factory) |
static void |
serializeURI(PostgresBuffer sw,
Enum value) |
static <T extends Enum> |
toTuple(T value) |
public static void serializeURI(PostgresBuffer sw, Enum value)
public static <T extends Enum> List<T> parseCollection(PostgresReader reader, int context, T defaultValue, Function<PostgresReader,T> factory) throws IOException
IOExceptionpublic static <T extends Enum> PostgresTuple toTuple(T value)
Copyright © 2015. All rights reserved.