Class ScrollDelegate<T>

java.lang.Object
org.springframework.data.jpa.repository.query.ScrollDelegate<T>

public class ScrollDelegate<T> extends Object
Delegate to run scroll queries and create result Window.
Since:
3.1
Author:
Mark Paluch, Yanming Zhou
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Window<T>
    scroll(jakarta.persistence.Query query, org.springframework.data.domain.Sort sort, org.springframework.data.domain.ScrollPosition scrollPosition)
    Run the Query and return a scroll Window.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • scroll

      public org.springframework.data.domain.Window<T> scroll(jakarta.persistence.Query query, org.springframework.data.domain.Sort sort, org.springframework.data.domain.ScrollPosition scrollPosition)
      Run the Query and return a scroll Window.
      Parameters:
      query - must not be null.
      sort - must not be null.
      scrollPosition - must not be null.
      Returns:
      the scroll Window.