Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class QualifiedAsteriskProxy

extends AbstractQueryPart
implements QualifiedAsterisk, QOM.UProxy<QualifiedAsterisk>, ScopeMappable
Class Inheritance
All Implemented Interfaces
org.jooq.impl.ScopeMappable, org.jooq.QueryPartInternal, org.jooq.QueryPart, java.io.Serializable, org.jooq.impl.QOM.UProxy, org.jooq.QualifiedAsterisk, org.jooq.SelectFieldOrAsterisk
Imports
org.jooq.Clause, .Context, .Field, .Name, .QualifiedAsterisk, .Query, .Table, org.jooq.impl.QOM.UProxy, .QOM.UnmodifiableList

A Field that acts as another field, allowing for the proxied field to be replaced.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private QualifiedAsteriskImpl
delegate

The resolved expression after a successful meta lookup.

private final int
position

The position in the parsed SQL string where this qualified asterisk proxy was encountered.

pack-priv boolean
resolved

Whether this qualified asterisk proxy could be resolved at some scope level.

pack-priv Query
scopeOwner

The scope owner that produced this qualified asterisk proxy.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final QualifiedAsterisk
public final QOM.UnmodifiableList<? extends Field<?>>
$except()

Implements org.jooq.QualifiedAsterisk.$except.

Experimental query object model accessor method, see also QOM.
public final Table<?>
$table()

Implements org.jooq.QualifiedAsterisk.$table.

Experimental query object model accessor method, see also QOM.
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.
public final Clause[]
clauses(Context<?> ctx)

Overrides org.jooq.impl.AbstractQueryPart.clauses.

Implements org.jooq.QueryPartInternal.clauses.

Deprecated as a consequence of Clause being deprecated.
The Clauses that are represented by this query part.
public final boolean
declaresCTE()

Overrides org.jooq.impl.AbstractQueryPart.declaresCTE.

Implements org.jooq.QueryPartInternal.declaresCTE.

Check whether this QueryPart is able to declare common table expressions in a WITH clause.
public final boolean
declaresFields()

Overrides org.jooq.impl.AbstractQueryPart.declaresFields.

Implements org.jooq.QueryPartInternal.declaresFields.

Check whether this QueryPart is able to declare fields in a SELECT clause.
public final boolean
declaresTables()

Overrides org.jooq.impl.AbstractQueryPart.declaresTables.

Implements org.jooq.QueryPartInternal.declaresTables.

Check whether this QueryPart is able to declare tables in a FROM clause or JOIN clause.
public final boolean
declaresWindows()

Overrides org.jooq.impl.AbstractQueryPart.declaresWindows.

Implements org.jooq.QueryPartInternal.declaresWindows.

Check whether this QueryPart is able to declare windows in a WINDOW clause.
pack-priv final void
public final boolean
equals(Object
The other QueryPart
that
)

Overrides org.jooq.impl.AbstractQueryPart.equals.

Implements org.jooq.QueryPart.equals.

Check whether this QueryPart can be considered equal to another QueryPart.
public final QualifiedAsterisk
except(String... fieldNames)

Implements org.jooq.QualifiedAsterisk.except.

The qualified asterisk (t.* EXCEPT (fields)) expression to be used in SELECT clauses.
public final QualifiedAsterisk
except(Name... fieldNames)

Implements org.jooq.QualifiedAsterisk.except.

The qualified asterisk (t.* EXCEPT (fields)) expression to be used in SELECT clauses.
public final QualifiedAsterisk
except(Field<?>... fields)

Implements org.jooq.QualifiedAsterisk.except.

Deprecated as a consequence of Field being deprecated.
The qualified asterisk (t.* EXCEPT (fields)) expression to be used in SELECT clauses.
public final boolean
generatesCast()

Overrides org.jooq.impl.AbstractQueryPart.generatesCast.

Implements org.jooq.QueryPartInternal.generatesCast.

Check whether this QueryPart is able to generate CAST expressions around bind variables.
public final int
hashCode()

Overrides org.jooq.impl.AbstractQueryPart.hashCode.

Implements org.jooq.QueryPart.hashCode.

Generate a hash code from this QueryPart.
pack-priv final int
public final Table<?>
qualifier()

Implements org.jooq.QualifiedAsterisk.qualifier.

The qualifier.
public final boolean
pack-priv final QualifiedAsteriskProxy
pack-priv final void
public final String
toString()

Overrides org.jooq.impl.AbstractQueryPart.toString.

