Top Description Fields Constructors Methods
org.jooq.impl

public final Class LazyCatalog

extends AbstractNamed
implements Catalog
Class Inheritance
All Implemented Interfaces
org.jooq.Catalog, org.jooq.Named, org.jooq.QueryPart, java.io.Serializable
Annotations
@Internal
Imports
java.util.List, java.util.function.BiFunction, .Predicate, java.util.stream.Stream, org.jooq.Catalog, .Context, .Function1, .Internal, .Name, .Schema, .QueryPart

A schema that references a lazy initialisable Catalog singleton, for use in generated code.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv transient Catalog
pack-priv final LazySupplier<Catalog>

Constructor Summary

AccessConstructor and Description
public

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.
private final Catalog
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 final 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:
$nameequalsfindfindfindAllfindAllfindIgnoreCasefindIgnoreCasegetCommentgetCommentPartgetNamegetQualifiedNamegetUnqualifiedNamehashCodenameOrDefaultqualify

Field Detail

catalogback to summary
pack-priv transient Catalog catalog
supplierback to summary
pack-priv final LazySupplier<Catalog> supplier

Constructor Detail

LazyCatalogback to summary
public LazyCatalog(Name name, LazySupplier<Catalog> supplier)

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
catalogback to summary
private final Catalog catalog()
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 final List<Schema> getSchemas()

Implements org.jooq.Catalog.getSchemas.

Doc from org.jooq.Catalog.getSchemas.

List all schemas contained in this catalog.

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