Enum Class DB2QueryMutationRenderingSupport
java.lang.Object
java.lang.Enum<DB2QueryMutationRenderingSupport>
org.hibernate.dialect.sql.ast.spi.DB2QueryMutationRenderingSupport
- All Implemented Interfaces:
Serializable, Comparable<DB2QueryMutationRenderingSupport>, Constable, QueryMutationRenderingSupport
public enum DB2QueryMutationRenderingSupport
extends Enum<DB2QueryMutationRenderingSupport>
implements QueryMutationRenderingSupport
DB2-family query-mutation rendering policy.
A non-native update normally uses merge emulation, but tuple assignment is selected when returning columns require a change-table wrapper because DB2 does not permit merge in that wrapper.
- 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 TypeMethodDescriptionSelect a non-null native or emulation plan for a query delete.Select a non-null native or emulation plan for a query update.Returns the enum constant of this class with the specified name.static DB2QueryMutationRenderingSupport[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
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
-
determineUpdatePlan
Description copied from interface:QueryMutationRenderingSupportSelect a non-null native or emulation plan for a query update.- Specified by:
determineUpdatePlanin interfaceQueryMutationRenderingSupport
-
determineDeletePlan
Description copied from interface:QueryMutationRenderingSupportSelect a non-null native or emulation plan for a query delete.- Specified by:
determineDeletePlanin interfaceQueryMutationRenderingSupport
-