Implements org.jooq.QueryPart.toString.

Render a SQL string representation of this QueryPart.
Inherited from org.jooq.impl.AbstractQueryPart:
configurationcreatecreatecreatetranslate

Field Detail

delegateback to summary
private QualifiedAsteriskImpl delegate

The resolved expression after a successful meta lookup.

positionback to summary
private final int position

The position in the parsed SQL string where this qualified asterisk proxy was encountered.

resolvedback to summary
pack-priv boolean resolved

Whether this qualified asterisk proxy could be resolved at some scope level.

scopeOwnerback to summary
pack-priv Query scopeOwner

The scope owner that produced this qualified asterisk proxy.

Constructor Detail

QualifiedAsteriskProxyback to summary
pack-priv QualifiedAsteriskProxy(QualifiedAsteriskImpl delegate, int position)

Method Detail

$delegateback to summary
public final QualifiedAsterisk $delegate()

Implements org.jooq.impl.QOM.UProxy.$delegate.

Annotations
@Override
$exceptback to summary
public final QOM.UnmodifiableList<? extends Field<?>> $except()

Implements org.jooq.QualifiedAsterisk.$except.

Doc from org.jooq.QualifiedAsterisk.$except.

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

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

Implements org.jooq.QualifiedAsterisk.$table.

Doc from org.jooq.QualifiedAsterisk.$table.

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

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
clausesback to summary
public final Clause[] clauses(Context<?> ctx)

Overrides org.jooq.impl.AbstractQueryPart.clauses.

Implements org.jooq.QueryPartInternal.clauses.

Doc from org.jooq.QueryPartInternal.clauses.

Deprecated

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

The Clauses that are represented by this query part.

QueryParts can specify several Clauses for which an event will be emitted before (in forward order) and after (in reverse order) visiting the the query part through Context#visit(QueryPart)

This method is for JOOQ INTERNAL USE only. Do not reference directly

Returns:Clause[]

The Clauses represented by this query part or null or an empty array if this query part does not represent a clause.

Annotations
@Override
declaresCTEback to summary
public final boolean declaresCTE()

Overrides org.jooq.impl.AbstractQueryPart.declaresCTE.

Implements org.jooq.QueryPartInternal.declaresCTE.

Doc from org.jooq.QueryPartInternal.declaresCTE.

Check whether this QueryPart is able to declare common table expressions in a WITH clause.

This method can be used by any Context to check how a certain SQL clause should be rendered.

This method is for JOOQ INTERNAL USE only. Do not reference directly

Annotations
@Override
declaresFieldsback to summary
public final boolean declaresFields()

Overrides org.jooq.impl.AbstractQueryPart.declaresFields.

Implements org.jooq.QueryPartInternal.declaresFields.

Doc from org.jooq.QueryPartInternal.declaresFields.

Check whether this QueryPart is able to declare fields in a SELECT clause.

This method can be used by any Context to check how a certain SQL clause should be rendered.

This method is for JOOQ INTERNAL USE only. Do not reference directly

Annotations
@Override
declaresTablesback to summary
public final boolean declaresTables()

Overrides org.jooq.impl.AbstractQueryPart.declaresTables.

Implements org.jooq.QueryPartInternal.declaresTables.

Doc from org.jooq.QueryPartInternal.declaresTables.

Check whether this QueryPart is able to declare tables in a FROM clause or JOIN clause.

This method can be used by any Context to check how a certain SQL clause should be rendered.

This method is for JOOQ INTERNAL USE only. Do not reference directly

Annotations
@Override
declaresWindowsback to summary
public final boolean declaresWindows()

Overrides org.jooq.impl.AbstractQueryPart.declaresWindows.

Implements org.jooq.QueryPartInternal.declaresWindows.

Doc from org.jooq.QueryPartInternal.declaresWindows.

Check whether this QueryPart is able to declare windows in a WINDOW clause.

This method can be used by any Context to check how a certain SQL clause should be rendered.

This method is for JOOQ INTERNAL USE only. Do not reference directly

Annotations
@Override
delegateback to summary
pack-priv final void delegate(QualifiedAsteriskImpl newDelegate)
equalsback to summary
public final boolean equals(Object that)

Overrides org.jooq.impl.AbstractQueryPart.equals.

Implements org.jooq.QueryPart.equals.

Doc from org.jooq.QueryPart.equals.

Check whether this QueryPart can be considered equal to another QueryPart.

