Top Description Inners Fields Constructors Methods
org.jooq.impl

pack-priv final Class FilteredMeta

extends AbstractMeta
Class Inheritance
Static Imports
org.jooq.impl.Tools.map

A Meta implementation that applies filters on a delegate Meta object.
Author
Lukas Eder

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private class
private class
private class
FilteredMeta.FilteredTable<R extends Record>

Deprecated as a consequence of TableImpl being deprecated.

Field Summary

Modifier and TypeField and Description
private final Predicate<? super Catalog>
private final Predicate<? super Domain<?>>
private final Predicate<? super ForeignKey<?, ?>>
private final Predicate<? super Index>
private final AbstractMeta
private final Predicate<? super UniqueKey<?>>
private final Predicate<? super Schema>
private final Predicate<? super Sequence<?>>
private final Predicate<? super Table<?>>
private final Predicate<? super UniqueKey<?>>

Constructor Summary

AccessConstructor and Description
pack-priv
FilteredMeta(AbstractMeta meta, Predicate<? super Catalog> catalogFilter, Predicate<? super Schema> schemaFilter, Predicate<? super Table<?>> tableFilter, Predicate<? super Domain<?>> domainFilter, Predicate<? super Sequence<?>> sequenceFilter, Predicate<? super UniqueKey<?>> primaryKeyFilter, Predicate<? super UniqueKey<?>> uniqueKeyFilter, Predicate<? super ForeignKey<?, ?>> foreignKeyFilter, Predicate<? super Index> indexFilter)

Method Summary

Modifier and TypeMethod and Description
public final Meta
filterCatalogs(Predicate<? super Catalog> filter)

Overrides org.jooq.impl.AbstractMeta.filterCatalogs.

Implements org.jooq.Meta.filterCatalogs.

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

Overrides org.jooq.impl.AbstractMeta.filterDomains.

Implements org.jooq.Meta.filterDomains.

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

Overrides org.jooq.impl.AbstractMeta.filterForeignKeys.

Implements org.jooq.Meta.filterForeignKeys.

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

Overrides org.jooq.impl.AbstractMeta.filterIndexes.

Implements org.jooq.Meta.filterIndexes.

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

Overrides org.jooq.impl.AbstractMeta.filterPrimaryKeys.

Implements org.jooq.Meta.filterPrimaryKeys.

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

Overrides org.jooq.impl.AbstractMeta.filterSchemas.

Implements org.jooq.Meta.filterSchemas.

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

Overrides org.jooq.impl.AbstractMeta.filterSequences.

Implements org.jooq.Meta.filterSequences.

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

Overrides org.jooq.impl.AbstractMeta.filterTables.

Implements org.jooq.Meta.filterTables.

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

Overrides org.jooq.impl.AbstractMeta.filterUniqueKeys.

Implements org.jooq.Meta.filterUniqueKeys.

Create a wrapper Meta instance filtering out some unique keys.
pack-priv final List<Catalog>
Inherited from org.jooq.impl.AbstractMeta:
applyapplyapplyapplycopyFKddlddlequalsgetCataloggetCataloggetCatalogsgetDomainsgetDomainsgetDomainsgetDomains0getForeignKeysgetForeignKeysgetForeignKeysgetForeignKeys0getIndexesgetIndexesgetIndexesgetIndexes0getPrimaryKeysgetPrimaryKeysgetPrimaryKeysgetPrimaryKeys0getSchemasgetSchemasgetSchemasgetSchemas0getSequencesgetSequencesgetSequencesgetSequences0getTablesgetTablesgetTablesgetTables0getUniqueKeysgetUniqueKeysgetUniqueKeysgetUniqueKeys0hashCodeinformationSchemalookupKeylookupTablelookupUniqueKeymigrateTomigrateTosnapshottoString

Field Detail

