- java.lang.Object
- 
- java.lang.Enum<ExecuteType>
- 
- org.jooq.ExecuteType
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<ExecuteType>
 
 public enum ExecuteType extends Enum<ExecuteType> The type of database interaction that is being executed with this context.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BATCHA batch statement is being executed.DDLA DDL statement is being executed.OTHERAn other (unknown) type of database interaction is being executed.READASELECTquery is being executed.ROUTINEA routine (stored procedure or function) is being executed.WRITEAnINSERT,UPDATE,DELETE,MERGEquery is being executed.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecuteTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ExecuteType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
READpublic static final ExecuteType READ ASELECTquery is being executed.This may also apply to plain SQL WITH .. SELECTqueries (selections with common table expressions),FETCHqueries and other types of vendor-specific queries.
 - 
WRITEpublic static final ExecuteType WRITE AnINSERT,UPDATE,DELETE,MERGEquery is being executed.This may also apply to plain SQL REPLACE,UPSERTand other vendor-specific queries.
 - 
DDLpublic static final ExecuteType DDL A DDL statement is being executed.
 - 
BATCHpublic static final ExecuteType BATCH A batch statement is being executed.
 - 
ROUTINEpublic static final ExecuteType ROUTINE A routine (stored procedure or function) is being executed.
 - 
OTHERpublic static final ExecuteType OTHER An other (unknown) type of database interaction is being executed.
 
- 
 - 
Method Detail- 
valuespublic static ExecuteType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExecuteType c : ExecuteType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ExecuteType valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-