Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class CaseSimple<V, T>

extends AbstractCaseSimple<V, T, CaseSimple<V, T>>
implements CaseWhenStep<V, T>, QOM.CaseSimple<V, T>
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.CaseSimple, org.jooq.impl.QOM.UOperator3, org.jooq.impl.QOM.UOperator, org.jooq.QueryPart, java.io.Serializable, org.jooq.Field, org.jooq.TableElement, org.jooq.Named, org.jooq.FieldOrConstraint, org.jooq.FieldOrRowOrSelect, org.jooq.FieldOrRow, org.jooq.OrderField, org.jooq.GroupField, org.jooq.SelectField, org.jooq.Typed, org.jooq.SelectFieldOrAsterisk, org.jooq.CaseWhenStep
Static Imports
java.lang.Boolean.TRUE, org.jooq.impl.Keywords.K_CASE, .Keywords.K_ELSE, .Keywords.K_END, .Keywords.K_NULL, .Keywords.K_SWITCH, .Keywords.K_THEN, .Keywords.K_TRUE, .Keywords.K_WHEN, .Names.NQ_CASE, .Tools.BooleanDataKey.DATA_FORCE_CASE_ELSE_NULL

Deprecated

as a consequence of AbstractCaseSimple, CaseWhenStep and QOM.CaseSimple being deprecated. See corresponding docs for further information.

Author
Lukas Eder

Field Summary

Inherited from org.jooq.impl.AbstractCaseSimple:
else_valuewhen

Constructor Summary

AccessConstructor and Description
pack-priv
CaseSimple(Field<V> value, Field<V> compareValue, Field<T> result)

Deprecated as a consequence of Field being deprecated.
pack-priv
CaseSimple(Field<V> value, Map<? extends Field<V>, ? extends Field<T>> map)

Deprecated as a consequence of Field being deprecated.
pack-priv
CaseSimple(Field<V> value, DataType<T> type)

Deprecated as a consequence of Field being deprecated.

Method Summary

Modifier and TypeMethod and Description
pack-priv final void
private final void
private final void
pack-priv final CaseSimple<V, T>
construct(Field<V> v, DataType<T> t)

Implements abstract org.jooq.impl.AbstractCaseSimple.construct.

Deprecated as a consequence of Field and CaseSimple being deprecated.
public final Field<T>
otherwise(T
The result value if no other value matches the case
result
)

Implements org.jooq.CaseWhenStep.otherwise.

Deprecated as a consequence of Field being deprecated.
Add an else clause to the already constructed case statement
public final Field<T>
otherwise(Field<T>
The result value if no other value matches the case
result
)

Implements org.jooq.CaseWhenStep.otherwise, org.jooq.CaseWhenStep.otherwise.

Deprecated as a consequence of Field being deprecated.
Add an else clause to the already constructed case statement
Inherited from org.jooq.impl.AbstractCaseSimple:
$arg1$arg1$arg2$arg2$arg3$arg3$constructoracceptelse_else_mapFieldsmapValueswhenwhenwhenwhen

Constructor Detail

CaseSimpleback to summary
pack-priv CaseSimple(Field<V> value, Field<V> compareValue, Field<T> result)

Deprecated

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

CaseSimpleback to summary
pack-priv CaseSimple(Field<V> value, Map<? extends Field<V>, ? extends Field<T>> map)

Deprecated

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

CaseSimpleback to summary
pack-priv CaseSimple(Field<V> value, DataType<T> type)

Deprecated

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

Method Detail

accept0back to summary
pack-priv final void accept0(Context<?> ctx)

Implements abstract org.jooq.impl.AbstractCaseSimple.accept0.

Annotations
@Override
acceptNativeback to summary
private final void acceptNative(Context<?> ctx)
acceptSearchedback to summary
private final void acceptSearched(Context<?> ctx)
constructback to summary
pack-priv final CaseSimple<V, T> construct(Field<V> v, DataType<T> t)

Implements abstract org.jooq.impl.AbstractCaseSimple.construct.

Deprecated

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

Annotations
@Override
otherwiseback to summary
public final Field<T> otherwise(T result)

Implements org.jooq.CaseWhenStep.otherwise.

Doc from org.jooq.CaseWhenStep.otherwise.

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:Field<T>

The resulting field from case statement construction

Annotations
@Override
otherwiseback to summary
public final Field<T> otherwise(Field<T> result)

Implements org.jooq.CaseWhenStep.otherwise, org.jooq.CaseWhenStep.otherwise.

Doc from org.jooq.CaseWhenStep.otherwise.

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:Field<T>

The resulting field from case statement construction

Annotations
@Override