public class EnumByOrdinalMapperFactory extends Object implements ColumnMapperFactory
| Constructor and Description |
|---|
EnumByOrdinalMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
Optional<ColumnMapper<?>> |
build(Type type,
ConfigRegistry config)
Supplies a column mapper which will map columns to type if the factory supports it; empty otherwise.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic Optional<ColumnMapper<?>> build(Type type, ConfigRegistry config)
ColumnMapperFactorybuild in interface ColumnMapperFactorytype - the target type to map toconfig - the config registry, for compositionOptional.empty() otherwise.for compositionCopyright © 2017. All rights reserved.