catalogFilterback to summary
private final Predicate<? super Catalog> catalogFilter
domainFilterback to summary
private final Predicate<? super Domain<?>> domainFilter
foreignKeyFilterback to summary
private final Predicate<? super ForeignKey<?, ?>> foreignKeyFilter
indexFilterback to summary
private final Predicate<? super Index> indexFilter
metaback to summary
private final AbstractMeta meta
primaryKeyFilterback to summary
private final Predicate<? super UniqueKey<?>> primaryKeyFilter
schemaFilterback to summary
private final Predicate<? super Schema> schemaFilter
sequenceFilterback to summary
private final Predicate<? super Sequence<?>> sequenceFilter
tableFilterback to summary
private final Predicate<? super Table<?>> tableFilter
uniqueKeyFilterback to summary
private final Predicate<? super UniqueKey<?>> uniqueKeyFilter

Constructor Detail

FilteredMetaback to summary
pack-priv FilteredMeta(AbstractMeta meta, Predicate<? super Catalog> catalogFilter, Predicate<? super Schema> schemaFilter, Predicate<? super Table<?>> tableFilter, Predicate<? super Domain<?>> domainFilter, Predicate<? super Sequence<?>> sequenceFilter, Predicate<? super UniqueKey<?>> primaryKeyFilter, Predicate<? super UniqueKey<?>> uniqueKeyFilter, Predicate<? super ForeignKey<?, ?>> foreignKeyFilter, Predicate<? super Index> indexFilter)

Method Detail

filterCatalogsback to summary
public final Meta filterCatalogs(Predicate<? super Catalog> filter)

Overrides org.jooq.impl.AbstractMeta.filterCatalogs.

Implements org.jooq.Meta.filterCatalogs.

Doc from org.jooq.Meta.filterCatalogs.

Create a wrapper Meta instance filtering out some catalogs.

Annotations
@Override
filterDomainsback to summary
public final Meta filterDomains(Predicate<? super Domain<?>> filter)

Overrides org.jooq.impl.AbstractMeta.filterDomains.

Implements org.jooq.Meta.filterDomains.

Doc from org.jooq.Meta.filterDomains.

Create a wrapper Meta instance filtering out some domains.

Annotations
@Override
filterForeignKeysback to summary
public final Meta filterForeignKeys(Predicate<? super ForeignKey<?, ?>> filter)

Overrides org.jooq.impl.AbstractMeta.filterForeignKeys.

Implements org.jooq.Meta.filterForeignKeys.

Doc from org.jooq.Meta.filterForeignKeys.

Create a wrapper Meta instance filtering out some foreign keys.

Annotations
@Override
filterIndexesback to summary
public final Meta filterIndexes(Predicate<? super Index> filter)

Overrides org.jooq.impl.AbstractMeta.filterIndexes.

Implements org.jooq.Meta.filterIndexes.

Doc from org.jooq.Meta.filterIndexes.

Create a wrapper Meta instance filtering out some indexes.

Annotations
@Override
filterPrimaryKeysback to summary
public final Meta filterPrimaryKeys(Predicate<? super UniqueKey<?>> filter)

Overrides org.jooq.impl.AbstractMeta.filterPrimaryKeys.

Implements org.jooq.Meta.filterPrimaryKeys.

Doc from org.jooq.Meta.filterPrimaryKeys.

Create a wrapper Meta instance filtering out some primary keys.

Annotations
@Override
filterSchemasback to summary
public final Meta filterSchemas(Predicate<? super Schema> filter)

Overrides org.jooq.impl.AbstractMeta.filterSchemas.

Implements org.jooq.Meta.filterSchemas.

Doc from org.jooq.Meta.filterSchemas.

Create a wrapper Meta instance filtering out some schemas.

Annotations
@Override
filterSequencesback to summary
public final Meta filterSequences(Predicate<? super Sequence<?>> filter)

Overrides org.jooq.impl.AbstractMeta.filterSequences.

Implements org.jooq.Meta.filterSequences.

Doc from org.jooq.Meta.filterSequences.

