Uses of Interface
st.orm.Slice

Packages that use Slice
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.
  • Uses of Slice in st.orm

    Classes in st.orm that implement Slice
    Modifier and Type
    Class
    Description
    final record 
    Page<R>
    Represents a page of query results for offset-based pagination.
    final record 
    Represents a window of query results from a scrolling operation with Scrollable navigation tokens.
    Methods in st.orm that return Slice
    Modifier and Type
    Method
    Description
    static <R> Slice<R>
    Slice.of(List<R> content, boolean hasNext, boolean hasPrevious)
    Creates a plain slice with the given content and flags.
  • Uses of Slice in st.orm.repository

    Methods in st.orm.repository that return Slice
    Modifier and Type
    Method
    Description
    EntityRepository.slice(int pageNumber, int pageSize)
    Returns a slice of entities using offset-based pagination without a count.
    EntityRepository.slice(Pageable pageable)
    Returns a slice of entities using offset-based pagination without a count.
    ProjectionRepository.slice(int pageNumber, int pageSize)
    Returns a slice of projections using offset-based pagination without a count.
    ProjectionRepository.slice(Pageable pageable)
    Returns a slice of projections using offset-based pagination without a count.
    EntityRepository.sliceRef(int pageNumber, int pageSize)
    Returns a slice of entity refs using offset-based pagination without a count.
    EntityRepository.sliceRef(Pageable pageable)
    Returns a slice of entity refs using offset-based pagination without a count.
    ProjectionRepository.sliceRef(int pageNumber, int pageSize)
    Returns a slice of projection refs using offset-based pagination without a count.
    ProjectionRepository.sliceRef(Pageable pageable)
    Returns a slice of projection refs using offset-based pagination without a count.
  • Uses of Slice in st.orm.template

    Methods in st.orm.template that return Slice
    Modifier and Type
    Method
    Description
    final Slice<R>
    QueryBuilder.slice(int pageNumber, int pageSize)
    Executes the query and returns a Slice of results using offset-based pagination without a count.
    final Slice<R>
    QueryBuilder.slice(Pageable pageable)
    Executes the query and returns a Slice of results using offset-based pagination without a count.