Interface SetExpression<RT>

Type Parameters:
RT - return type of the projection
All Superinterfaces:
com.querydsl.core.types.Expression<RT>, ExtendedFetchable<RT>, com.querydsl.core.Fetchable<RT>, Serializable, com.querydsl.core.types.SubQueryExpression<RT>
All Known Implementing Classes:
SetExpressionImpl

public interface SetExpression<RT>
extends com.querydsl.core.types.SubQueryExpression<RT>, com.querydsl.core.Fetchable<RT>, ExtendedFetchable<RT>
Set expresion defines an interface for set operation queries. Analog to Union, but also used for INTERSECT and EXCEPT operations.
Since:
1.5.0
Author:
Jan-Willem Gmelig Meyling
  • Method Summary

    Modifier and Type Method Description
    SetExpression<RT> limit​(long limit)
    Set the limit / max results for the query results
    SetExpression<RT> offset​(long offset)
    Set the offset for the query results
    SetExpression<RT> orderBy​(com.querydsl.core.types.OrderSpecifier<?>... o)
    Define the ordering of the query results

    Methods inherited from interface com.querydsl.core.types.Expression

    accept, getType

    Methods inherited from interface com.blazebit.persistence.querydsl.ExtendedFetchable

    fetchPage, fetchPage, getQueryString

    Methods inherited from interface com.querydsl.core.Fetchable

    fetch, fetchCount, fetchFirst, fetchOne, fetchResults, iterate

    Methods inherited from interface com.querydsl.core.types.SubQueryExpression

    getMetadata
  • Method Details

    • limit

      SetExpression<RT> limit​(@Nonnegative long limit)
      Set the limit / max results for the query results
      Parameters:
      limit - max rows
      Returns:
      the current object
    • offset

      SetExpression<RT> offset​(@Nonnegative long offset)
      Set the offset for the query results
      Parameters:
      offset - row offset
      Returns:
      the current object
    • orderBy

      SetExpression<RT> orderBy​(com.querydsl.core.types.OrderSpecifier<?>... o)
      Define the ordering of the query results
      Parameters:
      o - order
      Returns:
      the current object