Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class ParamCollector

extends AbstractBindContext
Class Inheritance
Imports
java.sql.SQLException, java.util.AbstractMap.SimpleImmutableEntry, .ArrayList, .LinkedHashMap, .List, .Map, .Map.Entry, org.jooq.BindContext, .Configuration, .Field, .Param, .QueryPart, .QueryPartInternal, org.jooq.tools.StringUtils

A stub BindContext that acts as a collector of Param QueryPart's
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final boolean
pack-priv final Map<String, List<Param<?>>>
pack-priv final Map<String, Param<?>>
pack-priv final List<Map.Entry<String, Param<?>>>

Constructor Summary

AccessConstructor and Description
pack-priv
ParamCollector(Configuration configuration, boolean includeInlinedParams)

Method Summary

Modifier and TypeMethod and Description
protected final void
bindInternal(QueryPartInternal internal)

Overrides org.jooq.impl.AbstractBindContext.bindInternal.

Subclasses may override this method to achieve different behaviour
protected final BindContext
bindValue0(Object value, Field<?> field)

Overrides org.jooq.impl.AbstractBindContext.bindValue0.

Deprecated as a consequence of Field being deprecated.
Subclasses may override this method to achieve different behaviour
private final List<Param<?>>
Inherited from org.jooq.impl.AbstractBindContext:
bindValueformatformatformatIndentEndformatIndentEndformatIndentLockEndformatIndentLockStartformatIndentStartformatIndentStartformatNewLineformatNewLineAfterPrintMarginformatPrintMarginformatSeparatorkeywordliteralnextAliaspeekAliasrenderrenderseparatorRequiredseparatorRequiredsqlsqlsqlsqlsqlsqlsqlsqlIndentEndsqlIndentEndsqlIndentEndsqlIndentStartsqlIndentStartsqlIndentStarttoStringvisit0

Field Detail

includeInlinedParamsback to summary
private final boolean includeInlinedParams
resultback to summary
pack-priv final Map<String, List<Param<?>>> result
resultFlatback to summary
pack-priv final Map<String, Param<?>> resultFlat
resultListback to summary
pack-priv final List<Map.Entry<String, Param<?>>> resultList

Constructor Detail

ParamCollectorback to summary
pack-priv ParamCollector(Configuration configuration, boolean includeInlinedParams)

Method Detail

bindInternalback to summary
protected final void bindInternal(QueryPartInternal internal)

Overrides org.jooq.impl.AbstractBindContext.bindInternal.

Doc from org.jooq.impl.AbstractBindContext.bindInternal.

Subclasses may override this method to achieve different behaviour

Annotations
@Override
bindValue0back to summary
protected final BindContext bindValue0(Object value, Field<?> field) throws SQLException

Overrides org.jooq.impl.AbstractBindContext.bindValue0.

Doc from org.jooq.impl.AbstractBindContext.bindValue0.

Deprecated

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

Subclasses may override this method to achieve different behaviour

Annotations
@Override
resultback to summary
private final List<Param<?>> result(String key)