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
    limit(long limit)
    Set the limit / max results for the query results
    offset(long offset)
    Set the offset for the query results
    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, stream

    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