Top Description Methods
org.jooq

public Interface CaseConditionStep<T>

extends Field<T>
Known Direct Implementers
org.jooq.impl.CaseSearched
Type Parameters
<T>
The type returned by this case statement
Imports
org.jetbrains.annotations.NotNull

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

The final step in creating a case statement of the type

CASE WHEN x < 1  THEN 'one'
     WHEN x >= 2 THEN 'two'
     ELSE            'three'
END
Author
Lukas Eder
See Also
Case

Method Summary

Modifier and TypeMethod and Description
public @NotNull Field<T>

Returns:

The resulting field from case statement construction
else_
(T
The result value if no other value matches the case
result
)

Deprecated as a consequence of Field being deprecated.
Add an else clause to the already constructed case statement
public @NotNull Field<T>

Returns:

The resulting field from case statement construction
else_
(Field<T>
The result value if no other value matches the case
result
)

Deprecated as a consequence of Field being deprecated.
Add an else clause to the already constructed case statement
public @NotNull Field<T>

Returns:

The resulting field from case statement construction
else_
(Select<? extends Record1<T>>
The result value if no other value matches the case
result
)

Deprecated as a consequence of Field being deprecated.
Add an else clause to the already constructed case statement
public @NotNull Field<T>

Returns:

The resulting field from case statement construction
otherwise
(T
The result value if no other value matches the case
result
)

Deprecated as a consequence of Field being deprecated.
Add an else clause to the already constructed case statement
public @NotNull Field<T>

Returns:

The resulting field from case statement construction
otherwise
(Field<T>
The result value if no other value matches the case
result
)

Deprecated as a consequence of Field being deprecated.
Add an else clause to the already constructed case statement
public @NotNull Field<T>

Returns:

The resulting field from case statement construction
otherwise
(Select<? extends Record1<T>>
The result value if no other value matches the case
result
)

Deprecated as a consequence of Field being deprecated.
Add an else clause to the already constructed case statement
public @NotNull CaseConditionStep<T>

Returns:

An intermediary step for case statement construction
when
(Condition
The condition to add to the case statement
condition
,
T
The result value if the condition holds true
result
)

Deprecated as a consequence of Condition and CaseConditionStep being deprecated.
Compare a condition to the already constructed case statement, return result if the condition holds true
public @NotNull CaseConditionStep<T>

Returns:

An intermediary step for case statement construction
when
(Condition
The condition to add to the case statement
condition
,
Field<T>
The result value if the condition holds true
result
)

Deprecated as a consequence of Condition, Field and CaseConditionStep being deprecated.
Compare a condition to the already constructed case statement, return result if the condition holds true
public @NotNull CaseConditionStep<T>

Returns:

An intermediary step for case statement construction
when
(Condition
The condition to add to the case statement
condition
,
Select<? extends Record1<T>>
The result value if the condition holds true
result
)

Deprecated as a consequence of Condition and CaseConditionStep being deprecated.
Compare a condition to the already constructed case statement, return result if the condition holds true
public @NotNull CaseConditionStep<T>

Returns:

An intermediary step for case statement construction
when
(Field<Boolean>
The condition to add to the case statement
condition
,
T
The result value if the condition holds true
result
)

Deprecated as a consequence of Field and CaseConditionStep being deprecated.
Compare a condition to the already constructed case statement, return result if the condition holds true
public @NotNull CaseConditionStep<T>

Returns:

An intermediary step for case statement construction
when
(Field<Boolean>
The condition to add to the case statement
condition
,
Field<T>
The result value if the condition holds true
result
)

Deprecated as a consequence of Field and CaseConditionStep being deprecated.
Compare a condition to the already constructed case statement, return result if the condition holds true
public @NotNull CaseConditionStep<T>

Returns:

An intermediary step for case statement construction
when
(Field<Boolean>
The condition to add to the case statement
condition
,
Select<? extends Record1<T>>
The result value if the condition holds true
result
)

Deprecated as a consequence of Field and CaseConditionStep being deprecated.
Compare a condition to the already constructed case statement, return result if the condition holds true
Inherited from org.jooq.Field:
absacosaddaddasasasasascasciiasinatanatan2atan2avgavgOverbetweenbetweenbetweenbetweenbetweenSymmetricbetweenSymmetricbetweenSymmetricbetweenSymmetricbitAndbitAndbitLengthbitNandbitNandbitNorbitNorbitNotbitOrbitOrbitXNorbitXNorbitXorbitXorcastcastcastceilchangedcharLengthcoalescecoalescecoercecoercecoercecollatecollatecollatecommentcommentcomparecomparecomparecompareconcatconcatconcatcontainscontainscontainsIgnoreCasecontainsIgnoreCaseconvertconvertconvertconvertFromconvertFromconvertToconvertTocoscoshcotcothcountcountDistinctcountOverdecodedecodedecodedecodedegdescdivdivdividedivideendsWithendsWithendsWithIgnoreCaseendsWithIgnoreCaseeqeqeqeqequalequalequalequalequalIgnoreCaseequalIgnoreCaseequalsexpextractfieldfirstValuefloorfromgegegegegetgetCommentgetNamegetValuegreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterThangreaterThangreaterThangreaterThangreatestgreatestgtgtgtgtinininininisDistinctFromisDistinctFromisDistinctFromisDocumentisFalseisJsonisNotDistinctFromisNotDistinctFromisNotDistinctFromisNotDocumentisNotJsonisNotNullisNullisTruelaglaglaglaglastValueleleleleleadleadleadleadleastleastlengthlessOrEquallessOrEquallessOrEquallessOrEquallessThanlessThanlessThanlessThanlikelikelikelikelikelikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeRegexlikeRegexlnloglowerlpadlpadlpadlpadltltltltltrimmaxmaxOvermedianminminOverminusminusmodmodmodulomodulomulmulmultiplymultiplynenenenenegnotBetweennotBetweennotBetweennotBetweennotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotContainsnotContainsnotContainsIgnoreCasenotContainsIgnoreCasenotEqualnotEqualnotEqualnotEqualnotEqualIgnoreCasenotEqualIgnoreCasenotInnotInnotInnotInnotInnotLikenotLikenotLikenotLikenotLikenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeRegexnotLikeRegexnotSimilarTonotSimilarTonotSimilarTonotSimilarTonotSimilarTonullifnullifnullsFirstnullsLastnvlnvlnvl2nvl2octetLengthoriginalpluspluspositionpositionpowpowpowerpowerradremremrepeatrepeatreplacereplacereplacereplaceresetroundroundrpadrpadrpadrpadrtrimshlshlshrshrsignsimilarTosimilarTosimilarTosimilarTosimilarTosinsinhsortsortsortAscsortAscsortDefaultsortDescsortDescsqrtstartsWithstartsWithstartsWithIgnoreCasestartsWithIgnoreCasestddevPopstddevPopOverstddevSampstddevSampOversubsubsubstringsubstringsubstringsubstringsubtractsubtractsumsumOvertantanhtimestimestrimunaryMinusunaryPlusuppervarPopvarPopOvervarSampvarSampOver

Method Detail

else_back to summary
public @NotNull Field<T> else_(T result)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Add an else clause to the already constructed case statement

Parameters
result:T

The result value if no other value matches the case

Returns:@NotNull Field<T>

The resulting field from case statement construction

Annotations
@NotNull
@Support
else_back to summary
public @NotNull Field<T> else_(Field<T> result)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Add an else clause to the already constructed case statement

Parameters
result:Field<T>

The result value if no other value matches the case

Returns:@NotNull Field<T>

The resulting field from case statement construction

Annotations
@NotNull
@Support
else_back to summary
public @NotNull Field<T> else_(Select<? extends Record1<T>> result)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Add an else clause to the already constructed case statement

Parameters
result:Select<? extends Record1<T>>

The result value if no other value matches the case

Returns:@NotNull Field<T>

The resulting field from case statement construction