Create a wrapper Meta instance filtering out some sequences.

Annotations
@Override
filterTablesback to summary
public final Meta filterTables(Predicate<? super Table<?>> filter)

Overrides org.jooq.impl.AbstractMeta.filterTables.

Implements org.jooq.Meta.filterTables.

Doc from org.jooq.Meta.filterTables.

Create a wrapper Meta instance filtering out some tables.

Annotations
@Override
filterUniqueKeysback to summary
public final Meta filterUniqueKeys(Predicate<? super UniqueKey<?>> filter)

Overrides org.jooq.impl.AbstractMeta.filterUniqueKeys.

Implements org.jooq.Meta.filterUniqueKeys.

Doc from org.jooq.Meta.filterUniqueKeys.

Create a wrapper Meta instance filtering out some unique keys.

Annotations
@Override
getCatalogs0back to summary
pack-priv final List<Catalog> getCatalogs0()

Implements abstract org.jooq.impl.AbstractMeta.getCatalogs0.

Annotations
@Override
org.jooq.impl back to summary

private Class FilteredMeta.And<Q extends org.jooq.QueryPart>

extends Object
implements Predicate<Q extends QueryPart>
Class Inheritance
All Implemented Interfaces
java.util.function.Predicate

Field Summary

Modifier and TypeField and Description
private final Predicate<? super Q>
private final Predicate<? super Q>

Constructor Summary

AccessConstructor and Description
pack-priv
And(Predicate<? super Q> p1, Predicate<? super Q> p2)

Method Summary

Modifier and TypeMethod and Description
public final boolean
test(Q
the input argument
q
)

Implements java.util.function.Predicate.test.

Evaluates this predicate on the given argument.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

p1back to summary
private final Predicate<? super Q> p1
p2back to summary
private final Predicate<? super Q> p2

Constructor Detail

Andback to summary
pack-priv And(Predicate<? super Q> p1, Predicate<? super Q> p2)

Method Detail

testback to summary
public final boolean test(Q q)

Implements java.util.function.Predicate.test.

Doc from java.util.function.Predicate.test.

Evaluates this predicate on the given argument.

Parameters
q:Q

the input argument

Returns:boolean

true if the input argument matches the predicate, otherwise false

Annotations
@Override
org.jooq.impl back to summary

private Class FilteredMeta.FilteredCatalog

extends CatalogImpl
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Catalog
private transient List<Schema>
Inherited from org.jooq.impl.CatalogImpl:
DEFAULT_CATALOG

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public final List<Schema>
getSchemas()

Overrides org.jooq.impl.CatalogImpl.getSchemas.

Implements org.jooq.Catalog.getSchemas.

List all schemas contained in this catalog.
Inherited from org.jooq.impl.CatalogImpl:
acceptclausesequalsgetSchemagetSchemaschemaStream

Field Detail

delegateback to summary
private final Catalog delegate
schemasback to summary
private transient List<Schema> schemas

Constructor Detail

FilteredCatalogback to summary
private FilteredCatalog(Catalog delegate)

Method Detail

getSchemasback to summary
public final List<Schema> getSchemas()

Overrides org.jooq.impl.CatalogImpl.getSchemas.

Implements org.jooq.Catalog.getSchemas.

Doc from org.jooq.impl.CatalogImpl.getSchemas.

List all schemas contained in this catalog.

Subclasses should override this method

Annotations
@Override
org.jooq.impl back to summary

private Class FilteredMeta.FilteredSchema

extends SchemaImpl
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Schema
private transient List<Domain<?>>
private transient List<Sequence<?>>
private transient List<Table<?>>
Inherited from org.jooq.impl.SchemaImpl:
DEFAULT_SCHEMA

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public final List<Domain<?>>
getDomains()

Overrides org.jooq.impl.SchemaImpl.getDomains.

Implements org.jooq.Schema.getDomains.

List all domains contained in this schema.
public final List<Sequence<?>>
getSequences()

Overrides org.jooq.impl.SchemaImpl.getSequences.

Implements org.jooq.Schema.getSequences.

List all sequences contained in this schema.
public final List<Table<?>>
getTables()

Overrides org.jooq.impl.SchemaImpl.getTables.

Implements org.jooq.Schema.getTables.

List all tables contained in this schema.
public final List<UDT<?>>
getUDTs()

Overrides org.jooq.impl.SchemaImpl.getUDTs.

Implements org.jooq.Schema.getUDTs.

List all UDTs contained in this schema.
Inherited from org.jooq.impl.SchemaImpl:
acceptclausesdomainStreamequalsforeignKeyStreamgetCataloggetDomaingetDomaingetForeignKeysgetForeignKeysgetForeignKeysgetIndexesgetIndexesgetIndexesgetPrimaryKeysgetPrimaryKeysgetPrimaryKeysgetSequencegetSequencegetTablegetTablegetUDTgetUDTgetUniqueKeysgetUniqueKeysgetUniqueKeysindexStreamprimaryKeyStreamsequenceStreamtableStreamudtStreamuniqueKeyStream

Field Detail

delegateback to summary
private final Schema delegate
domainsback to summary
private transient List<Domain<?>> domains
sequencesback to summary
private transient List<Sequence<?>> sequences
tablesback to summary
private transient List<Table<?>> tables

Constructor Detail

FilteredSchemaback to summary
private FilteredSchema(FilteredMeta.FilteredCatalog catalog, Schema delegate)

Method Detail

getDomainsback to summary
public final List<Domain<?>> getDomains()

Overrides org.jooq.impl.SchemaImpl.getDomains.

Implements org.jooq.Schema.getDomains.

Doc from org.jooq.impl.SchemaImpl.getDomains.

List all domains contained in this schema.

Subclasses should override this method

Annotations
@Override
getSequencesback to summary
public final List<Sequence<?>> getSequences()

Overrides org.jooq.impl.SchemaImpl.getSequences.

Implements org.jooq.Schema.getSequences.

Doc from org.jooq.impl.SchemaImpl.getSequences.

List all sequences contained in this schema.

Subclasses should override this method

Annotations
@Override
getTablesback to summary
public final List<Table<?>> getTables()

Overrides org.jooq.impl.SchemaImpl.getTables.

Implements org.jooq.Schema.getTables.

Doc from org.jooq.impl.SchemaImpl.getTables.

List all tables contained in this schema.

Subclasses should override this method

Annotations
@Override
getUDTsback to summary
public final List<UDT<?>> getUDTs()

Overrides org.jooq.impl.SchemaImpl.getUDTs.

Implements org.jooq.Schema.getUDTs.

Doc from org.jooq.impl.SchemaImpl.getUDTs.

List all UDTs contained in this schema.

Subclasses should override this method

Annotations
@Override
org.jooq.impl back to summary

private Class FilteredMeta.FilteredTable<R extends org.jooq.Record>

extends TableImpl<R extends Record>
Class Inheritance

Deprecated

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

Field Summary

Modifier and TypeField and Description
private final Table<R>
private transient List<Index>
private transient UniqueKey<R>
private transient List<ForeignKey<R, ?>>
private transient List<UniqueKey<R>>
Inherited from org.jooq.impl.TableImpl:
aliaschildchildPathfieldsparameters

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public final List<Check<R>>
getChecks()

Overrides org.jooq.impl.AbstractTable.getChecks.

Implements org.jooq.Table.getChecks.

Get a list of CHECK constraints of this table.
public final List<Index>
getIndexes()

Overrides org.jooq.impl.AbstractTable.getIndexes.

Implements org.jooq.Table.getIndexes.

Retrieve all of the table's indexes.
public final UniqueKey<R>
getPrimaryKey()

Overrides org.jooq.impl.AbstractTable.getPrimaryKey.

Implements org.jooq.Table.getPrimaryKey.

