Record Class PaginationRenderingPlan.FetchPlusOffset
java.lang.Object
java.lang.Record
org.hibernate.dialect.sql.ast.spi.PaginationRenderingPlan.FetchPlusOffset
- All Implemented Interfaces:
PaginationRenderingPlan
- Enclosing interface:
PaginationRenderingPlan
public static record PaginationRenderingPlan.FetchPlusOffset()
extends Record
implements PaginationRenderingPlan
A trailing fetch clause whose count is increased by the offset.
For offset 5 and fetch 10, Hibernate renders
select ... fetch first 15 rows only and skips the first five JDBC result
rows. This plan is useful when fetch is supported but offset is not.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface PaginationRenderingPlan
PaginationRenderingPlan.CombinedLimit, PaginationRenderingPlan.FetchPlusOffset, PaginationRenderingPlan.First, PaginationRenderingPlan.FirstSkip, PaginationRenderingPlan.LimitOffset, PaginationRenderingPlan.None, PaginationRenderingPlan.OffsetFetch, PaginationRenderingPlan.RowsTo, PaginationRenderingPlan.SkipFirst, PaginationRenderingPlan.Top, PaginationRenderingPlan.TopStartAt, PaginationRenderingPlan.Window -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FetchPlusOffset
public FetchPlusOffset()Creates an instance of aFetchPlusOffsetrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-