Top Fields Constructors Methods
org.jooq.impl

pack-priv abstract Class AbstractWindowFunction<T>

extends AbstractField<T>
implements WindowFromFirstLastStep<T>, WindowPartitionByStep<T>, WindowRowsStep<T>, WindowRowsAndStep<T>, WindowExcludeStep<T>, QOM.WindowFunction<T>, ScopeMappable
Class Inheritance
All Implemented Interfaces
org.jooq.impl.ScopeMappable, org.jooq.QueryPartInternal, org.jooq.QueryPart, java.io.Serializable, org.jooq.impl.QOM.WindowFunction, org.jooq.Field, org.jooq.TableElement, org.jooq.Named, org.jooq.FieldOrConstraint, org.jooq.FieldOrRowOrSelect, org.jooq.FieldOrRow, org.jooq.OrderField, org.jooq.GroupField, org.jooq.SelectField, org.jooq.Typed, org.jooq.SelectFieldOrAsterisk, org.jooq.WindowExcludeStep, org.jooq.WindowFinalStep, org.jooq.WindowRowsAndStep, org.jooq.WindowRowsStep, org.jooq.WindowPartitionByStep, org.jooq.WindowOrderByStep, org.jooq.WindowFromFirstLastStep, org.jooq.WindowIgnoreNullsStep, org.jooq.WindowOverStep
Known Direct Subclasses
org.jooq.impl.PercentRank, org.jooq.impl.DenseRank, org.jooq.impl.Rank, org.jooq.impl.AbstractLeadLag, org.jooq.impl.RowNumber, org.jooq.impl.CumeDist, org.jooq.impl.NthValue, org.jooq.impl.Ntile, org.jooq.impl.AbstractAggregateFunction, org.jooq.impl.FirstValue, org.jooq.impl.LastValue
Static Imports
org.jooq.SQLDialect.MYSQL, .SQLDialect.POSTGRES, .SQLDialect.SQLITE, .SQLDialect.YUGABYTEDB, org.jooq.impl.DSL.name, .Keywords.K_FIRST, .Keywords.K_FROM, .Keywords.K_IGNORE_NULLS, .Keywords.K_LAST, .Keywords.K_OVER, .Keywords.K_RESPECT_NULLS, .SelectQueryImpl.NO_SUPPORT_WINDOW_CLAUSE, .Tools.SimpleDataKey.DATA_WINDOW_DEFINITIONS

Deprecated

as a consequence of AbstractField, WindowPartitionByStep, WindowRowsStep, WindowExcludeStep and QOM.WindowFunction being deprecated. See corresponding docs for further information.

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv QOM.FromFirstOrLast
pack-priv QOM.NullTreatment
private static final Set<SQLDialect>
pack-priv WindowDefinitionImpl
windowDefinition

Deprecated as a consequence of WindowDefinitionImpl being deprecated.
pack-priv Name
pack-priv WindowSpecificationImpl
windowSpecification

Deprecated as a consequence of WindowSpecificationImpl being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final QOM.FromFirstOrLast
pack-priv final AbstractWindowFunction<T>
$fromFirstOrLast(QOM.FromFirstOrLast f)

Deprecated as a consequence of AbstractWindowFunction being deprecated.
public final QOM.NullTreatment
pack-priv final AbstractWindowFunction<T>
$nullTreatment(QOM.NullTreatment n)

Deprecated as a consequence of AbstractWindowFunction being deprecated.
public final WindowDefinition
$windowDefinition()

Implements org.jooq.impl.QOM.WindowFunction.$windowDefinition.

Deprecated as a consequence of WindowDefinition being deprecated.
pack-priv final AbstractWindowFunction<T>
$windowDefinition(WindowDefinition d)

Deprecated as a consequence of WindowDefinition and AbstractWindowFunction being deprecated.
public final WindowSpecification
pack-priv final AbstractWindowFunction<T>
$windowSpecification(WindowSpecification s)

Deprecated as a consequence of AbstractWindowFunction being deprecated.
pack-priv final void
pack-priv final void
pack-priv final void
pack-priv final void
public final WindowExcludeStep<T>
andCurrentRow()

Implements org.jooq.WindowRowsAndStep.andCurrentRow.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a … AND CURRENT ROW frame clause to the window function.
public final WindowExcludeStep<T>
andFollowing(int number)

Implements org.jooq.WindowRowsAndStep.andFollowing.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a … AND [number] FOLLOWING frame clause to the window function.
public final WindowExcludeStep<T>
andPreceding(int number)

Implements org.jooq.WindowRowsAndStep.andPreceding.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a … AND [number] PRECEDING frame clause to the window function.
public final WindowExcludeStep<T>
andUnboundedFollowing()

Implements org.jooq.WindowRowsAndStep.andUnboundedFollowing.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a … AND UNBOUNDED FOLLOWING frame clause to the window function.
public final WindowExcludeStep<T>
andUnboundedPreceding()

