Top Description Fields Constructors Methods
org.jooq.impl

public Class CatalogImpl

extends AbstractNamed
implements Catalog, SimpleQueryPart
Class Inheritance
All Implemented Interfaces
org.jooq.impl.SimpleQueryPart, org.jooq.QueryPartInternal, org.jooq.QueryPart, java.io.Serializable, org.jooq.Catalog, org.jooq.Named
Known Direct Subclasses
org.jooq.impl.Snapshot.SnapshotCatalog, org.jooq.RenamedCatalog, org.jooq.impl.FilteredMeta.FilteredCatalog, org.jooq.impl.MetaImpl.MetaCatalog, org.jooq.impl.InformationSchemaMetaImpl.InformationSchemaCatalog, org.jooq.impl.Interpreter.MutableCatalog.InterpretedCatalog
Annotations
@Internal
Static Imports
org.jooq.Clause.CATALOG, .Clause.CATALOG_REFERENCE, org.jooq.impl.Tools.getMappedCatalog

A common base class for database catalogs

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

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private static final Clause[]
CLAUSES

Deprecated as a consequence of Clause being deprecated.
pack-priv static final Catalog

Constructor Summary

AccessConstructor and Description
public
public
public
CatalogImpl(Name name, Comment comment)

public
CatalogImpl(String name, String comment)

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 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 boolean
equals(Object
The other QueryPart
that
)

Overrides org.jooq.impl.AbstractNamed.equals.

Implements org.jooq.QueryPart.equals.

Check whether this QueryPart can be considered equal to another QueryPart.
public final Schema
getSchema(String name)

Implements org.jooq.Catalog.getSchema.

Get a schema by its name (case-sensitive) in this catalog, or null if no such schema exists.
public final Schema
getSchema(Name name)

Implements org.jooq.Catalog.getSchema.

Get a schema by its qualified or unqualified name in this catalog, or null if no such schema exists.
public List<Schema>
getSchemas()

Implements org.jooq.Catalog.getSchemas.

List all schemas contained in this catalog.
public final Stream<Schema>
schemaStream()

Implements org.jooq.Catalog.schemaStream.

Stream all schemas contained in this catalog.
Inherited from org.jooq.impl.AbstractNamed:
$namefindfindfindAllfindAllfindIgnoreCasefindIgnoreCasegetCommentgetCommentPartgetNamegetQualifiedNamegetUnqualifiedNamehashCodenameOrDefaultqualify

Field Detail

CLAUSESback to summary
private static final Clause[] CLAUSES

Deprecated

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

DEFAULT_CATALOGback to summary
pack-priv static final Catalog DEFAULT_CATALOG

Constructor Detail

CatalogImplback to summary
public CatalogImpl(Name name)
CatalogImplback to summary
public CatalogImpl(String name)
CatalogImplback to summary
public CatalogImpl(Name name, Comment comment)
CatalogImplback to summary
public CatalogImpl(String name, String comment)

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
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
equalsback to summary
public boolean equals(Object that)

Overrides org.jooq.impl.AbstractNamed.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
getSchemaback to summary
public final Schema getSchema(String name)

Implements org.jooq.Catalog.getSchema.

Doc from org.jooq.Catalog.getSchema.

Get a schema by its name (case-sensitive) in this catalog, or null if no such schema exists.

Annotations
@Override
getSchemaback to summary
public final Schema getSchema(Name name)

Implements org.jooq.Catalog.getSchema.

Doc from org.jooq.Catalog.getSchema.

Get a schema by its qualified or unqualified name in this catalog, or null if no such schema exists.

Annotations
@Override
getSchemasback to summary
public List<Schema> getSchemas()

Implements org.jooq.Catalog.getSchemas.

Doc from org.jooq.Catalog.getSchemas.

List all schemas contained in this catalog.

Subclasses should override this method

Annotations
@Override
schemaStreamback to summary
public final Stream<Schema> schemaStream()

Implements org.jooq.Catalog.schemaStream.

Doc from org.jooq.Catalog.schemaStream.

Stream all schemas contained in this catalog.

Annotations
@Override