Top Fields Constructors Methods
org.jooq.impl

pack-priv abstract Class AbstractMeta

extends AbstractScope
implements Meta, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.jooq.Meta, org.jooq.Scope
Known Direct Subclasses
org.jooq.impl.CatalogMetaImpl, org.jooq.impl.Snapshot, org.jooq.impl.FilteredMeta, org.jooq.impl.MetaImpl, org.jooq.impl.TableMetaImpl, org.jooq.impl.InformationSchemaMetaImpl
Static Imports
org.jooq.impl.DSL.name, .Tools.findAny, .Tools.flatMap, .Tools.map

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private Map<Name, Catalog>
private Map<Name, Domain<?>>
private Map<Name, ForeignKey<?, ?>>
private Map<Name, Index>
private Map<Name, UniqueKey<?>>
private Map<Name, Schema>
private Map<Name, Sequence<?>>
private Map<Name, Table<?>>
private Map<Name, UniqueKey<?>>
private Map<Name, List<Domain<?>>>
private Map<Name, List<ForeignKey<?, ?>>>
private Map<Name, List<Index>>
private Map<Name, List<UniqueKey<?>>>
private Map<Name, List<Schema>>
private Map<Name, List<Sequence<?>>>
private Map<Name, List<Table<?>>>
private Map<Name, List<UniqueKey<?>>>
Inherited from org.jooq.impl.AbstractScope:
configurationcreationTimedata

Constructor Summary

AccessConstructor and Description
pack-priv
AbstractMeta(Configuration configuration)

Method Summary

Modifier and TypeMethod and Description
public final Meta
apply(String migration)

Implements org.jooq.Meta.apply.

Apply a migration to this meta to produce a new Meta.
public final Meta
apply(Query... migration)

Implements org.jooq.Meta.apply.

Apply a migration to this meta to produce a new Meta.
public final Meta
apply(Collection<? extends Query> migration)

Implements org.jooq.Meta.apply.

Apply a migration to this meta to produce a new Meta.
public final Meta
apply(Queries migration)

Implements org.jooq.Meta.apply.

Apply a migration to this meta to produce a new Meta.
pack-priv static final <R extends Record> ForeignKey<R, ?>
copyFK(Table<R> fkTable, UniqueKey<?> uk, ForeignKey<R, ?> oldFk)

public final Queries
ddl()

Implements org.jooq.Meta.ddl.

Generate a creation script for the entire meta data.
public Queries
ddl(DDLExportConfiguration exportConfiguration)

Implements org.jooq.Meta.ddl.