Implements org.jooq.WindowRowsAndStep.andUnboundedPreceding.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a … AND UNBOUNDED PRECEDING frame clause to the window function.
public final WindowFinalStep<T>
excludeCurrentRow()

Implements org.jooq.WindowExcludeStep.excludeCurrentRow.

Deprecated as a consequence of WindowFinalStep being deprecated.
Add an EXCLUDE CURRENT ROW clause.
public final WindowFinalStep<T>
excludeGroup()

Implements org.jooq.WindowExcludeStep.excludeGroup.

Deprecated as a consequence of WindowFinalStep being deprecated.
Add an EXCLUDE GROUP clause.
public final WindowFinalStep<T>
excludeNoOthers()

Implements org.jooq.WindowExcludeStep.excludeNoOthers.

Deprecated as a consequence of WindowFinalStep being deprecated.
Add an EXCLUDE NO OTHERS clause.
public final WindowFinalStep<T>
excludeTies()

Implements org.jooq.WindowExcludeStep.excludeTies.

Deprecated as a consequence of WindowFinalStep being deprecated.
Add an EXCLUDE TIES clause.
public final WindowIgnoreNullsStep<T>
fromFirst()

Implements org.jooq.WindowFromFirstLastStep.fromFirst.

Add an FROM FIRST clause to the window function.
public final WindowIgnoreNullsStep<T>
fromLast()

Implements org.jooq.WindowFromFirstLastStep.fromLast.

Add a FROM LAST clause to the window function.
public final WindowRowsAndStep<T>
groupsBetweenCurrentRow()

Implements org.jooq.WindowRowsStep.groupsBetweenCurrentRow.

Add a GROUPS BETWEEN CURRENT ROW … frame clause to the window function.
public final WindowRowsAndStep<T>
groupsBetweenFollowing(int number)

Implements org.jooq.WindowRowsStep.groupsBetweenFollowing.

Add a GROUPS BETWEEN [number] FOLLOWING … frame clause to the window function.
public final WindowRowsAndStep<T>
groupsBetweenPreceding(int number)

Implements org.jooq.WindowRowsStep.groupsBetweenPreceding.

Add a GROUPS BETWEEN [number] PRECEDING … frame clause to the window function.
public final WindowRowsAndStep<T>
groupsBetweenUnboundedFollowing()

Implements org.jooq.WindowRowsStep.groupsBetweenUnboundedFollowing.

Add a GROUPS BETWEEN UNBOUNDED FOLLOWING … frame clause to the window function.
public final WindowRowsAndStep<T>
groupsBetweenUnboundedPreceding()

Implements org.jooq.WindowRowsStep.groupsBetweenUnboundedPreceding.

Add a GROUPS BETWEEN UNBOUNDED PRECEDING … frame clause to the window function.
public final WindowExcludeStep<T>
groupsCurrentRow()

Implements org.jooq.WindowRowsStep.groupsCurrentRow.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS CURRENT ROW frame clause to the window function.
public final WindowExcludeStep<T>
groupsFollowing(int number)

Implements org.jooq.WindowRowsStep.groupsFollowing.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS [number] FOLLOWING frame clause to the window function.
public final WindowExcludeStep<T>
groupsPreceding(int number)

Implements org.jooq.WindowRowsStep.groupsPreceding.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS [number] PRECEDING frame clause to the window function.
public final WindowExcludeStep<T>
groupsUnboundedFollowing()

Implements org.jooq.WindowRowsStep.groupsUnboundedFollowing.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS UNBOUNDED FOLLOWING frame clause to the window function.
public final WindowExcludeStep<T>
groupsUnboundedPreceding()

Implements org.jooq.WindowRowsStep.groupsUnboundedPreceding.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS UNBOUNDED PRECEDING frame clause to the window function.
public final WindowOverStep<T>
ignoreNulls()

Implements org.jooq.WindowIgnoreNullsStep.ignoreNulls.

Add an IGNORE NULLS clause to the window function.
pack-priv final boolean
public AbstractWindowFunction<T>
orderBy(OrderField<?>... fields)

Implements org.jooq.WindowOrderByStep.orderBy.

Deprecated as a consequence of AbstractWindowFunction being deprecated.
Add an ORDER BY clause to the window function.
public AbstractWindowFunction<T>
orderBy(Collection<? extends OrderField<?>> fields)

Implements org.jooq.WindowOrderByStep.orderBy.

Deprecated as a consequence of AbstractWindowFunction being deprecated.
Add an ORDER BY clause to the window function.
public final WindowPartitionByStep<T>
over()

Implements org.jooq.WindowOverStep.over.

Deprecated as a consequence of WindowPartitionByStep being deprecated.
Turn this aggregate function into a window function.
public final WindowFinalStep<T>
over(WindowSpecification specification)

