|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jooq.util.postgres.PGIntervalConverter
PostgresUtils
methods instead
@Deprecated public class PGIntervalConverter
A converter for org.postgresql.util.PGInterval
Postgres returns an undisclosed internal type for intervals. This converter
takes care of converting the internal type to jOOQ's interval data types
DayToSecond
and YearToMonth
Note, that Postgres uses some non-standard ways of describing negative intervals. Negative intervals have a sign before every date part!
Constructor Summary | |
---|---|
PGIntervalConverter()
Deprecated. |
Method Summary | |
---|---|
static DayToSecond |
toDayToSecond(Object pgInterval)
Deprecated. - 2.3.0 - Use PostgresUtils.toDayToSecond(Object)
methods instead |
static Object |
toPGInterval(DayToSecond interval)
Deprecated. - 2.3.0 - Use PostgresUtils.toPGInterval(DayToSecond)
methods instead |
static Object |
toPGInterval(YearToMonth interval)
Deprecated. - 2.3.0 - Use PostgresUtils.toPGInterval(YearToMonth)
methods instead |
static YearToMonth |
toYearToMonth(Object pgInterval)
Deprecated. - 2.3.0 - Use PostgresUtils.toYearToMonth(Object)
methods instead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PGIntervalConverter()
Method Detail |
---|
@Deprecated public static Object toPGInterval(DayToSecond interval)
PostgresUtils.toPGInterval(DayToSecond)
methods instead
DAY TO SECOND
interval to a Postgres
representation
@Deprecated public static Object toPGInterval(YearToMonth interval)
PostgresUtils.toPGInterval(YearToMonth)
methods instead
YEAR TO MONTH
interval to a Postgres
representation
@Deprecated public static DayToSecond toDayToSecond(Object pgInterval)
PostgresUtils.toDayToSecond(Object)
methods instead
DAY TO SECOND
interval
@Deprecated public static YearToMonth toYearToMonth(Object pgInterval)
PostgresUtils.toYearToMonth(Object)
methods instead
YEAR TO MONTH
interval
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |