E - The enum value type.public class EnumValueMapper<E extends net.morimekta.providence.PEnumValue<E>> extends Object implements org.jdbi.v3.core.mapper.ColumnMapper<E>
| Constructor and Description |
|---|
EnumValueMapper(boolean acceptUnknown,
net.morimekta.providence.descriptor.PEnumDescriptor<E> descriptor)
Create a enum value column mapper.
|
| Modifier and Type | Method and Description |
|---|---|
Type |
getType() |
E |
map(ResultSet r,
int columnNumber,
org.jdbi.v3.core.statement.StatementContext ctx) |
String |
toString() |
public E map(ResultSet r, int columnNumber, org.jdbi.v3.core.statement.StatementContext ctx) throws SQLException
map in interface org.jdbi.v3.core.mapper.ColumnMapper<E extends net.morimekta.providence.PEnumValue<E>>SQLExceptionpublic Type getType()
Copyright © 2015–2020 morimekta.net. All rights reserved.