Top Description Fields Constructors Methods
org.jooq.impl

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

extends AbstractAutoAliasTable<R extends Record>
implements QOM.Values<R extends Record>
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.Values, org.jooq.impl.QOM.UOperator1, org.jooq.impl.QOM.UOperator, org.jooq.QueryPart, java.io.Serializable, org.jooq.Table, org.jooq.SelectField, org.jooq.Typed, org.jooq.Named, org.jooq.SelectFieldOrAsterisk, org.jooq.GroupField, org.jooq.RecordQualifier, org.jooq.Fields, org.jooq.Qualified, org.jooq.TableLike
Static Imports
org.jooq.Clause.TABLE_VALUES, .SQLDialect.DERBY, .SQLDialect.FIREBIRD, .SQLDialect.MARIADB, .SQLDialect.MYSQL, .SQLDialect.POSTGRES, .SQLDialect.YUGABYTEDB, org.jooq.conf.ParamType.INLINED, org.jooq.impl.DSL.name, .DSL.row, .Keywords.K_MULTISET, .Keywords.K_ROW, .Keywords.K_STRUCT, .Keywords.K_TABLE, .Keywords.K_UNNEST, .Keywords.K_VALUES, .QueryPartListView.wrap, .SubqueryCharacteristics.DERIVED_TABLE, .Tools.EMPTY_ROW, .Tools.anyMatch, .Tools.isEmpty, .Tools.isVal, .Tools.map, .Tools.visitSubquery

An implementation for the VALUES(…) table constructor
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv static final Set<SQLDialect>
pack-priv static final Set<SQLDialect>
pack-priv static final Set<SQLDialect>
pack-priv static final Set<SQLDialect>
private final Row[]
private transient DataType<?>[]
Inherited from org.jooq.impl.AbstractAutoAliasTable:
aliasfieldAliases

Constructor Summary

AccessConstructor and Description
pack-priv
Values(Row[] rows)

pack-priv
Values(Row[] rows, Name alias, Name[] fieldAliases)

Method Summary

Modifier and TypeMethod and Description
public final QOM.UnmodifiableList<? extends Row>
public final Function1<? super QOM.UnmodifiableList<? extends Row>, ? extends QOM.Values<R>>
public final void
accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.
pack-priv static final Row[]
private final Row
private final Field<?>[]
castToRowType(Field<?>[] fields)

Deprecated as a consequence of Field being deprecated.
pack-priv final Values<R>
construct(Name newAlias, Name[] newFieldAliases)

Implements abstract org.jooq.impl.AbstractAutoAliasTable.construct.

private static final int
degree(Row[] rows)

private static Name[]
fieldAliases(int degree)

pack-priv final FieldsImpl<R>
fields0()

Implements abstract org.jooq.impl.AbstractTable.fields0.

Subclasses should override this method to provide the set of fields contained in the concrete table implementation.
public final Class<? extends R>
getRecordType()

Implements org.jooq.RecordQualifier.getRecordType.

The record type produced by this UDT or Table.
private final boolean
nullLiteralOrUntypedNullBind(Context<?> ctx, Field<?> field)

Deprecated as a consequence of Field being deprecated.
private final DataType<?>[]
Inherited from org.jooq.impl.AbstractAutoAliasTable:
$alias$aliasedasasautoAliasdeclaresTables

Field Detail

NO_SUPPORT_PARENTHESESback to summary
pack-priv static final Set<SQLDialect> NO_SUPPORT_PARENTHESES
NO_SUPPORT_VALUESback to summary
pack-priv static final Set<SQLDialect> NO_SUPPORT_VALUES
REQUIRE_ROWTYPE_CASTback to summary
pack-priv static final Set<SQLDialect> REQUIRE_ROWTYPE_CAST
REQUIRE_ROWTYPE_CAST_FIRST_ROWback to summary
pack-priv static final Set<SQLDialect> REQUIRE_ROWTYPE_CAST_FIRST_ROW
rowsback to summary
private final Row[] rows
typesback to summary
private transient DataType<?>[] types

Constructor Detail

Valuesback to summary
pack-priv Values(Row[] rows)
Valuesback to summary
pack-priv Values(Row[] rows, Name alias, Name[] fieldAliases)

Method Detail

$arg1back to summary
public final QOM.UnmodifiableList<? extends Row> $arg1()

Implements org.jooq.impl.QOM.UOperator1.$arg1.

Annotations
@Override
$constructorback to summary
public final Function1<? super QOM.UnmodifiableList<? extends Row>, ? extends QOM.Values<R>> $constructor()

Implements org.jooq.impl.QOM.UOperator1.$constructor.

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

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
assertNotEmptyback to summary
pack-priv static final Row[] assertNotEmpty(Row[] rows)
castNullLiteralToRowTypeback to summary
private final Row castNullLiteralToRowType(Context<?> ctx, Row row)
castToRowTypeback to summary
private final Field<?>[] castToRowType(Field<?>[] fields)

Deprecated

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

constructback to summary
pack-priv final Values<R> construct(Name newAlias, Name[] newFieldAliases)

Implements abstract org.jooq.impl.AbstractAutoAliasTable.construct.

Annotations
@Override
degreeback to summary
private static final int degree(Row[] rows)
fieldAliasesback to summary
private static Name[] fieldAliases(int degree)
fields0back to summary
pack-priv final FieldsImpl<R> fields0()

Implements abstract org.jooq.impl.AbstractTable.fields0.

Doc from org.jooq.impl.AbstractTable.fields0.

Subclasses should override this method to provide the set of fields contained in the concrete table implementation. For example, a TableAlias contains aliased fields of its AliasProvider table.

Annotations
@Override
getRecordTypeback to summary
public final Class<? extends R> getRecordType()

Implements org.jooq.RecordQualifier.getRecordType.

Doc from org.jooq.RecordQualifier.getRecordType.

The record type produced by this UDT or Table.

Annotations
@SuppressWarnings:unchecked
@Override
nullLiteralOrUntypedNullBindback to summary
private final boolean nullLiteralOrUntypedNullBind(Context<?> ctx, Field<?> field)

Deprecated

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

rowTypeback to summary
private final DataType<?>[] rowType()