| Modifier and Type | Class and Description |
|---|---|
| public static enum | ForUpdate.
Type of FOR UPDATE clause. |
| Modifier and Type | Field and Description |
|---|---|
| public static final ForUpdate | DEFAULT
FOR UPDATE clause without additional parameters. |
| public static final ForUpdate | NOWAIT
FOR UPDATE NOWAIT clause. |
| public static final ForUpdate | SKIP_LOCKED
FOR UPDATE SKIP LOCKED clause. |
| private final int | |
| private final ForUpdate. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements org. Appends the SQL statement of this object to the specified builder. |
| public int | Returns: timeout in milliseconds forType#WAIT, 0 for
Type#NOWAIT, -2 for Type#SKIP_LOCKED,
-1 for default timeoutReturns timeout in milliseconds. |
| public ForUpdate. | |
| public static final ForUpdate | Returns: FOR UPDATE WAIT N clausetimeout in milliseconds timeoutMillis)Returns FOR UPDATE WAIT N clause. |
| DEFAULT | back to summary |
|---|---|
| public static final ForUpdate DEFAULT FOR UPDATE clause without additional parameters. | |
| NOWAIT | back to summary |
|---|---|
| public static final ForUpdate NOWAIT FOR UPDATE NOWAIT clause. | |
| SKIP_LOCKED | back to summary |
|---|---|
| public static final ForUpdate SKIP_LOCKED FOR UPDATE SKIP LOCKED clause. | |
| timeoutMillis | back to summary |
|---|---|
| private final int timeoutMillis | |
| type | back to summary |
|---|---|
| private final ForUpdate. | |
| ForUpdate | back to summary |
|---|---|
| private ForUpdate(ForUpdate. | |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getTimeoutMillis | back to summary |
|---|---|
| public int getTimeoutMillis() Returns timeout in milliseconds.
| |
| getType | back to summary |
|---|---|
| public ForUpdate. Returns type of FOR UPDATE clause. | |
| wait | back to summary |
|---|---|
| public static final ForUpdate wait(int timeoutMillis) Returns FOR UPDATE WAIT N clause.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final ForUpdate. | DEFAULT
Use default lock timeout. |
| public static final ForUpdate. | NOWAIT
Use zero timeout. |
| public static final ForUpdate. | SKIP_LOCKED
Skip locked rows. |
| public static final ForUpdate. | WAIT
Use specified lock timeout. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ForUpdate. | |
| public static ForUpdate. |
| DEFAULT | back to summary |
|---|---|
| public static final ForUpdate. Use default lock timeout. | |
| NOWAIT | back to summary |
|---|---|
| public static final ForUpdate. Use zero timeout. | |
| SKIP_LOCKED | back to summary |
|---|---|
| public static final ForUpdate. Skip locked rows. | |
| WAIT | back to summary |
|---|---|
| public static final ForUpdate. Use specified lock timeout. | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static ForUpdate. | |
| values | back to summary |
|---|---|
| public static ForUpdate. | |