Package | Description |
---|---|
org.jooq |
The
org.jooq package contains jOOQ's public API. |
org.jooq.impl |
The
org.jooq.impl package contains jOOQ's implementation classes. |
Modifier and Type | Method and Description |
---|---|
CaseConditionStep<T> |
CaseConditionStep.when(Condition condition,
Field<T> result)
Compare a condition to the already constructed case statement, return
result if the condition holds true
|
<T> CaseConditionStep<T> |
Case.when(Condition condition,
Field<T> result)
This construct can be used to create expressions of the type
CASE WHEN x < 1 THEN 'one'
WHEN x >= 2 THEN 'two'
ELSE 'three'
END
|
CaseConditionStep<T> |
CaseConditionStep.when(Condition condition,
Select<? extends Record1<T>> result)
Compare a condition to the already constructed case statement, return
result if the condition holds true
|
<T> CaseConditionStep<T> |
Case.when(Condition condition,
Select<? extends Record1<T>> result)
This construct can be used to create expressions of the type
CASE WHEN x < 1 THEN 'one'
WHEN x >= 2 THEN 'two'
ELSE 'three'
END
|
CaseConditionStep<T> |
CaseConditionStep.when(Condition condition,
T result)
Compare a condition to the already constructed case statement, return
result if the condition holds true
|
<T> CaseConditionStep<T> |
Case.when(Condition condition,
T result)
This construct can be used to create expressions of the type
CASE WHEN x < 1 THEN 'one'
WHEN x >= 2 THEN 'two'
ELSE 'three'
END
|
Modifier and Type | Method and Description |
---|---|
static <T> CaseConditionStep<T> |
DSL.when(Condition condition,
Field<T> result)
Initialise a
Case statement. |
static <T> CaseConditionStep<T> |
DSL.when(Condition condition,
Select<? extends Record1<T>> result)
Initialise a
Case statement. |
static <T> CaseConditionStep<T> |
DSL.when(Condition condition,
T result)
Initialise a
Case statement. |
Copyright © 2017. All Rights Reserved.