|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
V - The type of values being compared in this case statementpublic interface CaseValueStep<V>
An intermediary step in creating a case statement of the type
CASE x WHEN 1 THEN 'one'
WHEN 2 THEN 'two'
ELSE 'three'
END
Case| Method Summary | ||
|---|---|---|
|
when(Field<V> compareValue,
Field<T> result)
Compare a value to the already constructed case statement, return result if values are equal. |
|
|
when(Field<V> compareValue,
T result)
Compare a value to the already constructed case statement, return result if values are equal. |
|
|
when(V compareValue,
Field<T> result)
Compare a value to the already constructed case statement, return result if values are equal. |
|
|
when(V compareValue,
T result)
Compare a value to the already constructed case statement, return result if values are equal. |
|
| Method Detail |
|---|
<T> CaseWhenStep<V,T> when(V compareValue,
T result)
T - The generic result field type parametercompareValue - The value to compare with the already constructed
case statementresult - The result value if values are equal
<T> CaseWhenStep<V,T> when(V compareValue,
Field<T> result)
T - The generic result field type parametercompareValue - The value to compare with the already constructed
case statementresult - The result value if values are equal
<T> CaseWhenStep<V,T> when(Field<V> compareValue,
T result)
T - The generic result field type parametercompareValue - The value to compare with the already constructed
case statementresult - The result value if values are equal
<T> CaseWhenStep<V,T> when(Field<V> compareValue,
Field<T> result)
T - The generic result field type parametercompareValue - The value to compare with the already constructed
case statementresult - The result value if values are equal
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||