Implements org.jooq.WindowOverStep.over.

Deprecated as a consequence of WindowFinalStep being deprecated.
Turn this aggregate function into a window function.
public final WindowFinalStep<T>
over(WindowDefinition definition)

Implements org.jooq.WindowOverStep.over.

Deprecated as a consequence of WindowDefinition and WindowFinalStep being deprecated.
Turn this aggregate function into a window function referencing a window definition.
public final WindowFinalStep<T>
over(String n)

Implements org.jooq.WindowOverStep.over.

Deprecated as a consequence of WindowFinalStep being deprecated.
Turn this aggregate function into a window function referencing a window name.
public final WindowFinalStep<T>
over(Name n)

Implements org.jooq.WindowOverStep.over.

Deprecated as a consequence of WindowFinalStep being deprecated.
Turn this aggregate function into a window function referencing a window name.
public final WindowOrderByStep<T>
partitionBy(GroupField... fields)

Implements org.jooq.WindowPartitionByStep.partitionBy.

Deprecated as a consequence of WindowOrderByStep being deprecated.
Add a PARTITION BY clause to the window functions.
public final WindowOrderByStep<T>
partitionBy(Collection<? extends GroupField> fields)

Implements org.jooq.WindowPartitionByStep.partitionBy.

Deprecated as a consequence of WindowOrderByStep being deprecated.
Add a PARTITION BY clause to the window functions.
public final WindowOrderByStep<T>
partitionByOne()

Implements org.jooq.WindowPartitionByStep.partitionByOne.

Deprecated
Add a PARTITION BY 1 clause to the window functions, where such a clause is required by the syntax of an RDBMS.
public final WindowRowsAndStep<T>
rangeBetweenCurrentRow()

Implements org.jooq.WindowRowsStep.rangeBetweenCurrentRow.

Add a RANGE BETWEEN CURRENT ROW … frame clause to the window function.
public final WindowRowsAndStep<T>
rangeBetweenFollowing(int number)

Implements org.jooq.WindowRowsStep.rangeBetweenFollowing.

Add a RANGE BETWEEN [number] FOLLOWING … frame clause to the window function.
public final WindowRowsAndStep<T>
rangeBetweenPreceding(int number)

Implements org.jooq.WindowRowsStep.rangeBetweenPreceding.

Add a RANGE BETWEEN [number] PRECEDING … frame clause to the window function.
public final WindowRowsAndStep<T>
rangeBetweenUnboundedFollowing()

Implements org.jooq.WindowRowsStep.rangeBetweenUnboundedFollowing.

Add a RANGE BETWEEN UNBOUNDED FOLLOWING … frame clause to the window function.
public final WindowRowsAndStep<T>
rangeBetweenUnboundedPreceding()

Implements org.jooq.WindowRowsStep.rangeBetweenUnboundedPreceding.

Add a RANGE BETWEEN UNBOUNDED PRECEDING … frame clause to the window function.
public final WindowExcludeStep<T>
rangeCurrentRow()

Implements org.jooq.WindowRowsStep.rangeCurrentRow.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE CURRENT ROW frame clause to the window function.
public final WindowExcludeStep<T>
rangeFollowing(int number)

Implements org.jooq.WindowRowsStep.rangeFollowing.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE [number] FOLLOWING frame clause to the window function.
public final WindowExcludeStep<T>
rangePreceding(int number)

Implements org.jooq.WindowRowsStep.rangePreceding.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE [number] PRECEDING frame clause to the window function.
public final WindowExcludeStep<T>
rangeUnboundedFollowing()

Implements org.jooq.WindowRowsStep.rangeUnboundedFollowing.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE UNBOUNDED FOLLOWING frame clause to the window function.
public final WindowExcludeStep<T>
rangeUnboundedPreceding()

Implements org.jooq.WindowRowsStep.rangeUnboundedPreceding.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE UNBOUNDED PRECEDING frame clause to the window function.
public final WindowOverStep<T>
respectNulls()

Implements org.jooq.WindowIgnoreNullsStep.respectNulls.

Add a RESPECT NULLS clause to the window function.
public final WindowRowsAndStep<T>
rowsBetweenCurrentRow()

Implements org.jooq.WindowRowsStep.rowsBetweenCurrentRow.

Add a ROWS BETWEEN CURRENT ROW … frame clause to the window function.
public final WindowRowsAndStep<T>
rowsBetweenFollowing(int number)

Implements org.jooq.WindowRowsStep.rowsBetweenFollowing.

Add a ROWS BETWEEN [number] FOLLOWING … frame clause to the window function.
public final WindowRowsAndStep<T>
rowsBetweenPreceding(int number)

Implements org.jooq.WindowRowsStep.rowsBetweenPreceding.

