Top Fields Constructors Methods
org.jooq.impl

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

extends AbstractRowAsField<R extends Record>
implements QOM.TableAsField<R extends Record>, ScopeMappableWrapper<TableAsField<R extends Record>, Table<R extends Record>>
Class Inheritance
All Implemented Interfaces
org.jooq.impl.ScopeMappableWrapper, org.jooq.impl.ScopeMappable, org.jooq.QueryPartInternal, org.jooq.QueryPart, java.io.Serializable, org.jooq.impl.QOM.TableAsField, org.jooq.Field, org.jooq.TableElement, org.jooq.Named, org.jooq.FieldOrConstraint, org.jooq.FieldOrRowOrSelect, org.jooq.FieldOrRow, org.jooq.OrderField, org.jooq.GroupField, org.jooq.SelectField, org.jooq.Typed, org.jooq.SelectFieldOrAsterisk
Static Imports
org.jooq.SQLDialect.CUBRID, .SQLDialect.DERBY, .SQLDialect.FIREBIRD, .SQLDialect.H2, .SQLDialect.HSQLDB, .SQLDialect.IGNITE, .SQLDialect.MARIADB, .SQLDialect.MYSQL, .SQLDialect.SQLITE, org.jooq.impl.Keywords.K_AS, .Keywords.K_CAST, .Keywords.K_ROW, .Tools.unalias, .Tools.BooleanDataKey.DATA_LIST_ALREADY_INDENTED

Deprecated

as a consequence of AbstractRowAsField and QOM.TableAsField being deprecated. See corresponding docs for further information.

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv final Table<R>

Constructor Summary

AccessConstructor and Description
pack-priv
TableAsField(Table<R> table)

pack-priv
TableAsField(final Table<R> table, Name as)

Method Summary

Modifier and TypeMethod and Description
public final Name
public final Field<?>
$aliased()

Overrides org.jooq.impl.AbstractField.$aliased.

Implements org.jooq.impl.QOM.Aliasable.$aliased.

Deprecated as a consequence of Field being deprecated.
The aliased part (a Field or a Table).
public final Table<R>
pack-priv final void
public Field<R>
as(Name
The alias name
alias
)

Overrides org.jooq.impl.AbstractField.as.

Implements org.jooq.Field.as.

Deprecated as a consequence of Field being deprecated.
Create an alias for this field.
pack-priv final Table<R>
pack-priv final Class<R>
public final TableAsField<R>
wrap(Table<R> wrapped)

Implements org.jooq.impl.ScopeMappableWrapper.wrap.

Deprecated as a consequence of TableAsField being deprecated.
Wrap a QueryPart
Inherited from org.jooq.impl.AbstractRowAsField:
acceptacceptMultisetContentautoAliasdeclaresFieldsemulatedFieldsforceMultisetContentprojectionSize

Field Detail

tableback to summary
pack-priv final Table<R> table

Constructor Detail

TableAsFieldback to summary
pack-priv TableAsField(Table<R> table)
TableAsFieldback to summary
pack-priv TableAsField(final Table<R> table, Name as)

Method Detail

$aliasback to summary
public final Name $alias()

Overrides org.jooq.impl.AbstractField.$alias.

Implements org.jooq.impl.QOM.Aliasable.$alias.

Doc from org.jooq.impl.QOM.Aliasable.$alias.

The alias if any.

Annotations
@Override
$aliasedback to summary
public final Field<?> $aliased()

Overrides org.jooq.impl.AbstractField.$aliased.

Implements org.jooq.impl.QOM.Aliasable.$aliased.

Doc from org.jooq.impl.QOM.Aliasable.$aliased.

Deprecated

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

The aliased part (a Field or a Table).

Annotations
@Override
$tableback to summary
public final Table<R> $table()

Implements org.jooq.impl.QOM.TableAsField.$table.

Annotations
@Override
acceptDefaultback to summary
pack-priv final void acceptDefault(Context<?> ctx)

Implements abstract org.jooq.impl.AbstractRowAsField.acceptDefault.

Annotations
@Override
asback to summary
public Field<R> as(Name alias)

Overrides org.jooq.impl.AbstractField.as.

Implements org.jooq.Field.as.

Doc from org.jooq.SelectField.as.

Deprecated

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

Create an alias for this field.

Note that the case-sensitivity of the returned field depends on Settings#getRenderQuotedNames() and the Name. By default, field aliases are quoted, and thus case-sensitive in many SQL dialects - use DSL#unquotedName(String...) for case-insensitive aliases.

If the argument Name#getName() is qualified, then the Name#last() part will be used.

Parameters
alias:Name

The alias name

Returns:Field<R>

The field alias

Annotations
@Override
fields0back to summary
pack-priv final Table<R> fields0()

Implements abstract org.jooq.impl.AbstractRowAsField.fields0.

Annotations
@Override
getRecordTypeback to summary
pack-priv final Class<R> getRecordType()

Implements abstract org.jooq.impl.AbstractRowAsField.getRecordType.

Annotations
@SuppressWarnings:unchecked
@Override
wrapback to summary
public final TableAsField<R> wrap(Table<R> wrapped)

Implements org.jooq.impl.ScopeMappableWrapper.wrap.

Doc from org.jooq.impl.ScopeMappableWrapper.wrap.

Deprecated

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

Wrap a QueryPart

Annotations
@Override