Retrieve the table's primary key

Subclasses may override this method

public final List<ForeignKey<R, ?>>
getReferences()

Overrides org.jooq.impl.AbstractTable.getReferences.

Implements org.jooq.Table.getReferences.

Get the list of FOREIGN KEY's of this table

Subclasses should override this method

public final List<UniqueKey<R>>
getUniqueKeys()

Overrides org.jooq.impl.AbstractTable.getUniqueKeys.

Implements org.jooq.Table.getUniqueKeys.

Retrieve all of the table's unique keys.
private final void
private final UniqueKey<R>
key(UniqueKey<R> key)

Inherited from org.jooq.impl.TableImpl:
acceptaliasedasasclausesdeclaresTablesequalsfieldfieldfieldfieldfieldfieldfields0fieldsRowgetAliasedTablegetRecordTypehashCodeisSimpleisSyntheticjoinrenamerenamerenamerootChild

Field Detail

delegateback to summary
private final Table<R> delegate
indexesback to summary
private transient List<Index> indexes
primaryKeyback to summary
private transient UniqueKey<R> primaryKey
referencesback to summary
private transient List<ForeignKey<R, ?>> references
uniqueKeysback to summary
private transient List<UniqueKey<R>> uniqueKeys

Constructor Detail

FilteredTableback to summary
private FilteredTable(FilteredMeta.FilteredSchema schema, Table<R> delegate)

Method Detail

getChecksback to summary
public final List<Check<R>> getChecks()

Overrides org.jooq.impl.AbstractTable.getChecks.

Implements org.jooq.Table.getChecks.

Doc from org.jooq.impl.AbstractTable.getChecks.

Get a list of CHECK constraints of this table.

Subclasses should override this method

Annotations
@Override
getIndexesback to summary
public final List<Index> getIndexes()

Overrides org.jooq.impl.AbstractTable.getIndexes.

Implements org.jooq.Table.getIndexes.

Doc from org.jooq.impl.AbstractTable.getIndexes.

Retrieve all of the table's indexes.

Subclasses should override this method

Returns:List<Index>

Doc from org.jooq.Table.getIndexes.

All indexes. This is never null.

Annotations
@Override
getPrimaryKeyback to summary
public final UniqueKey<R> getPrimaryKey()

Overrides org.jooq.impl.AbstractTable.getPrimaryKey.

Implements org.jooq.Table.getPrimaryKey.

Doc from org.jooq.impl.AbstractTable.getPrimaryKey.

Retrieve the table's primary key

Subclasses may override this method

Returns:UniqueKey<R>

Doc from org.jooq.Table.getPrimaryKey.

The primary key. This is never null for an updatable table.

Annotations
@Override
getReferencesback to summary
public final List<ForeignKey<R, ?>> getReferences()

Overrides org.jooq.impl.AbstractTable.getReferences.

Implements org.jooq.Table.getReferences.

Doc from org.jooq.impl.AbstractTable.getReferences.

Get the list of FOREIGN KEY's of this table

Subclasses should override this method

Returns:List<ForeignKey<R, ?>>

Doc from org.jooq.Table.getReferences.

This table's FOREIGN KEY's. This is never null.

Annotations
@SuppressWarnings:unchecked
@Override
getUniqueKeysback to summary
public final List<UniqueKey<R>> getUniqueKeys()

Overrides org.jooq.impl.AbstractTable.getUniqueKeys.

Implements org.jooq.Table.getUniqueKeys.

Doc from org.jooq.impl.AbstractTable.getUniqueKeys.

Retrieve all of the table's unique keys.

Subclasses should override this method

Returns:List<UniqueKey<R>>

Doc from org.jooq.Table.getUniqueKeys.

All keys. This is never null.

Annotations
@Override
initKeysback to summary
private final void initKeys()
keyback to summary
private final UniqueKey<R> key(UniqueKey<R> key)
Annotations
@SuppressWarnings:unchecked, rawtypes