Class WindowBuilderImpl<T>

  • All Implemented Interfaces:
    com.blazebit.persistence.BaseWhereBuilder<WindowBuilderImpl<T>>, com.blazebit.persistence.OrderByBuilder<com.blazebit.persistence.WindowBuilder<T>>, com.blazebit.persistence.WhereBuilder<WindowBuilderImpl<T>>, com.blazebit.persistence.WindowBuilder<T>, com.blazebit.persistence.WindowFrameBetweenBuilder<T>, com.blazebit.persistence.WindowFrameBuilder<T>, com.blazebit.persistence.WindowFrameExclusionBuilder<T>

    public class WindowBuilderImpl<T>
    extends PredicateManager<WindowBuilderImpl<T>>
    implements com.blazebit.persistence.WindowBuilder<T>, com.blazebit.persistence.WhereBuilder<WindowBuilderImpl<T>>, com.blazebit.persistence.WindowFrameBuilder<T>, com.blazebit.persistence.WindowFrameExclusionBuilder<T>, com.blazebit.persistence.WindowFrameBetweenBuilder<T>
    Since:
    1.4.0
    Author:
    Christian Beikov
    • Method Detail

      • filter

        public <X extends com.blazebit.persistence.WhereBuilder<X> & com.blazebit.persistence.WindowBuilder<X>> X filter()
        Specified by:
        filter in interface com.blazebit.persistence.WindowBuilder<T>
      • partitionBy

        public com.blazebit.persistence.WindowBuilder<T> partitionBy​(String... partitionExpressions)
        Specified by:
        partitionBy in interface com.blazebit.persistence.WindowBuilder<T>
      • partitionBy

        public com.blazebit.persistence.WindowBuilder<T> partitionBy​(String partitionExpression)
        Specified by:
        partitionBy in interface com.blazebit.persistence.WindowBuilder<T>
      • rows

        public com.blazebit.persistence.WindowFrameBuilder<T> rows()
        Specified by:
        rows in interface com.blazebit.persistence.WindowBuilder<T>
      • range

        public com.blazebit.persistence.WindowFrameBuilder<T> range()
        Specified by:
        range in interface com.blazebit.persistence.WindowBuilder<T>
      • groups

        public com.blazebit.persistence.WindowFrameBuilder<T> groups()
        Specified by:
        groups in interface com.blazebit.persistence.WindowBuilder<T>
      • orderBy

        public com.blazebit.persistence.WindowBuilder<T> orderBy​(String expression,
                                                                 boolean ascending)
        Specified by:
        orderBy in interface com.blazebit.persistence.OrderByBuilder<T>
      • orderBy

        public com.blazebit.persistence.WindowBuilder<T> orderBy​(String expression,
                                                                 boolean ascending,
                                                                 boolean nullFirst)
        Specified by:
        orderBy in interface com.blazebit.persistence.OrderByBuilder<T>
      • orderByAsc

        public com.blazebit.persistence.WindowBuilder<T> orderByAsc​(String expression)
        Specified by:
        orderByAsc in interface com.blazebit.persistence.OrderByBuilder<T>
      • orderByAsc

        public com.blazebit.persistence.WindowBuilder<T> orderByAsc​(String expression,
                                                                    boolean nullFirst)
        Specified by:
        orderByAsc in interface com.blazebit.persistence.OrderByBuilder<T>
      • orderByDesc

        public com.blazebit.persistence.WindowBuilder<T> orderByDesc​(String expression)
        Specified by:
        orderByDesc in interface com.blazebit.persistence.OrderByBuilder<T>
      • orderByDesc

        public com.blazebit.persistence.WindowBuilder<T> orderByDesc​(String expression,
                                                                     boolean nullFirst)
        Specified by:
        orderByDesc in interface com.blazebit.persistence.OrderByBuilder<T>
      • betweenUnboundedPreceding

        public com.blazebit.persistence.WindowFrameBetweenBuilder<T> betweenUnboundedPreceding()
        Specified by:
        betweenUnboundedPreceding in interface com.blazebit.persistence.WindowFrameBuilder<T>
      • betweenPreceding

        public com.blazebit.persistence.WindowFrameBetweenBuilder<T> betweenPreceding​(String expression)
        Specified by:
        betweenPreceding in interface com.blazebit.persistence.WindowFrameBuilder<T>
      • betweenFollowing

        public com.blazebit.persistence.WindowFrameBetweenBuilder<T> betweenFollowing​(String expression)
        Specified by:
        betweenFollowing in interface com.blazebit.persistence.WindowFrameBuilder<T>
      • betweenCurrentRow

        public com.blazebit.persistence.WindowFrameBetweenBuilder<T> betweenCurrentRow()
        Specified by:
        betweenCurrentRow in interface com.blazebit.persistence.WindowFrameBuilder<T>
      • unboundedPreceding

        public com.blazebit.persistence.WindowFrameExclusionBuilder<T> unboundedPreceding()
        Specified by:
        unboundedPreceding in interface com.blazebit.persistence.WindowFrameBuilder<T>
      • preceding

        public com.blazebit.persistence.WindowFrameExclusionBuilder<T> preceding​(String expression)
        Specified by:
        preceding in interface com.blazebit.persistence.WindowFrameBuilder<T>
      • currentRow

        public com.blazebit.persistence.WindowFrameExclusionBuilder<T> currentRow()
        Specified by:
        currentRow in interface com.blazebit.persistence.WindowFrameBuilder<T>
      • andUnboundedFollowing

        public com.blazebit.persistence.WindowFrameExclusionBuilder<T> andUnboundedFollowing()
        Specified by:
        andUnboundedFollowing in interface com.blazebit.persistence.WindowFrameBetweenBuilder<T>
      • andPreceding

        public com.blazebit.persistence.WindowFrameExclusionBuilder<T> andPreceding​(String expression)
        Specified by:
        andPreceding in interface com.blazebit.persistence.WindowFrameBetweenBuilder<T>
      • andFollowing

        public com.blazebit.persistence.WindowFrameExclusionBuilder<T> andFollowing​(String expression)
        Specified by:
        andFollowing in interface com.blazebit.persistence.WindowFrameBetweenBuilder<T>
      • andCurrentRow

        public com.blazebit.persistence.WindowFrameExclusionBuilder<T> andCurrentRow()
        Specified by:
        andCurrentRow in interface com.blazebit.persistence.WindowFrameBetweenBuilder<T>
      • excludeNoOthers

        public T excludeNoOthers()
        Specified by:
        excludeNoOthers in interface com.blazebit.persistence.WindowFrameExclusionBuilder<T>
      • excludeCurrentRow

        public T excludeCurrentRow()
        Specified by:
        excludeCurrentRow in interface com.blazebit.persistence.WindowFrameExclusionBuilder<T>
      • excludeGroup

        public T excludeGroup()
        Specified by:
        excludeGroup in interface com.blazebit.persistence.WindowFrameExclusionBuilder<T>
      • excludeTies

        public T excludeTies()
        Specified by:
        excludeTies in interface com.blazebit.persistence.WindowFrameExclusionBuilder<T>
      • end

        public T end()
        Specified by:
        end in interface com.blazebit.persistence.WindowBuilder<T>
        Specified by:
        end in interface com.blazebit.persistence.WindowFrameExclusionBuilder<T>
      • where

        public com.blazebit.persistence.RestrictionBuilder<WindowBuilderImpl<T>> where​(String expression)
        Specified by:
        where in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereCase

        public com.blazebit.persistence.CaseWhenStarterBuilder<com.blazebit.persistence.RestrictionBuilder<WindowBuilderImpl<T>>> whereCase()
        Specified by:
        whereCase in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereSimpleCase

        public com.blazebit.persistence.SimpleCaseWhenStarterBuilder<com.blazebit.persistence.RestrictionBuilder<WindowBuilderImpl<T>>> whereSimpleCase​(String expression)
        Specified by:
        whereSimpleCase in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereOr

        public com.blazebit.persistence.WhereOrBuilder<WindowBuilderImpl<T>> whereOr()
        Specified by:
        whereOr in interface com.blazebit.persistence.WhereBuilder<T>
      • whereExists

        public com.blazebit.persistence.SubqueryInitiator<WindowBuilderImpl<T>> whereExists()
        Specified by:
        whereExists in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereNotExists

        public com.blazebit.persistence.SubqueryInitiator<WindowBuilderImpl<T>> whereNotExists()
        Specified by:
        whereNotExists in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereExists

        public com.blazebit.persistence.SubqueryBuilder<WindowBuilderImpl<T>> whereExists​(com.blazebit.persistence.FullQueryBuilder<?,​?> criteriaBuilder)
        Specified by:
        whereExists in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereNotExists

        public com.blazebit.persistence.SubqueryBuilder<WindowBuilderImpl<T>> whereNotExists​(com.blazebit.persistence.FullQueryBuilder<?,​?> criteriaBuilder)
        Specified by:
        whereNotExists in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereSubquery

        public com.blazebit.persistence.SubqueryInitiator<com.blazebit.persistence.RestrictionBuilder<WindowBuilderImpl<T>>> whereSubquery()
        Specified by:
        whereSubquery in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereSubquery

        public com.blazebit.persistence.SubqueryInitiator<com.blazebit.persistence.RestrictionBuilder<WindowBuilderImpl<T>>> whereSubquery​(String subqueryAlias,
                                                                                                                                           String expression)
        Specified by:
        whereSubquery in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<com.blazebit.persistence.RestrictionBuilder<WindowBuilderImpl<T>>> whereSubqueries​(String expression)
        Specified by:
        whereSubqueries in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereSubquery

        public com.blazebit.persistence.SubqueryBuilder<com.blazebit.persistence.RestrictionBuilder<WindowBuilderImpl<T>>> whereSubquery​(com.blazebit.persistence.FullQueryBuilder<?,​?> criteriaBuilder)
        Specified by:
        whereSubquery in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereSubquery

        public com.blazebit.persistence.SubqueryBuilder<com.blazebit.persistence.RestrictionBuilder<WindowBuilderImpl<T>>> whereSubquery​(String subqueryAlias,
                                                                                                                                         String expression,
                                                                                                                                         com.blazebit.persistence.FullQueryBuilder<?,​?> criteriaBuilder)
        Specified by:
        whereSubquery in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereExpression

        public WindowBuilderImpl<T> whereExpression​(String expression)
        Specified by:
        whereExpression in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • whereExpressionSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<WindowBuilderImpl<T>> whereExpressionSubqueries​(String expression)
        Specified by:
        whereExpressionSubqueries in interface com.blazebit.persistence.BaseWhereBuilder<T>
      • setWhereExpression

        public WindowBuilderImpl<T> setWhereExpression​(String expression)
        Specified by:
        setWhereExpression in interface com.blazebit.persistence.WhereBuilder<T>
      • setWhereExpressionSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<WindowBuilderImpl<T>> setWhereExpressionSubqueries​(String expression)
        Specified by:
        setWhereExpressionSubqueries in interface com.blazebit.persistence.WhereBuilder<T>