Class RestrictionBuilderImpl<T>

    • Method Detail

      • getPredicate

        public com.blazebit.persistence.parser.predicate.Predicate getPredicate()
        Specified by:
        getPredicate in interface com.blazebit.persistence.parser.predicate.PredicateBuilder
      • between

        public com.blazebit.persistence.BetweenBuilder<T> between​(Object start)
        Specified by:
        between in interface com.blazebit.persistence.RestrictionBuilder<T>
      • betweenLiteral

        public com.blazebit.persistence.BetweenBuilder<T> betweenLiteral​(Object start)
        Specified by:
        betweenLiteral in interface com.blazebit.persistence.RestrictionBuilder<T>
      • betweenExpression

        public com.blazebit.persistence.BetweenBuilder<T> betweenExpression​(String start)
        Specified by:
        betweenExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • betweenSubquery

        public com.blazebit.persistence.SubqueryInitiator<com.blazebit.persistence.BetweenBuilder<T>> betweenSubquery()
        Specified by:
        betweenSubquery in interface com.blazebit.persistence.RestrictionBuilder<T>
      • betweenSubquery

        public com.blazebit.persistence.SubqueryInitiator<com.blazebit.persistence.BetweenBuilder<T>> betweenSubquery​(String subqueryAlias,
                                                                                                                      String expression)
        Specified by:
        betweenSubquery in interface com.blazebit.persistence.RestrictionBuilder<T>
      • betweenSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<com.blazebit.persistence.BetweenBuilder<T>> betweenSubqueries​(String expression)
        Specified by:
        betweenSubqueries in interface com.blazebit.persistence.RestrictionBuilder<T>
      • betweenSubquery

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

        public com.blazebit.persistence.SubqueryBuilder<com.blazebit.persistence.BetweenBuilder<T>> betweenSubquery​(String subqueryAlias,
                                                                                                                    String expression,
                                                                                                                    com.blazebit.persistence.FullQueryBuilder<?,​?> criteriaBuilder)
        Specified by:
        betweenSubquery in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notBetween

        public com.blazebit.persistence.BetweenBuilder<T> notBetween​(Object start)
        Specified by:
        notBetween in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notBetweenLiteral

        public com.blazebit.persistence.BetweenBuilder<T> notBetweenLiteral​(Object start)
        Specified by:
        notBetweenLiteral in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notBetweenExpression

        public com.blazebit.persistence.BetweenBuilder<T> notBetweenExpression​(String start)
        Specified by:
        notBetweenExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notBetweenSubquery

        public com.blazebit.persistence.SubqueryInitiator<com.blazebit.persistence.BetweenBuilder<T>> notBetweenSubquery()
        Specified by:
        notBetweenSubquery in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notBetweenSubquery

        public com.blazebit.persistence.SubqueryInitiator<com.blazebit.persistence.BetweenBuilder<T>> notBetweenSubquery​(String subqueryAlias,
                                                                                                                         String expression)
        Specified by:
        notBetweenSubquery in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notBetweenSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<com.blazebit.persistence.BetweenBuilder<T>> notBetweenSubqueries​(String expression)
        Specified by:
        notBetweenSubqueries in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notBetweenSubquery

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

        public com.blazebit.persistence.SubqueryBuilder<com.blazebit.persistence.BetweenBuilder<T>> notBetweenSubquery​(String subqueryAlias,
                                                                                                                       String expression,
                                                                                                                       com.blazebit.persistence.FullQueryBuilder<?,​?> criteriaBuilder)
        Specified by:
        notBetweenSubquery in interface com.blazebit.persistence.RestrictionBuilder<T>
      • eq

        public com.blazebit.persistence.QuantifiableBinaryPredicateBuilder<T> eq()
        Specified by:
        eq in interface com.blazebit.persistence.RestrictionBuilder<T>
      • eq

        public T eq​(Object value)
        Specified by:
        eq in interface com.blazebit.persistence.RestrictionBuilder<T>
      • eqLiteral

        public T eqLiteral​(Object value)
        Specified by:
        eqLiteral in interface com.blazebit.persistence.RestrictionBuilder<T>
      • eqExpression

        public T eqExpression​(String expression)
        Specified by:
        eqExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • eq

        public com.blazebit.persistence.SubqueryInitiator<T> eq​(String subqueryAlias,
                                                                String expression)
        Specified by:
        eq in interface com.blazebit.persistence.RestrictionBuilder<T>
      • eqSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<T> eqSubqueries​(String expression)
        Specified by:
        eqSubqueries in interface com.blazebit.persistence.RestrictionBuilder<T>
      • eq

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

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

        public com.blazebit.persistence.QuantifiableBinaryPredicateBuilder<T> notEq()
        Specified by:
        notEq in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notEq

        public T notEq​(Object value)
        Specified by:
        notEq in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notEqLiteral

        public T notEqLiteral​(Object value)
        Specified by:
        notEqLiteral in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notEqExpression

        public T notEqExpression​(String expression)
        Specified by:
        notEqExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notEq

        public com.blazebit.persistence.SubqueryInitiator<T> notEq​(String subqueryAlias,
                                                                   String expression)
        Specified by:
        notEq in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notEqSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<T> notEqSubqueries​(String expression)
        Specified by:
        notEqSubqueries in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notEq

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

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

        public com.blazebit.persistence.QuantifiableBinaryPredicateBuilder<T> gt()
        Specified by:
        gt in interface com.blazebit.persistence.RestrictionBuilder<T>
      • gt

        public T gt​(Object value)
        Specified by:
        gt in interface com.blazebit.persistence.RestrictionBuilder<T>
      • gtLiteral

        public T gtLiteral​(Object value)
        Specified by:
        gtLiteral in interface com.blazebit.persistence.RestrictionBuilder<T>
      • gtExpression

        public T gtExpression​(String expression)
        Specified by:
        gtExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • gt

        public com.blazebit.persistence.SubqueryInitiator<T> gt​(String subqueryAlias,
                                                                String expression)
        Specified by:
        gt in interface com.blazebit.persistence.RestrictionBuilder<T>
      • gtSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<T> gtSubqueries​(String expression)
        Specified by:
        gtSubqueries in interface com.blazebit.persistence.RestrictionBuilder<T>
      • gt

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

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

        public com.blazebit.persistence.QuantifiableBinaryPredicateBuilder<T> ge()
        Specified by:
        ge in interface com.blazebit.persistence.RestrictionBuilder<T>
      • ge

        public T ge​(Object value)
        Specified by:
        ge in interface com.blazebit.persistence.RestrictionBuilder<T>
      • geLiteral

        public T geLiteral​(Object value)
        Specified by:
        geLiteral in interface com.blazebit.persistence.RestrictionBuilder<T>
      • geExpression

        public T geExpression​(String expression)
        Specified by:
        geExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • ge

        public com.blazebit.persistence.SubqueryInitiator<T> ge​(String subqueryAlias,
                                                                String expression)
        Specified by:
        ge in interface com.blazebit.persistence.RestrictionBuilder<T>
      • geSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<T> geSubqueries​(String expression)
        Specified by:
        geSubqueries in interface com.blazebit.persistence.RestrictionBuilder<T>
      • ge

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

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

        public com.blazebit.persistence.QuantifiableBinaryPredicateBuilder<T> lt()
        Specified by:
        lt in interface com.blazebit.persistence.RestrictionBuilder<T>
      • lt

        public T lt​(Object value)
        Specified by:
        lt in interface com.blazebit.persistence.RestrictionBuilder<T>
      • ltLiteral

        public T ltLiteral​(Object value)
        Specified by:
        ltLiteral in interface com.blazebit.persistence.RestrictionBuilder<T>
      • ltExpression

        public T ltExpression​(String expression)
        Specified by:
        ltExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • lt

        public com.blazebit.persistence.SubqueryInitiator<T> lt​(String subqueryAlias,
                                                                String expression)
        Specified by:
        lt in interface com.blazebit.persistence.RestrictionBuilder<T>
      • ltSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<T> ltSubqueries​(String expression)
        Specified by:
        ltSubqueries in interface com.blazebit.persistence.RestrictionBuilder<T>
      • lt

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

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

        public com.blazebit.persistence.QuantifiableBinaryPredicateBuilder<T> le()
        Specified by:
        le in interface com.blazebit.persistence.RestrictionBuilder<T>
      • le

        public T le​(Object value)
        Specified by:
        le in interface com.blazebit.persistence.RestrictionBuilder<T>
      • leLiteral

        public T leLiteral​(Object value)
        Specified by:
        leLiteral in interface com.blazebit.persistence.RestrictionBuilder<T>
      • leExpression

        public T leExpression​(String expression)
        Specified by:
        leExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • le

        public com.blazebit.persistence.SubqueryInitiator<T> le​(String subqueryAlias,
                                                                String expression)
        Specified by:
        le in interface com.blazebit.persistence.RestrictionBuilder<T>
      • leSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<T> leSubqueries​(String expression)
        Specified by:
        leSubqueries in interface com.blazebit.persistence.RestrictionBuilder<T>
      • le

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

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

        public T inExpressions​(String... parameterOrLiteralExpressions)
        Specified by:
        inExpressions in interface com.blazebit.persistence.RestrictionBuilder<T>
      • inCollectionExpression

        public T inCollectionExpression​(String collectionParameterExpression)
        Specified by:
        inCollectionExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • in

        public T in​(Collection<?> values)
        Specified by:
        in in interface com.blazebit.persistence.RestrictionBuilder<T>
      • in

        public T in​(Object... values)
        Specified by:
        in in interface com.blazebit.persistence.RestrictionBuilder<T>
      • inLiterals

        public T inLiterals​(Collection<?> values)
        Specified by:
        inLiterals in interface com.blazebit.persistence.RestrictionBuilder<T>
      • inLiterals

        public T inLiterals​(Object... values)
        Specified by:
        inLiterals in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notInExpressions

        public T notInExpressions​(String... parameterOrLiteralExpressions)
        Specified by:
        notInExpressions in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notInCollectionExpression

        public T notInCollectionExpression​(String collectionParameterExpression)
        Specified by:
        notInCollectionExpression in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notIn

        public T notIn​(Collection<?> values)
        Specified by:
        notIn in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notIn

        public T notIn​(Object... values)
        Specified by:
        notIn in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notInLiterals

        public T notInLiterals​(Collection<?> values)
        Specified by:
        notInLiterals in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notInLiterals

        public T notInLiterals​(Object... values)
        Specified by:
        notInLiterals in interface com.blazebit.persistence.RestrictionBuilder<T>
      • isNull

        public T isNull()
        Specified by:
        isNull in interface com.blazebit.persistence.RestrictionBuilder<T>
      • isNotNull

        public T isNotNull()
        Specified by:
        isNotNull in interface com.blazebit.persistence.RestrictionBuilder<T>
      • isEmpty

        public T isEmpty()
        Specified by:
        isEmpty in interface com.blazebit.persistence.RestrictionBuilder<T>
      • isNotEmpty

        public T isNotEmpty()
        Specified by:
        isNotEmpty in interface com.blazebit.persistence.RestrictionBuilder<T>
      • isMemberOf

        public T isMemberOf​(String expression)
        Specified by:
        isMemberOf in interface com.blazebit.persistence.RestrictionBuilder<T>
      • isNotMemberOf

        public T isNotMemberOf​(String expression)
        Specified by:
        isNotMemberOf in interface com.blazebit.persistence.RestrictionBuilder<T>
      • like

        public com.blazebit.persistence.LikeBuilder<T> like​(boolean caseSensitive)
        Specified by:
        like in interface com.blazebit.persistence.RestrictionBuilder<T>
      • like

        public com.blazebit.persistence.LikeBuilder<T> like()
        Specified by:
        like in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notLike

        public com.blazebit.persistence.LikeBuilder<T> notLike​(boolean caseSensitive)
        Specified by:
        notLike in interface com.blazebit.persistence.RestrictionBuilder<T>
      • notLike

        public com.blazebit.persistence.LikeBuilder<T> notLike()
        Specified by:
        notLike in interface com.blazebit.persistence.RestrictionBuilder<T>
      • in

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

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

        public com.blazebit.persistence.SubqueryInitiator<T> in​(String subqueryAlias,
                                                                String expression)
        Specified by:
        in in interface com.blazebit.persistence.internal.RestrictionBuilderExperimental<T>
      • notIn

        public com.blazebit.persistence.SubqueryInitiator<T> notIn​(String subqueryAlias,
                                                                   String expression)
        Specified by:
        notIn in interface com.blazebit.persistence.internal.RestrictionBuilderExperimental<T>
      • in

        public com.blazebit.persistence.SubqueryBuilder<T> in​(String subqueryAlias,
                                                              String expression,
                                                              com.blazebit.persistence.FullQueryBuilder<?,​?> criteriaBuilder)
        Specified by:
        in in interface com.blazebit.persistence.internal.RestrictionBuilderExperimental<T>
      • notIn

        public com.blazebit.persistence.SubqueryBuilder<T> notIn​(String subqueryAlias,
                                                                 String expression,
                                                                 com.blazebit.persistence.FullQueryBuilder<?,​?> criteriaBuilder)
        Specified by:
        notIn in interface com.blazebit.persistence.internal.RestrictionBuilderExperimental<T>
      • in

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

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

        public com.blazebit.persistence.MultipleSubqueryInitiator<T> inSubqueries​(String expression)
        Specified by:
        inSubqueries in interface com.blazebit.persistence.internal.RestrictionBuilderExperimental<T>
      • notInSubqueries

        public com.blazebit.persistence.MultipleSubqueryInitiator<T> notInSubqueries​(String expression)
        Specified by:
        notInSubqueries in interface com.blazebit.persistence.internal.RestrictionBuilderExperimental<T>
      • nonPortable

        public com.blazebit.persistence.internal.RestrictionBuilderExperimental<T> nonPortable()
        Specified by:
        nonPortable in interface com.blazebit.persistence.RestrictionBuilder<T>
      • startSubqueryBuilder

        protected <X> com.blazebit.persistence.SubqueryBuilder<X> startSubqueryBuilder​(AbstractQuantifiablePredicateBuilder<X> builder,
                                                                                       com.blazebit.persistence.FullQueryBuilder<?,​?> criteriaBuilder)