In general, QueryPart equality is defined in terms of toString() equality. In other words, two query parts are considered equal if their rendered SQL (with inlined bind variables) is equal. This means that the two query parts do not necessarily have to be of the same type.

Some QueryPart implementations may choose to override this behaviour for improved performance, as toString() is an expensive operation, if called many times.

Parameters
that:Object

The other QueryPart

Returns:boolean

Whether the two query parts are equal

Annotations
@Override
exceptback to summary
public final QualifiedAsterisk except(String... fieldNames)

Implements org.jooq.QualifiedAsterisk.except.

Doc from org.jooq.QualifiedAsterisk.except.

The qualified asterisk (t.* EXCEPT (fields)) expression to be used in SELECT clauses.

This expression is a convenient way to select "all but some fields". Some dialects (e.g. SQLDialect#H2) implement this feature natively. In other dialects, jOOQ expands the asterisk if possible.

Annotations
@Override
exceptback to summary
public final QualifiedAsterisk except(Name... fieldNames)

Implements org.jooq.QualifiedAsterisk.except.

Doc from org.jooq.QualifiedAsterisk.except.

The qualified asterisk (t.* EXCEPT (fields)) expression to be used in SELECT clauses.

This expression is a convenient way to select "all but some fields". Some dialects (e.g. SQLDialect#H2) implement this feature natively. In other dialects, jOOQ expands the asterisk if possible.

Annotations
@Override
exceptback to summary
public final QualifiedAsterisk except(Field<?>... fields)

Implements org.jooq.QualifiedAsterisk.except.

Doc from org.jooq.QualifiedAsterisk.except.

Deprecated

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

The qualified asterisk (t.* EXCEPT (fields)) expression to be used in SELECT clauses.

This expression is a convenient way to select "all but some fields". Some dialects (e.g. SQLDialect#H2) implement this feature natively. In other dialects, jOOQ expands the asterisk if possible.

Annotations
@Override
generatesCastback to summary
public final boolean generatesCast()

Overrides org.jooq.impl.AbstractQueryPart.generatesCast.

Implements org.jooq.QueryPartInternal.generatesCast.

Doc from org.jooq.QueryPartInternal.generatesCast.

Check whether this QueryPart is able to generate CAST expressions around bind variables.

This method can be used by any Context to check how a certain SQL clause should be rendered.

This method is for JOOQ INTERNAL USE only. Do not reference directly

Annotations
@Override
hashCodeback to summary
public final int hashCode()

Overrides org.jooq.impl.AbstractQueryPart.hashCode.

Implements org.jooq.QueryPart.hashCode.

Doc from org.jooq.QueryPart.hashCode.

Generate a hash code from this QueryPart.

In general, QueryPart hash codes are the same as the hash codes generated from toString(). This guarantees consistent behaviour with equals(Object)

Some QueryPart implementations may choose to override this behaviour for improved performance, as toString() is an expensive operation, if called many times.

Returns:int

The QueryPart hash code

Annotations
@Override
positionback to summary
pack-priv final int position()
qualifierback to summary
public final Table<?> qualifier()

Implements org.jooq.QualifiedAsterisk.qualifier.

Doc from org.jooq.QualifiedAsterisk.qualifier.

The qualifier.

Annotations
@Override
rendersContentback to summary
public final boolean rendersContent(Context<?> ctx)

Overrides org.jooq.impl.AbstractQueryPart.rendersContent.

Implements org.jooq.QueryPartInternal.rendersContent.

Doc from org.jooq.QueryPartInternal.rendersContent.

Whether a call to accept(Context) would render content.

Annotations
@Override
resolveback to summary
pack-priv final QualifiedAsteriskProxy resolve()
scopeOwnerback to summary
pack-priv final void scopeOwner(Query query)
toStringback to summary
public final String toString()

Overrides org.jooq.impl.AbstractQueryPart.toString.

Implements org.jooq.QueryPart.toString.

Doc from org.jooq.QueryPart.toString.

Render a SQL string representation of this QueryPart.

For improved debugging, this renders a SQL string of this QueryPart with inlined bind variables. If this QueryPart is Attachable, then the attached Configuration may be used for rendering the SQL string, including SQLDialect and Settings. Do note that most QueryPart instances are not attached to a Configuration, and thus there is no guarantee that the SQL string will make sense in the context of a specific database.

Returns:String

A SQL string representation of this QueryPart

Annotations
@Override