public class PeriodColumnMapperFactory extends Object implements ColumnMapperFactory
PGInterval type to Java's Period.
Not all PGIntervals are representable as Periods. E.g., one with minutes. An
IllegalArgumentException will be thrown in this case.
| Constructor and Description |
|---|
PeriodColumnMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
Optional<ColumnMapper<?>> |
build(Type type,
ConfigRegistry config) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic Optional<ColumnMapper<?>> build(Type type, ConfigRegistry config)
build in interface ColumnMapperFactoryCopyright © 2018. All rights reserved.