- java.lang.Object
-
- java.lang.Enum<TableOptions.OnCommit>
-
- org.jooq.TableOptions.OnCommit
-
- All Implemented Interfaces:
Serializable,Comparable<TableOptions.OnCommit>
- Enclosing class:
- TableOptions
public static enum TableOptions.OnCommit extends Enum<TableOptions.OnCommit>
TheON COMMITflag forTableOptions.TableType.TEMPORARYtables.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE_ROWSDROPPRESERVE_ROWS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableOptions.OnCommitvalueOf(String name)Returns the enum constant of this type with the specified name.static TableOptions.OnCommit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETE_ROWS
@NotNull @Support({AURORA_POSTGRES,ORACLE,POSTGRES}) public static final TableOptions.OnCommit DELETE_ROWS
-
PRESERVE_ROWS
@NotNull @Support({AURORA_POSTGRES,ORACLE,POSTGRES}) public static final TableOptions.OnCommit PRESERVE_ROWS
-
DROP
@NotNull @Support({AURORA_POSTGRES,POSTGRES}) public static final TableOptions.OnCommit DROP
-
-
Method Detail
-
values
public static TableOptions.OnCommit[] 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 (TableOptions.OnCommit c : TableOptions.OnCommit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableOptions.OnCommit 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 nameNullPointerException- if the argument is null
-
-