Top Fields Constructors Methods
org.jooq.impl

pack-priv Class DefaultBindingSQLContext<U>

extends AbstractScope
implements BindingSQLContext<U>
Class Inheritance
All Implemented Interfaces
org.jooq.BindingSQLContext, org.jooq.BindingScope, org.jooq.Scope
Static Imports
org.jooq.ContextConverter.scoped

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final RenderContext
private final U
private final String
Inherited from org.jooq.impl.AbstractScope:
configurationcreationTimedata

Constructor Summary

AccessConstructor and Description
pack-priv
DefaultBindingSQLContext(Configuration configuration, Map<Object, Object> data, RenderContext render, U value)

pack-priv
DefaultBindingSQLContext(Configuration configuration, Map<Object, Object> data, RenderContext render, U value, String variable)

Method Summary

Modifier and TypeMethod and Description
public <T> BindingSQLContext<T>
convert(Converter<? extends T, ? super U> converter)

Implements org.jooq.BindingSQLContext.convert.

Create a new context from this one using a converter.
public final ConverterContext
public final RenderContext
render()

Implements org.jooq.BindingSQLContext.render.

The RenderContext that contains the generated SQL and the current SQL generation state.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
public final U
value()

Implements org.jooq.BindingSQLContext.value.

The bind value that is being rendered.
public final String
variable()

Implements org.jooq.BindingSQLContext.variable.

The variable string - mostly just a ?
Inherited from org.jooq.impl.AbstractScope:
configurationcreationTimedatadatadatadialectdslfamilysettings

Field Detail

renderback to summary
private final RenderContext render
valueback to summary
private final U value
variableback to summary
private final String variable

Constructor Detail

DefaultBindingSQLContextback to summary
pack-priv DefaultBindingSQLContext(Configuration configuration, Map<Object, Object> data, RenderContext render, U value)
DefaultBindingSQLContextback to summary
pack-priv DefaultBindingSQLContext(Configuration configuration, Map<Object, Object> data, RenderContext render, U value, String variable)

Method Detail

convertback to summary
public <T> BindingSQLContext<T> convert(Converter<? extends T, ? super U> converter)

Implements org.jooq.BindingSQLContext.convert.

Doc from org.jooq.BindingSQLContext.convert.

Create a new context from this one using a converter.

Annotations
@Override
converterContextback to summary
public final ConverterContext converterContext()

Implements org.jooq.BindingScope.converterContext.

Doc from org.jooq.BindingScope.converterContext.

Get the ConverterContext from the context of this BindingScope.

Annotations
@Override
renderback to summary
public final RenderContext render()

Implements org.jooq.BindingSQLContext.render.

Doc from org.jooq.BindingSQLContext.render.

The RenderContext that contains the generated SQL and the current SQL generation state.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
valueback to summary
public final U value()

Implements org.jooq.BindingSQLContext.value.

Doc from org.jooq.BindingSQLContext.value.

The bind value that is being rendered.

Annotations
@Override
variableback to summary
public final String variable()

Implements org.jooq.BindingSQLContext.variable.

Doc from org.jooq.BindingSQLContext.variable.

The variable string - mostly just a ?, or a named bind variable, such as :var.

Annotations
@Override