Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class MultisetDataType<R extends org.jooq.Record>

extends DefaultDataType<Result<R extends Record>>
Class Inheritance
Static Imports
java.util.Comparator.comparing, java.util.stream.Collectors.toList, org.jooq.impl.Tools.CONFIG, .Tools.newRecord

A wrapper for anonymous multiset data types.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv final Class<? extends R>
pack-priv final AbstractRow<R>
Inherited from org.jooq.impl.DefaultDataType:
BYTE_PRECISIONINTEGER_PRECISIONLONG_PRECISIONSHORT_PRECISION

Constructor Summary

AccessConstructor and Description
pack-priv
MultisetDataType(AbstractRow<R> row, Class<? extends R> recordType)

pack-priv
MultisetDataType(DefaultDataType<Result<R>> t, AbstractRow<R> row, Class<? extends R> recordType, Integer precision, Integer scale, Integer length, Nullability nullability, boolean readonly, Generator<?, ?, Result<R>> generatedAlwaysAs, QOM.GenerationOption generationOption, QOM.GenerationLocation generationLocation, Collation collation, CharacterSet characterSet, boolean identity, Field<Result<R>> defaultValue)

Deprecated as a consequence of Field being deprecated.
[#3225] Performant constructor for creating derived types.

Method Summary

Modifier and TypeMethod and Description
pack-priv DefaultDataType<Result<R>>
construct(Integer newPrecision, Integer newScale, Integer newLength, Nullability newNullability, boolean newReadonly, Generator<?, ?, Result<R>> newGeneratedAlwaysAs, QOM.GenerationOption newGenerationOption, QOM.GenerationLocation newGenerationLocation, Collation newCollation, CharacterSet newCharacterSet, boolean newIdentity, Field<Result<R>> newDefaultValue)

Overrides org.jooq.impl.DefaultDataType.construct.

Deprecated as a consequence of Field being deprecated.
[#7811] Allow for subtypes to override the constructor
public Result<R>
convert(Object
The object to be converted
object
)

Overrides org.jooq.impl.AbstractDataType.convert.

Implements org.jooq.DataType.convert.

Convert an arbitrary object into <T>.
public final Class<? extends R>
getRecordType()

Overrides org.jooq.impl.AbstractDataType.getRecordType.

Implements org.jooq.DataType.getRecordType.

Get the nested record's record type definition, if this is a isRecord(), or a isMultiset(), or NULL otherwise.
public final Row
getRow()

Overrides org.jooq.impl.AbstractDataType.getRow.

Implements org.jooq.DataType.getRow.

Get the nested record's Row definition, if this is a isRecord(), or a isMultiset(), or NULL otherwise.
Inherited from org.jooq.impl.DefaultDataType:
castTypeName0castTypePrefix0castTypeSuffix0characterSetcollationdataTypesdefault_generatedAlwaysAsGeneratorgenerationLocationgenerationOptiongetBindinggetDataTypegetDataTypegetDataTypegetDataTypegetDataTypegetDataTypegetDataTypegetDataTypegetDefaultDataTypegetDefaultDataTypegetDialectgetSQLDataTypegetTypegetTypeidentitylength0normalisenullabilityprecision0readonlyscale0settType0typeName0typesuType0

Field Detail

recordTypeback to summary
pack-priv final Class<? extends R> recordType
rowback to summary
pack-priv final AbstractRow<R> row

Constructor Detail

MultisetDataTypeback to summary
pack-priv MultisetDataType(AbstractRow<R> row, Class<? extends R> recordType)
Annotations
@SuppressWarnings:unchecked
MultisetDataTypeback to summary
pack-priv MultisetDataType(DefaultDataType<Result<R>> t, AbstractRow<R> row, Class<? extends R> recordType, Integer precision, Integer scale, Integer length, Nullability nullability, boolean readonly, Generator<?, ?, Result<R>> generatedAlwaysAs, QOM.GenerationOption generationOption, QOM.GenerationLocation generationLocation, Collation collation, CharacterSet characterSet, boolean identity, Field<Result<R>> defaultValue)

Deprecated

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

[#3225] Performant constructor for creating derived types.

Method Detail

constructback to summary
pack-priv DefaultDataType<Result<R>> construct(Integer newPrecision, Integer newScale, Integer newLength, Nullability newNullability, boolean newReadonly, Generator<?, ?, Result<R>> newGeneratedAlwaysAs, QOM.GenerationOption newGenerationOption, QOM.GenerationLocation newGenerationLocation, Collation newCollation, CharacterSet newCharacterSet, boolean newIdentity, Field<Result<R>> newDefaultValue)

Overrides org.jooq.impl.DefaultDataType.construct.

Doc from org.jooq.impl.DefaultDataType.construct.

Deprecated

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

[#7811] Allow for subtypes to override the constructor

Annotations
@SuppressWarnings:unchecked, rawtypes
@Override
convertback to summary
public Result<R> convert(Object object)

Overrides org.jooq.impl.AbstractDataType.convert.

Implements org.jooq.DataType.convert.

Doc from org.jooq.DataType.convert.

Convert an arbitrary object into <T>.

See Convert#convert(Object, Class) for details about conversion rules. Notice this does not pass through any Configuration#converterProvider().

Parameters
object:Object

The object to be converted

Returns:Result<R>

The converted object

Annotations
@SuppressWarnings:unchecked, rawtypes
@Override
getRecordTypeback to summary
public final Class<? extends R> getRecordType()

Overrides org.jooq.impl.AbstractDataType.getRecordType.

Implements org.jooq.DataType.getRecordType.

Doc from org.jooq.DataType.getRecordType.

Get the nested record's record type definition, if this is a isRecord(), or a isMultiset(), or NULL otherwise.

Annotations
@Override
getRowback to summary
public final Row getRow()

Overrides org.jooq.impl.AbstractDataType.getRow.

Implements org.jooq.DataType.getRow.

Doc from org.jooq.DataType.getRow.

Get the nested record's Row definition, if this is a isRecord(), or a isMultiset(), or NULL otherwise.

Annotations
@Override