Generate a creation script for the entire meta data.
public boolean
equals(Object
the reference object with which to compare.
obj
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.
public Meta
filterCatalogs(Predicate<? super Catalog> filter)

Implements org.jooq.Meta.filterCatalogs.

Create a wrapper Meta instance filtering out some catalogs.
public Meta
filterDomains(Predicate<? super Domain<?>> filter)

Implements org.jooq.Meta.filterDomains.

Create a wrapper Meta instance filtering out some domains.
public Meta
filterForeignKeys(Predicate<? super ForeignKey<?, ?>> filter)

Implements org.jooq.Meta.filterForeignKeys.

Create a wrapper Meta instance filtering out some foreign keys.
public Meta
filterIndexes(Predicate<? super Index> filter)

Implements org.jooq.Meta.filterIndexes.

Create a wrapper Meta instance filtering out some indexes.
public Meta
filterPrimaryKeys(Predicate<? super UniqueKey<?>> filter)

Implements org.jooq.Meta.filterPrimaryKeys.

Create a wrapper Meta instance filtering out some primary keys.
public Meta
filterSchemas(Predicate<? super Schema> filter)

Implements org.jooq.Meta.filterSchemas.

Create a wrapper Meta instance filtering out some schemas.
public Meta
filterSequences(Predicate<? super Sequence<?>> filter)

Implements org.jooq.Meta.filterSequences.

Create a wrapper Meta instance filtering out some sequences.
public Meta
filterTables(Predicate<? super Table<?>> filter)

Implements org.jooq.Meta.filterTables.

Create a wrapper Meta instance filtering out some tables.
public Meta
filterUniqueKeys(Predicate<? super UniqueKey<?>> filter)

Implements org.jooq.Meta.filterUniqueKeys.

Create a wrapper Meta instance filtering out some unique keys.
private final <T extends Named> List<T>
get(Name name, Iterable<T> i, Map<Name, T> qualified, Map<Name, List<T>> unqualified)

public final Catalog
getCatalog(String name)

Implements org.jooq.Meta.getCatalog.

Get a catalog object by name from the underlying meta data source, or null if no such object exists.
public final Catalog
getCatalog(Name name)

Implements org.jooq.Meta.getCatalog.

Get a catalog object by name from the underlying meta data source, or null if no such object exists.
public final List<Catalog>
getCatalogs()

Implements org.jooq.Meta.getCatalogs.

Get all catalog objects from the underlying meta data source.
pack-priv abstract List<Catalog>
public final List<Domain<?>>
getDomains(String name)

Implements org.jooq.Meta.getDomains.

Get all domain objects by name from the underlying meta data source.
public final List<Domain<?>>
getDomains(Name name)

Implements org.jooq.Meta.getDomains.

Get all domain objects by name from the underlying meta data source.
public final List<Domain<?>>
getDomains()

Implements org.jooq.Meta.getDomains.

Get all domain objects from the underlying meta data source.
pack-priv List<Domain<?>>
public final List<ForeignKey<?, ?>>
getForeignKeys(String name)

Implements org.jooq.Meta.getForeignKeys.

Get all foreign keys from the underlying meta data source.
public final List<ForeignKey<?, ?>>
getForeignKeys(Name name)

Implements org.jooq.Meta.getForeignKeys.

Get all foreign keys from the underlying meta data source.
public final List<ForeignKey<?, ?>>
getForeignKeys()

Implements org.jooq.Meta.getForeignKeys.

Get all foreign keys from the underlying meta data source.
pack-priv List<ForeignKey<?, ?>>
public final List<Index>
getIndexes(String name)

Implements org.jooq.Meta.getIndexes.

Get all indexes from the underlying meta data sources.
public final List<Index>
getIndexes(Name name)

Implements org.jooq.Meta.getIndexes.

Get all indexes from the underlying meta data sources.
public final List<Index>
getIndexes()

Implements org.jooq.Meta.getIndexes.

Get all indexes from the underlying meta data sources.
pack-priv List<Index>
public final List<UniqueKey<?>>
getPrimaryKeys(String name)

Implements org.jooq.Meta.getPrimaryKeys.

Get all primary keys from the underlying meta data source.
public final List<UniqueKey<?>>
getPrimaryKeys(Name name)

Implements org.jooq.Meta.getPrimaryKeys.

Get all primary keys from the underlying meta data source.
public final List<UniqueKey<?>>
getPrimaryKeys()

Implements org.jooq.Meta.getPrimaryKeys.

Get all primary keys from the underlying meta data source.
pack-priv List<UniqueKey<?>>
public final List<Schema>
getSchemas(String name)

Implements org.jooq.Meta.getSchemas.

Get all schema objects by name from the underlying meta data source.
public final List<Schema>
getSchemas(Name name)

Implements org.jooq.Meta.getSchemas.

Get all schema objects by name from the underlying meta data source.
public final List<Schema>
getSchemas()

Implements org.jooq.Meta.getSchemas.

Get all schema objects from the underlying meta data source.
pack-priv List<Schema>
public final List<Sequence<?>>
getSequences(String name)

Implements org.jooq.Meta.getSequences.

Get all sequence objects by name from the underlying meta data source.
public final List<Sequence<?>>
getSequences(Name name)

Implements org.jooq.Meta.getSequences.

Get all sequence objects by name from the underlying meta data source.
public final List<Sequence<?>>
getSequences()

Implements org.jooq.Meta.getSequences.

Get all sequence objects from the underlying meta data source.
pack-priv final List<Sequence<?>>
public final List<Table<?>>
getTables(String name)

Implements org.jooq.Meta.getTables.

Get all table objects by name from the underlying meta data source.
public final List<Table<?>>
getTables(Name name)

Implements org.jooq.Meta.getTables.

Get all table objects by name from the underlying meta data source.
public final List<Table<?>>
getTables()

Implements org.jooq.Meta.getTables.

Get all table objects from the underlying meta data source.
pack-priv List<Table<?>>
public final List<UniqueKey<?>>
getUniqueKeys(String name)

Implements org.jooq.Meta.getUniqueKeys.

Get all unique keys from the underlying meta data source.
public final List<UniqueKey<?>>
getUniqueKeys(Name name)

Implements org.jooq.Meta.getUniqueKeys.

Get all unique keys from the underlying meta data source.
public final List<UniqueKey<?>>
getUniqueKeys()

Implements org.jooq.Meta.getUniqueKeys.

Get all unique keys from the underlying meta data source.
pack-priv List<UniqueKey<?>>
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.
public InformationSchema
private final void
private final void
private final void
private final void
private final void
private final void
private final void
private final void
private final void
pack-priv final <R extends Record> UniqueKey<R>
lookupKey(Table<R> in, UniqueKey<?> uk)

pack-priv final Table<?>
lookupTable(Table<?> table)

pack-priv final UniqueKey<?>
public final Queries
migrateTo(Meta other)

Implements org.jooq.Meta.migrateTo.

Generate a migration script to get from this meta data to another one.
public final Queries
migrateTo(Meta other, MigrationConfiguration c)

Implements org.jooq.Meta.migrateTo.

Generate a migration script to get from this meta data to another one.
public final Meta
snapshot()

Implements org.jooq.Meta.snapshot.

Eager-create an in-memory copy of this Meta instance without any connection to the original data source.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.jooq.impl.AbstractScope:
configurationcreationTimedatadatadatadialectdslfamilysettings