Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class DateDiff<T>

extends AbstractField<Integer>
implements UNotYetImplemented
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.UNotYetImplemented, org.jooq.impl.QOM.UEmpty, org.jooq.QueryPart, java.io.Serializable
Static Imports
org.jooq.DatePart.DAY, .DatePart.EPOCH, .DatePart.HOUR, .DatePart.MICROSECOND, .DatePart.MILLISECOND, .DatePart.NANOSECOND, .DatePart.QUARTER, .DatePart.YEAR, .SQLDialect.FIREBIRD, .SQLDialect.HSQLDB, org.jooq.impl.DSL.function, .DSL.inline, .Keywords.K_DAY, .Keywords.K_FROM, .Keywords.K_MILLISECOND, .Names.N_DATEDIFF, .Names.N_DATE_DIFF, .Names.N_DAYS, .Names.N_DAYS_BETWEEN, .Names.N_EXTRACT, .Names.N_SQL_TSI_DAY, .Names.N_SQL_TSI_FRAC_SECOND, .Names.N_SQL_TSI_HOUR, .Names.N_SQL_TSI_MINUTE, .Names.N_SQL_TSI_SECOND, .Names.N_STRFTIME, .Names.N_TIMESTAMPDIFF, .Names.N_TIMESTAMP_DIFF, .SQLDataType.TIMESTAMP, .Tools.castIfNeeded

Deprecated

as a consequence of AbstractField and QOM.UNotYetImplemented being deprecated. See corresponding docs for further information.

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final Field<T>
endDate

Deprecated as a consequence of Field being deprecated.
private final DatePart
private final Field<T>
startDate

Deprecated as a consequence of Field being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
DateDiff(DatePart part, Field<T> startDate, Field<T> endDate)

Deprecated as a consequence of Field being deprecated.

Method Summary

Modifier and TypeMethod and Description
public final void
accept(Context<?> ctx)

Implements abstract org.jooq.impl.AbstractField.accept.

Implements org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.
private final Field<Integer>
monthDiff(DatePart p)

Deprecated as a consequence of Field being deprecated.
Calculate the difference for DatePart#MONTH or month-based date parts like DatePart#QUARTER.
private final Field<Integer>
partDiff(DatePart p)

Deprecated as a consequence of Field being deprecated.
Inherited from org.jooq.impl.AbstractField:
$alias$aliasedabsacosaddaddasasasasascasciiasinatanatan2atan2avgavgOverbetweenbetweenbetweenbetweenbetweenSymmetricbetweenSymmetricbetweenSymmetricbetweenSymmetricbitAndbitAndbitLengthbitNandbitNandbitNorbitNorbitNotbitOrbitOrbitXNorbitXNorbitXorbitXorcastcastcastceilchangedcharLengthclausescoalescecoalescecoercecoercecoercecollatecollatecollatecommentcommentcomparecomparecomparecompareconcatconcatconcatcontainscontainscontainsIgnoreCasecontainsIgnoreCaseconvertconvertconvertconvertFromconvertFromconvertToconvertTocoscoshcotcothcountcountDistinctcountOverdecodedecodedecodedecodedegdescdivdivdividedivideendsWithendsWithendsWithIgnoreCaseendsWithIgnoreCaseeqeqeqeqequalequalequalequalequalIgnoreCaseequalIgnoreCaseexpextractfieldfirstValuefloorfromgegegegegetgetValuegreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterThangreaterThangreaterThangreaterThangreatestgreatestgtgtgtgtinininininisDistinctFromisDistinctFromisDistinctFromisDocumentisFalseisJsonisNotDistinctFromisNotDistinctFromisNotDistinctFromisNotDocumentisNotJsonisNotNullisNullisNullableisPossiblyNullableisTruelaglaglaglaglastValueleleleleleadleadleadleadleastleastlengthlessOrEquallessOrEquallessOrEquallessOrEquallessThanlessThanlessThanlessThanlikelikelikelikelikelikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeRegexlikeRegexlnloglowerlpadlpadlpadlpadltltltltltrimmaxmaxOvermedianminminOverminusminusmodmodmodulomodulomulmulmultiplymultiplynenenenenegnotBetweennotBetweennotBetweennotBetweennotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotContainsnotContainsnotContainsIgnoreCasenotContainsIgnoreCasenotEqualnotEqualnotEqualnotEqualnotEqualIgnoreCasenotEqualIgnoreCasenotInnotInnotInnotInnotInnotLikenotLikenotLikenotLikenotLikenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeRegexnotLikeRegexnotSimilarTonotSimilarTonotSimilarTonotSimilarTonotSimilarTonullifnullifnullsFirstnullsLastnvlnvlnvl2nvl2octetLengthoriginalparenthesisedpluspluspositionpositionpowpowpowerpowerprojectionSizeradremremrepeatrepeatreplacereplacereplacereplaceresetroundroundrpadrpadrpadrpadrtrimshlshlshrshrsignsimilarTosimilarTosimilarTosimilarTosimilarTosinsinhsortsortsortAscsortAscsortDefaultsortDescsortDescsqrtstartsWithstartsWithstartsWithIgnoreCasestartsWithIgnoreCasestddevPopstddevPopOverstddevSampstddevSampOversubsubsubstringsubstringsubstringsubstringsubtractsubtractsumsumOvertantanhtimestimestrimunaryMinusunaryPlusuppervarPopvarPopOvervarSampvarSampOver

Field Detail

endDateback to summary
private final Field<T> endDate

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

partback to summary
private final DatePart part
startDateback to summary
private final Field<T> startDate

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Constructor Detail

DateDiffback to summary
pack-priv DateDiff(DatePart part, Field<T> startDate, Field<T> endDate)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Method Detail

acceptback to summary
public final void accept(Context<?> ctx)

Implements abstract org.jooq.impl.AbstractField.accept.

Implements org.jooq.QueryPartInternal.accept.

Doc from org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.

Annotations
@Override
monthDiffback to summary
private final Field<Integer> monthDiff(DatePart p)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Calculate the difference for DatePart#MONTH or month-based date parts like DatePart#QUARTER.

partDiffback to summary
private final Field<Integer> partDiff(DatePart p)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.