Top Description Fields Constructors Methods
org.jooq

pack-priv final Class ArrayConverter<T, U>

extends AbstractContextConverter<T[], U[]>
Class Inheritance
Static Imports
org.jooq.impl.Internal.arrayType

A Converter that can convert arrays based on a delegate converter that can convert the array base types.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv final ContextConverter<T, U>
pack-priv final ContextConverter<U, T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final U[]
from(T[]
The database object.
t
,
ConverterContext
The context of this conversion.
scope
)

Implements org.jooq.ContextConverter.from.

Read and convert a database object to a user object.
public final T[]
to(U[]
The user object.
t
,
ConverterContext
The context of this conversion.
scope
)

Implements org.jooq.ContextConverter.to.

Convert and write a user object to a database object.
Inherited from org.jooq.impl.AbstractContextConverter:
toString

Field Detail

converterback to summary
pack-priv final ContextConverter<T, U> converter
inverseback to summary
pack-priv final ContextConverter<U, T> inverse

Constructor Detail

ArrayConverterback to summary
public ArrayConverter(ContextConverter<T, U> converter)

Method Detail

fromback to summary
public final U[] from(T[] t, ConverterContext scope)

Implements org.jooq.ContextConverter.from.

Doc from org.jooq.ContextConverter.from.

Read and convert a database object to a user object.

Parameters
t:T[]

The database object.

scope:ConverterContext

The context of this conversion.

Returns:U[]

The user object.

Annotations
@Override
toback to summary
public final T[] to(U[] t, ConverterContext scope)

Implements org.jooq.ContextConverter.to.

Doc from org.jooq.ContextConverter.to.

Convert and write a user object to a database object.

Parameters
t:U[]

The user object.

scope:ConverterContext

The context of this conversion.

Returns:T[]

The database object.

Annotations
@Override