Uses of Record Class
st.orm.Scrollable
Packages that use Scrollable
Package
Description
Foundation of the data model: the mapping annotations and the record interfaces.
Java repository API.
Java client API: templates, query builders and transactions.
Java client API implementation.
-
Uses of Scrollable in st.orm
Methods in st.orm that return ScrollableModifier and TypeMethodDescriptionReturns this request continuing after the row with the given values.Returns this request continuing before the row with the given values.Scrollable.descending()Returns this request with the key ordered descending.Returns this request at the position a cursor string carries, as produced bytoCursor(),Window.nextCursor()orWindow.previousCursor().<T extends Data>
@Nullable Scrollable<T> Window.next()Returns a typed scrollable for fetching the next window, ornullif the window is empty.@Nullable Scrollable<?> Window.nextScrollable()Returns the value of thenextScrollablerecord component.static <T extends Data>
Scrollable<T> Scrollable.of(Metamodel.Key<T, ?> key, int size) Creates a request for the first window, ordered by the key ascending.<T extends Data>
@Nullable Scrollable<T> Window.previous()Returns a typed scrollable for fetching the previous window, ornullif the window is empty.@Nullable Scrollable<?> Window.previousScrollable()Returns the value of thepreviousScrollablerecord component.Scrollable.size(int size) Returns this request with a different window size.Returns this request with an ascending sort field appended before the key.Scrollable.sortByDescending(Metamodel<T, ?> field) Returns this request with a descending sort field appended before the key.Constructors in st.orm with parameters of type ScrollableModifierConstructorDescriptionWindow(List<R> content, boolean hasNext, boolean hasPrevious, @Nullable Scrollable<?> nextScrollable, @Nullable Scrollable<?> previousScrollable) Creates an instance of aWindowrecord class. -
Uses of Scrollable in st.orm.repository
Methods in st.orm.repository with parameters of type ScrollableModifier and TypeMethodDescriptionEntityRepository.scroll(Scrollable<E> scrollable) Executes a scroll request from aScrollabletoken, typically obtained fromWindow.next()orWindow.previous().ProjectionRepository.scroll(Scrollable<P> scrollable) Executes a scroll request from aScrollabletoken, typically obtained fromWindow.next()orWindow.previous().EntityRepository.scrollRef(Scrollable<E> scrollable) Scrolls through entities as refs using the given scroll request.ProjectionRepository.scrollRef(Scrollable<P> scrollable) Scrolls through projections as refs using the given scroll request.EntityRepository.windows(Scrollable<E> scrollable) Iterates the entities in windows described by the given scroll request, each window one closed statement.ProjectionRepository.windows(Scrollable<P> scrollable) Iterates the projections in windows described by the given scroll request, each window one closed statement. -
Uses of Scrollable in st.orm.template
Methods in st.orm.template with parameters of type ScrollableModifier and TypeMethodDescriptionQueryBuilder.scroll(Scrollable<T> scrollable) Executes a scroll request and returns aWindow: the results in the request's sort order, the flags that say whether rows exist after and before the window, and the tokens that continue from it.QueryBuilder.windows(Scrollable<T> scrollable) Executes the query in windows described by the given scroll request, each window one closed statement. -
Uses of Scrollable in st.orm.template.impl
Methods in st.orm.template.impl with parameters of type Scrollable