- All Implemented Interfaces:
 Serializable,Comparable<GeneratorStatementType>,Constable
The statement type of a 
GeneratorContext.
 
 Generator implementations may choose to execute different logic based
 on the statement type. One example are AuditProvider fields, which
 can distinguish between audit information on inserted or updated records.
 
This API is part of a commercial only feature. To use this feature, please use the jOOQ Professional Edition or the jOOQ Enterprise Edition.
- Author:
 - Lukas Eder
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> - 
Enum Constant Summary
Enum ConstantsEnum ConstantDescription - 
Method Summary
Modifier and TypeMethodDescriptionstatic GeneratorStatementTypeReturns the enum constant of this class with the specified name.static GeneratorStatementType[]values()Returns an array containing the constants of this enum class, in the order they are declared. 
- 
Enum Constant Details
- 
INSERT
TheGeneratoris being invoked in anInsertcontext, or in aMerge'sINSERTclause context.This applies to
QOM.GenerationOption.STOREDonly. - 
UPDATE
TheGeneratoris being invoked in anUpdatecontext, or in anInsert'sON DUPLICATE KEY UPDATEclause,ON CONFLICT DO UPDATEclause context, or in aMerge'sUPDATEclause context.This applies to
QOM.GenerationOption.STOREDonly. - 
SELECT
 
 - 
 - 
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
 
 -