Top Fields Constructors Methods
org.jooq.impl

pack-priv abstract Class AbstractNamed

extends AbstractQueryPart
implements Named
Class Inheritance
All Implemented Interfaces
org.jooq.Named, org.jooq.QueryPart, java.io.Serializable
Known Direct Subclasses
org.jooq.impl.AbstractRoutine, org.jooq.impl.CatalogImpl, org.jooq.impl.CheckImpl, org.jooq.impl.SchemaImpl, org.jooq.impl.QualifiedImpl, org.jooq.impl.AbstractDataType, org.jooq.impl.LazyCatalog, org.jooq.impl.LazySchema, org.jooq.impl.RoleImpl, org.jooq.impl.AbstractTable, org.jooq.impl.AbstractTypedNamed, org.jooq.impl.PackageImpl, org.jooq.impl.ConstraintImpl, org.jooq.impl.UDTImpl, org.jooq.impl.UserImpl, org.jooq.impl.DomainImpl, org.jooq.impl.IndexImpl, org.jooq.impl.AbstractKey
Static Imports
org.jooq.impl.AbstractName.NO_NAME

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final Comment
private final Name

Constructor Summary

AccessConstructor and Description
pack-priv
AbstractNamed(Name name, Comment comment)

Method Summary

Modifier and TypeMethod and Description
public final Name
$name()

Implements org.jooq.Named.$name.

Experimental query object model accessor method, see also QOM.
public 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.
pack-priv static final <N extends Named> N
find(String name, Iterable<? extends N> in)

pack-priv static final <N extends Named> N
find(Name name, Iterable<? extends N> in)

pack-priv static final <N extends Named> List<N>
findAll(String name, Iterable<? extends N> in)

pack-priv static final <N extends Named> List<N>
findAll(Name name, Iterable<? extends N> in)

pack-priv static final <N extends Named> N
findIgnoreCase(String name, Iterable<? extends N> in)

pack-priv static final <N extends Named> N
findIgnoreCase(Name name, Iterable<? extends N> in)

public final String
getComment()

Implements org.jooq.Named.getComment.

The comment on this object.
public final Comment
getCommentPart()

Implements org.jooq.Named.getCommentPart.

The comment on this object as a QueryPart.
public final String
getName()

Implements org.jooq.Named.getName.

The unqualified name of this object.
public Name
getQualifiedName()

Implements org.jooq.Named.getQualifiedName.

The qualified name of this object.
public final Name
getUnqualifiedName()

Implements org.jooq.Named.getUnqualifiedName.

The unqualified name of this object.
public int
hashCode()

Overrides org.jooq.impl.AbstractQueryPart.hashCode.

Implements org.jooq.QueryPart.hashCode.

Generate a hash code from this QueryPart.
pack-priv static final Name
pack-priv static final Name
qualify(Named qualifier, Name name)

Inherited from org.jooq.impl.AbstractQueryPart:
clausesconfigurationcreatecreatecreatedeclaresCTEdeclaresFieldsdeclaresTablesdeclaresWindowsgeneratesCastrendersContenttoStringtranslate

Field Detail

commentback to summary
private final Comment comment
nameback to summary
private final Name name

Constructor Detail

AbstractNamedback to summary
pack-priv AbstractNamed(Name name, Comment comment)

Method Detail

$nameback to summary
public final Name $name()

Implements org.jooq.Named.$name.

Doc from org.jooq.Named.$name.

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

Annotations
@Override
equalsback to summary
public 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
findback to summary
pack-priv static final <N extends Named> N find(String name, Iterable<? extends N> in)
findback to summary
pack-priv static final <N extends Named> N find(Name name, Iterable<? extends N> in)
findAllback to summary
pack-priv static final <N extends Named> List<N> findAll(String name, Iterable<? extends N> in)
findAllback to summary
pack-priv static final <N extends Named> List<N> findAll(Name name, Iterable<? extends N> in)
findIgnoreCaseback to summary
pack-priv static final <N extends Named> N findIgnoreCase(String name, Iterable<? extends N> in)
findIgnoreCaseback to summary
pack-priv static final <N extends Named> N findIgnoreCase(Name name, Iterable<? extends N> in)
getCommentback to summary
public final String getComment()

Implements org.jooq.Named.getComment.

Doc from org.jooq.Named.getComment.

The comment on this object.

This is the same as calling getCommentPart() and then Comment#getComment().

Annotations
@Override
getCommentPartback to summary
public final Comment getCommentPart()

Implements org.jooq.Named.getCommentPart.

Doc from org.jooq.Named.getCommentPart.

The comment on this object as a QueryPart.

Annotations
@Override
getNameback to summary
public final String getName()

Implements org.jooq.Named.getName.

Doc from org.jooq.Named.getName.

The unqualified name of this object.

Annotations
@Override
getQualifiedNameback to summary
public Name getQualifiedName()

Implements org.jooq.Named.getQualifiedName.

Doc from org.jooq.Named.getQualifiedName.

The qualified name of this object.

Annotations
@Override
getUnqualifiedNameback to summary
public final Name getUnqualifiedName()

Implements org.jooq.Named.getUnqualifiedName.

Doc from org.jooq.Named.getUnqualifiedName.

The unqualified name of this object.

Annotations
@Override
hashCodeback to summary
public 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
nameOrDefaultback to summary
pack-priv static final Name nameOrDefault(Named named)
qualifyback to summary
pack-priv static final Name qualify(Named qualifier, Name name)