Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class UnqualifiedName

extends AbstractName
Class Inheritance
Static Imports
org.jooq.Name.Quoted.DEFAULT, .Name.Quoted.QUOTED, .Name.Quoted.SYSTEM, .Name.Quoted.UNQUOTED, org.jooq.impl.Tools.stringLiteral

The default implementation for an unqualified SQL identifier.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv final String
pack-priv final Name.Quoted
Inherited from org.jooq.impl.AbstractName:
NO_NAME

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
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 boolean
empty()

Implements org.jooq.Name.empty.

Whether this is the empty name.
public final String
first()

Implements org.jooq.Name.first.

Get the first segment of the qualified name (usually a Catalog or Schema name).
public final String[]
getName()

Implements org.jooq.Name.getName.

The qualified name of this SQL identifier.
public int
hashCode()

Implements abstract org.jooq.impl.AbstractName.hashCode.

Implements org.jooq.QueryPart.hashCode.

Generate a hash code from this QueryPart.
public final String
last()

Implements org.jooq.Name.last.

Get the last segment of the qualified name (usually a Table, Field, or Parameter name).
public final Name[]
parts()

Implements org.jooq.Name.parts.

Get the individual, unqualified name parts of this name.
public final boolean
qualified()

Implements org.jooq.Name.qualified.

Whether this is a qualified name.
public final Name
qualifier()

Implements org.jooq.Name.qualifier.

This name's qualifier (if it is qualified()), or null.
public final boolean
qualifierQualified()

Implements org.jooq.Name.qualifierQualified.

Whether this is a qualified name and the qualifier() is also a qualified name.
public final Name.Quoted
quoted()

Implements org.jooq.Name.quoted.

Whether this is a quoted name.
public final Name
quotedName()

Implements org.jooq.Name.quotedName.

This name, quoted.
public final Name
unqualifiedName()

Implements org.jooq.Name.unqualifiedName.

This name, unqualified.
public final Name
unquotedName()

Implements org.jooq.Name.unquotedName.

This name, unquoted.
Inherited from org.jooq.impl.AbstractName:
appendappendasasasasMaterializedasNotMaterializedcompareToequalsequalsIgnoreCasefieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfieldsfields

Field Detail

nameback to summary
pack-priv final String name
quotedback to summary
pack-priv final Name.Quoted quoted

Constructor Detail

UnqualifiedNameback to summary
pack-priv UnqualifiedName(String name)
UnqualifiedNameback to summary
pack-priv UnqualifiedName(String name, Name.Quoted quoted)

Method Detail

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
emptyback to summary
public final boolean empty()

Implements org.jooq.Name.empty.

Doc from org.jooq.Name.empty.

Whether this is the empty name.

An unnamed object will have an "" empty string as its name. If a table has no explicit schema, it will be located in the default schema whose name is "".

Annotations
@Override
firstback to summary
public final String first()

Implements org.jooq.Name.first.

Doc from org.jooq.Name.first.

Get the first segment of the qualified name (usually a Catalog or Schema name).

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

Implements org.jooq.Name.getName.

Doc from org.jooq.Name.getName.

The qualified name of this SQL identifier.

Annotations
@Override
hashCodeback to summary
public int hashCode()

Implements abstract org.jooq.impl.AbstractName.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
lastback to summary
public final String last()

Implements org.jooq.Name.last.

Doc from org.jooq.Name.last.

Get the last segment of the qualified name (usually a Table, Field, or Parameter name).

Annotations
@Override
partsback to summary
public final Name[] parts()

Implements org.jooq.Name.parts.

Doc from org.jooq.Name.parts.

Get the individual, unqualified name parts of this name.

Annotations
@Override
qualifiedback to summary
public final boolean qualified()

Implements org.jooq.Name.qualified.

Doc from org.jooq.Name.qualified.

Whether this is a qualified name.

This is true as soon as getName() has a length of more than 1 and qualifier() is not null.

Annotations
@Override
qualifierback to summary
public final Name qualifier()

Implements org.jooq.Name.qualifier.

Doc from org.jooq.Name.qualifier.

This name's qualifier (if it is qualified()), or null.

Annotations
@Override
qualifierQualifiedback to summary
public final boolean qualifierQualified()

Implements org.jooq.Name.qualifierQualified.

Doc from org.jooq.Name.qualifierQualified.

Whether this is a qualified name and the qualifier() is also a qualified name.

This is true as soon as getName() has a length of more than 2 and qualifier() is not null and its qualified() property is also true.

Annotations
@Override
quotedback to summary
public final Name.Quoted quoted()

Implements org.jooq.Name.quoted.

Doc from org.jooq.Name.quoted.

Whether this is a quoted name.

Annotations
@Override
quotedNameback to summary
public final Name quotedName()

Implements org.jooq.Name.quotedName.

Doc from org.jooq.Name.quotedName.

This name, quoted.

Annotations
@Override
unqualifiedNameback to summary
public final Name unqualifiedName()

Implements org.jooq.Name.unqualifiedName.

Doc from org.jooq.Name.unqualifiedName.

This name, unqualified.

Annotations
@Override
unquotedNameback to summary
public final Name unquotedName()

Implements org.jooq.Name.unquotedName.

Doc from org.jooq.Name.unquotedName.

This name, unquoted.

Annotations
@Override