Interface JPQLNextQueryFactory

All Superinterfaces:
com.querydsl.jpa.JPQLQueryFactory, com.querydsl.core.QueryFactory<com.querydsl.jpa.JPQLQuery<?>>
All Known Implementing Classes:
BlazeJPAQueryFactory

public interface JPQLNextQueryFactory extends com.querydsl.jpa.JPQLQueryFactory
Query factory to simplify BlazeJPAQuery instantiation.
Since:
1.6.2
Author:
Jan-Willem Gmelig Meyling
  • Method Summary

    Modifier and Type
    Method
    Description
    <RT> SetExpression<RT>
    except(com.querydsl.core.types.SubQueryExpression<RT>... sq)
    Creates an except expression for the given subqueries.
    <RT> SetExpression<RT>
    except(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
    Creates an except expression for the given subqueries
    <RT> SetExpression<RT>
    exceptAll(com.querydsl.core.types.SubQueryExpression<RT>... sq)
    Creates an except expression for the given subqueries.
    <RT> SetExpression<RT>
    exceptAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
    Creates an except expression for the given subqueries
    from(com.querydsl.core.types.EntityPath<?> from)
     
    from(com.querydsl.core.types.EntityPath<?>... from)
     
    from(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias)
    Create a new Query with the given source
    fromIdentifiableValues(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements)
    Select from a set of values using the VALUES clause.
    fromIdentifiableValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements)
    Select from a set of values using the VALUES clause.
    fromValues(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements)
    Select from a set of values using the VALUES clause.
    fromValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements)
    Select from a set of values using the VALUES clause.
    <RT> SetExpression<RT>
    intersect(com.querydsl.core.types.SubQueryExpression<RT>... sq)
    Creates an intersect expression for the given subqueries.
    <RT> SetExpression<RT>
    intersect(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
    Creates an intersect expression for the given subqueries.
    <RT> SetExpression<RT>
    intersectAll(com.querydsl.core.types.SubQueryExpression<RT>... sq)
    Creates an intersect expression for the given subqueries.
    <RT> SetExpression<RT>
    intersectAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
    Creates an intersect expression for the given subqueries
     
    JPQLNextQuery<com.querydsl.core.Tuple>
    select(com.querydsl.core.types.Expression<?>... exprs)
     
    select(com.querydsl.core.types.Expression<T> expr)
     
    JPQLNextQuery<com.querydsl.core.Tuple>
    selectDistinct(com.querydsl.core.types.Expression<?>... exprs)
     
    selectDistinct(com.querydsl.core.types.Expression<T> expr)
     
    selectFrom(com.querydsl.core.types.EntityPath<T> from)
     
    selectFrom(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias)
    Create a new Query with the given source
     
     
    <RT> SetExpression<RT>
    union(com.querydsl.core.types.SubQueryExpression<RT>... sq)
    Creates an union expression for the given subqueries.
    <RT> SetExpression<RT>
    union(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
    Creates an union expression for the given subqueries.
    <RT> SetExpression<RT>
    unionAll(com.querydsl.core.types.SubQueryExpression<RT>... sq)
    Creates an union expression for the given subqueries.
    <RT> SetExpression<RT>
    unionAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
    Creates an union expression for the given subqueries.
    with(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns)
    Register a common table expression (CTE).
    with(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o)
    Register a common table expression (CTE).
    withRecursive(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns)
    Register a recursive common table expression (CTE).
    withRecursive(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o)
    Register a recursive common table expression (CTE).

    Methods inherited from interface com.querydsl.jpa.JPQLQueryFactory

    delete, insert, update
  • Method Details

    • select

      <T> JPQLNextQuery<T> select(com.querydsl.core.types.Expression<T> expr)
      Specified by:
      select in interface com.querydsl.jpa.JPQLQueryFactory
    • select

      JPQLNextQuery<com.querydsl.core.Tuple> select(com.querydsl.core.types.Expression<?>... exprs)
      Specified by:
      select in interface com.querydsl.jpa.JPQLQueryFactory
    • selectDistinct

      <T> JPQLNextQuery<T> selectDistinct(com.querydsl.core.types.Expression<T> expr)
      Specified by:
      selectDistinct in interface com.querydsl.jpa.JPQLQueryFactory
    • selectDistinct

      JPQLNextQuery<com.querydsl.core.Tuple> selectDistinct(com.querydsl.core.types.Expression<?>... exprs)
      Specified by:
      selectDistinct in interface com.querydsl.jpa.JPQLQueryFactory
    • selectOne

      JPQLNextQuery<Integer> selectOne()
      Specified by:
      selectOne in interface com.querydsl.jpa.JPQLQueryFactory
    • selectZero

      JPQLNextQuery<Integer> selectZero()
      Specified by:
      selectZero in interface com.querydsl.jpa.JPQLQueryFactory
    • selectFrom

      <T> JPQLNextQuery<T> selectFrom(com.querydsl.core.types.EntityPath<T> from)
      Specified by:
      selectFrom in interface com.querydsl.jpa.JPQLQueryFactory
    • from

      JPQLNextQuery<?> from(com.querydsl.core.types.EntityPath<?> from)
      Specified by:
      from in interface com.querydsl.jpa.JPQLQueryFactory
    • from

      JPQLNextQuery<?> from(com.querydsl.core.types.EntityPath<?>... from)
      Specified by:
      from in interface com.querydsl.jpa.JPQLQueryFactory
    • from

      <X> JPQLNextQuery<?> from(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias)
      Create a new Query with the given source
      Parameters:
      subQueryExpression - The subquery expression
      alias - Alias for the subquery in the outer query
      Returns:
      from(from)
    • selectFrom

      <X> JPQLNextQuery<X> selectFrom(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias)
      Create a new Query with the given source
      Parameters:
      subQueryExpression - The subquery expression
      alias - Alias for the subquery in the outer query
      Returns:
      from(from)
    • fromValues

      <X> JPQLNextQuery<?> fromValues(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements)
      Select from a set of values using the VALUES clause.
      Type Parameters:
      X - The element type
      Parameters:
      path - Type of values
      elements - The elements
      Returns:
      this query
    • fromIdentifiableValues

      <X> JPQLNextQuery<?> fromIdentifiableValues(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements)
      Select from a set of values using the VALUES clause.
      Type Parameters:
      X - The element type
      Parameters:
      path - Type of values
      elements - The elements
      Returns:
      this query
    • fromValues

      <X> JPQLNextQuery<?> fromValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements)
      Select from a set of values using the VALUES clause.
      Type Parameters:
      X - The element type
      Parameters:
      path - Type of values
      alias - The alias from which the values can be referenced
      elements - The elements
      Returns:
      this query
    • fromIdentifiableValues

      <X> JPQLNextQuery<?> fromIdentifiableValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements)
      Select from a set of values using the VALUES clause.
      Type Parameters:
      X - The element type
      Parameters:
      path - Type of values
      alias - The alias from which the values can be referenced
      elements - The elements
      Returns:
      this query
    • with

      <X> JPQLNextQuery<?> with(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o)
      Register a common table expression (CTE).
      Type Parameters:
      X - CTE type
      Parameters:
      alias - The alias for the CTE
      o - The subquery expression
      Returns:
      this query
    • withRecursive

      <X> JPQLNextQuery<?> withRecursive(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o)
      Register a recursive common table expression (CTE).
      Type Parameters:
      X - CTE type
      Parameters:
      alias - The alias for the CTE
      o - The subquery expression
      Returns:
      this query
    • with

      WithBuilder<? extends JPQLNextQuery<?>> with(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns)
      Register a common table expression (CTE). Returns a builder through which the CTE can be provided as SubQueryExpression.
      Parameters:
      alias - The alias for the CTE
      columns - The columns for the CTE
      Returns:
      this query
      API Note:
      This version does not allow for set operands to use different column bindings. For that purpose, use with(Path, SubQueryExpression) instead, and wrap each select expression inside a JPQLNextOps.BIND operation.
    • withRecursive

      WithBuilder<? extends JPQLNextQuery<?>> withRecursive(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns)
      Register a recursive common table expression (CTE). Returns a builder through which the CTE can be provided as SubQueryExpression.
      Parameters:
      alias - The alias for the CTE
      columns - The columns for the CTE
      Returns:
      this query
      API Note:
      This version does not allow for set operands to use different column bindings. For that purpose, use with(Path, SubQueryExpression) instead, and wrap each select expression inside a JPQLNextOps.BIND operation.
    • query

      JPQLNextQuery<?> query()
      Specified by:
      query in interface com.querydsl.core.QueryFactory<com.querydsl.jpa.JPQLQuery<?>>
    • union

      <RT> SetExpression<RT> union(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
      Creates an union expression for the given subqueries.
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
    • unionAll

      <RT> SetExpression<RT> unionAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
      Creates an union expression for the given subqueries.
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
    • intersect

      <RT> SetExpression<RT> intersect(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
      Creates an intersect expression for the given subqueries.
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
      See Also:
    • intersectAll

      <RT> SetExpression<RT> intersectAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
      Creates an intersect expression for the given subqueries
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
      See Also:
    • except

      <RT> SetExpression<RT> except(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
      Creates an except expression for the given subqueries
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
      See Also:
    • exceptAll

      <RT> SetExpression<RT> exceptAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)
      Creates an except expression for the given subqueries
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
      See Also:
    • union

      <RT> SetExpression<RT> union(com.querydsl.core.types.SubQueryExpression<RT>... sq)
      Creates an union expression for the given subqueries.
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
    • unionAll

      <RT> SetExpression<RT> unionAll(com.querydsl.core.types.SubQueryExpression<RT>... sq)
      Creates an union expression for the given subqueries.
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
    • intersect

      <RT> SetExpression<RT> intersect(com.querydsl.core.types.SubQueryExpression<RT>... sq)
      Creates an intersect expression for the given subqueries.
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
    • intersectAll

      <RT> SetExpression<RT> intersectAll(com.querydsl.core.types.SubQueryExpression<RT>... sq)
      Creates an intersect expression for the given subqueries.
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
    • except

      <RT> SetExpression<RT> except(com.querydsl.core.types.SubQueryExpression<RT>... sq)
      Creates an except expression for the given subqueries.
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result
    • exceptAll

      <RT> SetExpression<RT> exceptAll(com.querydsl.core.types.SubQueryExpression<RT>... sq)
      Creates an except expression for the given subqueries.
      Type Parameters:
      RT - set operation type
      Parameters:
      sq - subqueries
      Returns:
      the set operation result