Enum Class StandardPaginationRenderingSupport
java.lang.Object
java.lang.Enum<StandardPaginationRenderingSupport>
org.hibernate.dialect.sql.ast.spi.StandardPaginationRenderingSupport
- All Implemented Interfaces:
Serializable, Comparable<StandardPaginationRenderingSupport>, Constable, PaginationRenderingSupport
public enum StandardPaginationRenderingSupport
extends Enum<StandardPaginationRenderingSupport>
implements PaginationRenderingSupport
Standard immutable fixed-plan pagination profiles.
Conditional dialect families may implement PaginationRenderingSupport
directly and reuse the immutable plans exposed by these profiles.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiondeterminePlan(PaginationRenderingRequest request) Select the rendering plan for the supplied semantic context.Returns the enum constant of this class with the specified name.static StandardPaginationRenderingSupport[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFFSET_FETCH
-
OFFSET_FETCH_WITHOUT_ROWS_KEYWORD
-
LIMIT_OFFSET
-
COMBINED_LIMIT
-
TOP
-
TOP_WITH_OFFSET
-
TOP_WITH_OFFSET_WITHOUT_PARENTHESES
-
TOP_START_AT
-
FIRST_SKIP
-
SKIP_FIRST
-
FIRST
-
ROWS_TO
-
FETCH_PLUS_OFFSET
-
WINDOW
-
NONE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
determinePlan
Description copied from interface:PaginationRenderingSupportSelect the rendering plan for the supplied semantic context.- Specified by:
determinePlanin interfacePaginationRenderingSupport- Returns:
- a non-null plan which the translator can render
-