Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class LazyVal<T>

extends AbstractParamX<T>
Class Inheritance
Imports
java.util.function.BiFunction, .Predicate, org.jooq.Context, .Field, .Function1, .Param, .ParamMode, .QueryPart, org.jooq.conf.ParamType

Deprecated

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

A Param wrapper object that allows for lazily initialising the value and its potentially required calls to custom converters.

See [#7742] for details.

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private transient AbstractParamX<T>
delegate

Deprecated as a consequence of AbstractParamX being deprecated.
private final Field<T>
field

Deprecated as a consequence of Field being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
LazyVal(Field<T> field)

Deprecated as a consequence of Field being deprecated.

Method Summary

Modifier and TypeMethod and Description
public final boolean
$inline()

Implements org.jooq.Param.$inline.

Experimental query object model accessor method, see also QOM.
public final Param<T>
$inline(boolean inline)

Implements org.jooq.Param.$inline.

Deprecated as a consequence of Param being deprecated.
Experimental query object model accessor method, see also QOM.
public final T
$value()

Implements org.jooq.Param.$value.

Experimental query object model accessor method, see also QOM.
public final Param<T>
$value(T value)

Implements org.jooq.Param.$value.

Deprecated as a consequence of Param being deprecated.
Experimental query object model accessor method, see also QOM.
public final void
accept(Context<?> ctx)

Implements abstract org.jooq.impl.AbstractField.accept.

Implements org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.
public final ParamMode
getParamMode()

Implements org.jooq.Param.getParamMode.

The parameter mode.
public final String
getParamName()

Implements org.jooq.Param.getParamName.

The parameter name.
public final ParamType
getParamType()

Implements org.jooq.Param.getParamType.

The parameter type.
public final T
getValue()

Implements org.jooq.Param.getValue.

Get the parameter's underlying value.
private final void
init()

public final boolean
isInline()

Implements org.jooq.Param.isInline.

A flag on the bind value to force it to be inlined in rendered SQL
public final void
public final void
setInline0(boolean inline)

Implements abstract org.jooq.impl.AbstractParamX.setInline0.

Inherited from org.jooq.impl.AbstractParamX:
setConvertedsetInlinesetValuesetValue0

Field Detail

delegateback to summary
private transient AbstractParamX<T> delegate

Deprecated

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

fieldback to summary
private final Field<T> field

Deprecated

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

Constructor Detail

LazyValback to summary
pack-priv LazyVal(Field<T> field)

Deprecated

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

Method Detail

$inlineback to summary
public final boolean $inline()

Implements org.jooq.Param.$inline.

Doc from org.jooq.Param.$inline.

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Override
$inlineback to summary
public final Param<T> $inline(boolean inline)

Implements org.jooq.Param.$inline.

Doc from org.jooq.Param.$inline.

Deprecated

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

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Override
$valueback to summary
public final T $value()

Implements org.jooq.Param.$value.

Doc from org.jooq.Param.$value.

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Override
$valueback to summary
public final Param<T> $value(T value)

Implements org.jooq.Param.$value.

Doc from org.jooq.Param.$value.

Deprecated

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

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Override
acceptback to summary
public final void accept(Context<?> ctx)

Implements abstract org.jooq.impl.AbstractField.accept.

Implements org.jooq.QueryPartInternal.accept.

Doc from org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.

Annotations
@Override
getParamModeback to summary
public final ParamMode getParamMode()

Implements org.jooq.Param.getParamMode.

Doc from org.jooq.Param.getParamMode.

The parameter mode.

Annotations
@Override
getParamNameback to summary
public final String getParamName()

Implements org.jooq.Param.getParamName.

Doc from org.jooq.Param.getParamName.

The parameter name. This name is useful for two things:

Annotations
@Override
getParamTypeback to summary
public final ParamType getParamType()

Implements org.jooq.Param.getParamType.

Doc from org.jooq.Param.getParamType.

The parameter type.

Annotations
@Override
getValueback to summary
public final T getValue()

Implements org.jooq.Param.getValue.

Doc from org.jooq.Param.getValue.

Get the parameter's underlying value. This returns null if no value has been set yet.

Annotations
@Override
initback to summary
private final void init()
isInlineback to summary
public final boolean isInline()

Implements org.jooq.Param.isInline.

Doc from org.jooq.Param.isInline.

A flag on the bind value to force it to be inlined in rendered SQL

Annotations
@Override
setConverted0back to summary
public final void setConverted0(Object value)

Implements abstract org.jooq.impl.AbstractParamX.setConverted0.

Annotations
@Override
setInline0back to summary
public final void setInline0(boolean inline)

Implements abstract org.jooq.impl.AbstractParamX.setInline0.

Annotations
@Override