Annotations
@NotNull
@Support
otherwiseback to summary
public @NotNull Field<T> otherwise(T result)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Add an else clause to the already constructed case statement

Parameters
result:T

The result value if no other value matches the case

Returns:@NotNull Field<T>

The resulting field from case statement construction

Annotations
@NotNull
@Support
otherwiseback to summary
public @NotNull Field<T> otherwise(Field<T> result)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Add an else clause to the already constructed case statement

Parameters
result:Field<T>

The result value if no other value matches the case

Returns:@NotNull Field<T>

The resulting field from case statement construction

Annotations
@NotNull
@Support
otherwiseback to summary
public @NotNull Field<T> otherwise(Select<? extends Record1<T>> result)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Add an else clause to the already constructed case statement

Parameters
result:Select<? extends Record1<T>>

The result value if no other value matches the case

Returns:@NotNull Field<T>

The resulting field from case statement construction

Annotations
@NotNull
@Support
whenback to summary
public @NotNull CaseConditionStep<T> when(Condition condition, T result)

Deprecated

as a consequence of Condition and CaseConditionStep being deprecated. See corresponding docs for further information.

Compare a condition to the already constructed case statement, return result if the condition holds true

Parameters
condition:Condition

The condition to add to the case statement

result:T

The result value if the condition holds true

Returns:@NotNull CaseConditionStep<T>

An intermediary step for case statement construction

Annotations
@NotNull
@Support
whenback to summary
public @NotNull CaseConditionStep<T> when(Condition condition, Field<T> result)

Deprecated

as a consequence of Condition, Field and CaseConditionStep being deprecated. See corresponding docs for further information.

Compare a condition to the already constructed case statement, return result if the condition holds true

Parameters
condition:Condition

The condition to add to the case statement

result:Field<T>

The result value if the condition holds true

Returns:@NotNull CaseConditionStep<T>

An intermediary step for case statement construction

Annotations
@NotNull
@Support
whenback to summary
public @NotNull CaseConditionStep<T> when(Condition condition, Select<? extends Record1<T>> result)

Deprecated

as a consequence of Condition and CaseConditionStep being deprecated. See corresponding docs for further information.

Compare a condition to the already constructed case statement, return result if the condition holds true

Parameters
condition:Condition

The condition to add to the case statement

result:Select<? extends Record1<T>>

The result value if the condition holds true

Returns:@NotNull CaseConditionStep<T>

An intermediary step for case statement construction

Annotations
@NotNull
@Support
whenback to summary
public @NotNull CaseConditionStep<T> when(Field<Boolean> condition, T result)

Deprecated

as a consequence of Field and CaseConditionStep being deprecated. See corresponding docs for further information.

Compare a condition to the already constructed case statement, return result if the condition holds true

Parameters
condition:Field<Boolean>

The condition to add to the case statement

result:T

The result value if the condition holds true

Returns:@NotNull CaseConditionStep<T>

An intermediary step for case statement construction

Annotations
@NotNull
@Support
whenback to summary
public @NotNull CaseConditionStep<T> when(Field<Boolean> condition, Field<T> result)

Deprecated

as a consequence of Field and CaseConditionStep being deprecated. See corresponding docs for further information.

Compare a condition to the already constructed case statement, return result if the condition holds true

Parameters
condition:Field<Boolean>

The condition to add to the case statement

result:Field<T>

The result value if the condition holds true

Returns:@NotNull CaseConditionStep<T>

An intermediary step for case statement construction

Annotations
@NotNull
@Support
whenback to summary
public @NotNull CaseConditionStep<T> when(Field<Boolean> condition, Select<? extends Record1<T>> result)

Deprecated

as a consequence of Field and CaseConditionStep being deprecated. See corresponding docs for further information.

Compare a condition to the already constructed case statement, return result if the condition holds true

Parameters
condition:Field<Boolean>

The condition to add to the case statement

result:Select<? extends Record1<T>>

The result value if the condition holds true

Returns:@NotNull CaseConditionStep<T>

An intermediary step for case statement construction

Annotations
@NotNull
@Support