Add a ROWS BETWEEN [number] PRECEDING … frame clause to the window function.
public final WindowRowsAndStep<T>
rowsBetweenUnboundedFollowing()

Implements org.jooq.WindowRowsStep.rowsBetweenUnboundedFollowing.

Add a ROWS BETWEEN UNBOUNDED FOLLOWING … frame clause to the window function.
public final WindowRowsAndStep<T>
rowsBetweenUnboundedPreceding()

Implements org.jooq.WindowRowsStep.rowsBetweenUnboundedPreceding.

Add a ROWS BETWEEN UNBOUNDED PRECEDING … frame clause to the window function.
public final WindowExcludeStep<T>
rowsCurrentRow()

Implements org.jooq.WindowRowsStep.rowsCurrentRow.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS CURRENT ROW frame clause to the window function.
public final WindowExcludeStep<T>
rowsFollowing(int number)

Implements org.jooq.WindowRowsStep.rowsFollowing.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS [number] FOLLOWING frame clause to the window function.
public final WindowExcludeStep<T>
rowsPreceding(int number)

Implements org.jooq.WindowRowsStep.rowsPreceding.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS [number] PRECEDING frame clause to the window function.
public final WindowExcludeStep<T>
rowsUnboundedFollowing()

Implements org.jooq.WindowRowsStep.rowsUnboundedFollowing.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS UNBOUNDED FOLLOWING frame clause to the window function.
public final WindowExcludeStep<T>
rowsUnboundedPreceding()

Implements org.jooq.WindowRowsStep.rowsUnboundedPreceding.

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS UNBOUNDED PRECEDING frame clause to the window function.
pack-priv final QueryPart
window(Context<?> ctx)

Inherited from org.jooq.impl.AbstractField:
$alias$aliasedabsacceptacosaddaddasasasasascasciiasinatanatan2atan2avgavgOverbetweenbetweenbetweenbetweenbetweenSymmetricbetweenSymmetricbetweenSymmetricbetweenSymmetricbitAndbitAndbitLengthbitNandbitNandbitNorbitNorbitNotbitOrbitOrbitXNorbitXNorbitXorbitXorcastcastcastceilchangedcharLengthclausescoalescecoalescecoercecoercecoercecollatecollatecollatecommentcommentcomparecomparecomparecompareconcatconcatconcatcontainscontainscontainsIgnoreCasecontainsIgnoreCaseconvertconvertconvertconvertFromconvertFromconvertToconvertTocoscoshcotcothcountcountDistinctcountOverdecodedecodedecodedecodedegdescdivdivdividedivideendsWithendsWithendsWithIgnoreCaseendsWithIgnoreCaseeqeqeqeqequalequalequalequalequalIgnoreCaseequalIgnoreCaseexpextractfieldfirstValuefloorfromgegegegegetgetValuegreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterThangreaterThangreaterThangreaterThangreatestgreatestgtgtgtgtinininininisDistinctFromisDistinctFromisDistinctFromisDocumentisFalseisJsonisNotDistinctFromisNotDistinctFromisNotDistinctFromisNotDocumentisNotJsonisNotNullisNullisNullableisPossiblyNullableisTruelaglaglaglaglastValueleleleleleadleadleadleadleastleastlengthlessOrEquallessOrEquallessOrEquallessOrEquallessThanlessThanlessThanlessThanlikelikelikelikelikelikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeRegexlikeRegexlnloglowerlpadlpadlpadlpadltltltltltrimmaxmaxOvermedianminminOverminusminusmodmodmodulomodulomulmulmultiplymultiplynenenenenegnotBetweennotBetweennotBetweennotBetweennotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotContainsnotContainsnotContainsIgnoreCasenotContainsIgnoreCasenotEqualnotEqualnotEqualnotEqualnotEqualIgnoreCasenotEqualIgnoreCasenotInnotInnotInnotInnotInnotLikenotLikenotLikenotLikenotLikenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeRegexnotLikeRegexnotSimilarTonotSimilarTonotSimilarTonotSimilarTonotSimilarTonullifnullifnullsFirstnullsLastnvlnvlnvl2nvl2octetLengthoriginalparenthesisedpluspluspositionpositionpowpowpowerpowerprojectionSizeradremremrepeatrepeatreplacereplacereplacereplaceresetroundroundrpadrpadrpadrpadrtrimshlshlshrshrsignsimilarTosimilarTosimilarTosimilarTosimilarTosinsinhsortsortsortAscsortAscsortDefaultsortDescsortDescsqrtstartsWithstartsWithstartsWithIgnoreCasestartsWithIgnoreCasestddevPopstddevPopOverstddevSampstddevSampOversubsubsubstringsubstringsubstringsubstringsubtractsubtractsumsumOvertantanhtimestimestrimunaryMinusunaryPlusuppervarPopvarPopOvervarSampvarSampOver