Top Inners Fields Constructors Methods
org.jooq.impl

pack-priv final Class InformationSchemaMetaImpl

extends AbstractMeta
Class Inheritance
Static Imports
java.lang.Boolean.FALSE, .Boolean.TRUE, java.util.Collections.emptyList, .Comparator.comparing, .Comparator.comparingInt, org.jooq.impl.DSL.name, .QOM.GenerationOption.STORED, .QOM.GenerationOption.VIRTUAL, .Tools.EMPTY_CHECK, .Tools.EMPTY_SORTFIELD, org.jooq.tools.StringUtils.defaultIfNull, org.jooq.util.xml.jaxb.TableConstraintType.PRIMARY_KEY

Author
Lukas Eder

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
private static class
InformationSchemaMetaImpl.InformationSchemaDomain<T>

Deprecated as a consequence of DomainImpl being deprecated.
private class
private static class
InformationSchemaMetaImpl.InformationSchemaSequence<N extends Number>

Deprecated as a consequence of SequenceImpl being deprecated.
private static class
InformationSchemaMetaImpl.InformationSchemaTable

Deprecated as a consequence of TableImpl being deprecated.

Field Summary

Modifier and TypeField and Description
private final List<Catalog>
private final Map<Name, Catalog>
private final List<InformationSchemaMetaImpl.InformationSchemaDomain<?>>
private final Map<Name, InformationSchemaMetaImpl.InformationSchemaDomain<?>>
private final Map<Schema, List<InformationSchemaMetaImpl.InformationSchemaDomain<?>>>
private final Map<Name, IndexImpl>
private final Map<Name, UniqueKeyImpl<Record>>
private final List<UniqueKeyImpl<Record>>
private final Map<Name, Name>
private final List<Schema>
private final Map<Name, Schema>
private final Map<Catalog, List<Schema>>
private final List<Sequence<?>>
private final Map<Schema, List<Sequence<?>>>
private final List<InformationSchemaMetaImpl.InformationSchemaTable>
private final Map<Name, InformationSchemaMetaImpl.InformationSchemaTable>
private final Map<Schema, List<InformationSchemaMetaImpl.InformationSchemaTable>>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv final List<Catalog>
pack-priv final List<Domain<?>>
pack-priv final List<UniqueKey<?>>
pack-priv final List<Schema>
pack-priv final List<Table<?>>
private final void
private final <K, V> void
initLookup(Map<K, List<V>> lookup, K key, V value)

private final DataType<?>
type(String typeName, int length, int precision, int scale, boolean nullable, boolean readonly, Field<?> generatedAlwaysAs, QOM.GenerationOption generationOption)

Deprecated as a consequence of Field being deprecated.
private static final <T> List<T>
unmodifiableList(List<? extends T> list)

Inherited from org.jooq.impl.AbstractMeta:
applyapplyapplyapplycopyFKddlddlequalsfilterCatalogsfilterDomainsfilterForeignKeysfilterIndexesfilterPrimaryKeysfilterSchemasfilterSequencesfilterTablesfilterUniqueKeysgetCataloggetCataloggetCatalogsgetDomainsgetDomainsgetDomainsgetForeignKeysgetForeignKeysgetForeignKeysgetForeignKeys0getIndexesgetIndexesgetIndexesgetIndexes0getPrimaryKeysgetPrimaryKeysgetPrimaryKeysgetSchemasgetSchemasgetSchemasgetSequencesgetSequencesgetSequencesgetSequences0getTablesgetTablesgetTablesgetUniqueKeysgetUniqueKeysgetUniqueKeysgetUniqueKeys0hashCodeinformationSchemalookupKeylookupTablelookupUniqueKeymigrateTomigrateTosnapshottoString

Field Detail

catalogsback to summary
private final List<Catalog> catalogs
catalogsByNameback to summary
private final Map<Name, Catalog> catalogsByName
domainsback to summary
private final List<InformationSchemaMetaImpl.InformationSchemaDomain<?>> domains
domainsByNameback to summary
private final Map<Name, InformationSchemaMetaImpl.InformationSchemaDomain<?>> domainsByName
domainsPerSchemaback to summary
private final Map<Schema, List<InformationSchemaMetaImpl.InformationSchemaDomain<?>>> domainsPerSchema
indexesByNameback to summary
private final Map<Name, IndexImpl> indexesByName
keysByNameback to summary
private final Map<Name, UniqueKeyImpl<Record>> keysByName
primaryKeysback to summary
private final List<UniqueKeyImpl<Record>> primaryKeys
referentialKeysback to summary
private final Map<Name, Name> referentialKeys
schemasback to summary
private final List<Schema> schemas
schemasByNameback to summary
private final Map<Name, Schema> schemasByName
schemasPerCatalogback to summary
private final Map<Catalog, List<Schema>> schemasPerCatalog
sequencesback to summary
private final List<Sequence<?>> sequences
sequencesPerSchemaback to summary
private final Map<Schema, List<Sequence<?>>> sequencesPerSchema
tablesback to summary
private final List<InformationSchemaMetaImpl.InformationSchemaTable> tables
tablesByNameback to summary
private final Map<Name, InformationSchemaMetaImpl.InformationSchemaTable> tablesByName
tablesPerSchemaback to summary
private final Map<Schema, List<InformationSchemaMetaImpl.InformationSchemaTable>> tablesPerSchema

Constructor Detail

InformationSchemaMetaImplback to summary
pack-priv InformationSchemaMetaImpl(Configuration configuration, InformationSchema source)

Method Detail

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

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

Annotations
@Override
getDomains0back to summary
pack-priv final List<Domain<?>> getDomains0()

Overrides org.jooq.impl.AbstractMeta.getDomains0.

Annotations
@SuppressWarnings:unchecked, rawtypes
@Override
getPrimaryKeys0back to summary
pack-priv final List<UniqueKey<?>> getPrimaryKeys0()

Overrides org.jooq.impl.AbstractMeta.getPrimaryKeys0.

Annotations
@SuppressWarnings:unchecked, rawtypes
@Override
getSchemas0back to summary
pack-priv final List<Schema> getSchemas0()

Overrides org.jooq.impl.AbstractMeta.getSchemas0.

Annotations
@Override
getTables0back to summary
pack-priv final List<Table<?>> getTables0()

Overrides org.jooq.impl.AbstractMeta.getTables0.

Annotations
@SuppressWarnings:unchecked, rawtypes
@Override
initback to summary
private final void init(InformationSchema meta)
Annotations
@SuppressWarnings:unchecked, rawtypes
initLookupback to summary
private final <K, V> void initLookup(Map<K, List<V>> lookup, K key, V value)
typeback to summary
private final DataType<?> type(String typeName, int length, int precision, int scale, boolean nullable, boolean readonly, Field<?> generatedAlwaysAs, QOM.GenerationOption generationOption)

Deprecated

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

Annotations
@SuppressWarnings:unchecked
unmodifiableListback to summary
private static final <T> List<T> unmodifiableList(List<? extends T> list)
org.jooq.impl back to summary

private final Class InformationSchemaMetaImpl.InformationSchemaCatalog

extends CatalogImpl
Class Inheritance

Field Summary

Inherited from org.jooq.impl.CatalogImpl:
DEFAULT_CATALOG

Constructor Summary

AccessConstructor and Description
pack-priv

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

Constructor Detail

InformationSchemaCatalogback to summary
pack-priv InformationSchemaCatalog(String name, String comment)

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 final Class InformationSchemaMetaImpl.InformationSchemaDomain<T>

extends DomainImpl<T>
Class Inheritance

Deprecated

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

Constructor Summary

AccessConstructor and Description
pack-priv
InformationSchemaDomain(Schema schema, Name name, DataType<T> type, Check<?>[] checks)

Method Summary

Inherited from org.jooq.impl.DomainImpl:
$dataType$schemaacceptgetBindinggetCataloggetChecksgetConvertergetDataTypegetDataTypegetSchemagetType

Constructor Detail

InformationSchemaDomainback to summary
pack-priv InformationSchemaDomain(Schema schema, Name name, DataType<T> type, Check<?>[] checks)
org.jooq.impl back to summary

private final Class InformationSchemaMetaImpl.InformationSchemaSchema

extends SchemaImpl
Class Inheritance

Field Summary

Inherited from org.jooq.impl.SchemaImpl:
DEFAULT_SCHEMA

Constructor Summary

AccessConstructor and Description
pack-priv
InformationSchemaSchema(String name, Catalog catalog, String comment)

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.
Inherited from org.jooq.impl.SchemaImpl:
acceptclausesdomainStreamequalsforeignKeyStreamgetCataloggetDomaingetDomaingetForeignKeysgetForeignKeysgetForeignKeysgetIndexesgetIndexesgetIndexesgetPrimaryKeysgetPrimaryKeysgetPrimaryKeysgetSequencegetSequencegetTablegetTablegetUDTgetUDTgetUDTsgetUniqueKeysgetUniqueKeysgetUniqueKeysindexStreamprimaryKeyStreamsequenceStreamtableStreamudtStreamuniqueKeyStream

Constructor Detail

InformationSchemaSchemaback to summary
pack-priv InformationSchemaSchema(String name, Catalog catalog, String comment)

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
org.jooq.impl back to summary

private final Class InformationSchemaMetaImpl.InformationSchemaSequence<N extends java.lang.Number>

extends SequenceImpl<N extends Number>
Class Inheritance

Deprecated

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

Constructor Summary

AccessConstructor and Description
pack-priv
InformationSchemaSequence(String name, Schema schema, DataType<N> type, Number startWith, Number incrementBy, Number minvalue, Number maxvalue, Boolean cycle, Number cache)

Method Summary

Inherited from org.jooq.impl.SequenceImpl:
$schemaacceptclausescurrvalequalsgetCachegetCataloggetCyclegetIncrementBygetMaxvaluegetMinvaluegetSchemagetStartWithnextvalnextvals

Constructor Detail

InformationSchemaSequenceback to summary
pack-priv InformationSchemaSequence(String name, Schema schema, DataType<N> type, Number startWith, Number incrementBy, Number minvalue, Number maxvalue, Boolean cycle, Number cache)
org.jooq.impl back to summary

private final Class InformationSchemaMetaImpl.InformationSchemaTable

extends TableImpl<Record>
Class Inheritance

Deprecated

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

Field Summary

Modifier and TypeField and Description
pack-priv final List<Check<Record>>
pack-priv final List<ForeignKey<Record, Record>>
pack-priv final List<Index>
pack-priv UniqueKey<Record>
pack-priv final List<UniqueKey<Record>>
Inherited from org.jooq.impl.TableImpl:
aliaschildchildPathfieldsparameters

Constructor Summary

AccessConstructor and Description
pack-priv
InformationSchemaTable(String name, Schema schema, String comment, TableOptions.TableType tableType, String source)

Method Summary

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

Overrides org.jooq.impl.AbstractTable.getChecks.

Implements org.jooq.Table.getChecks.

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

Overrides org.jooq.impl.AbstractTable.getIndexes.

Implements org.jooq.Table.getIndexes.

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

Overrides org.jooq.impl.AbstractTable.getPrimaryKey.

Implements org.jooq.Table.getPrimaryKey.

Retrieve the table's primary key

Subclasses may override this method

public List<ForeignKey<Record, ?>>
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 List<UniqueKey<Record>>
getUniqueKeys()

Overrides org.jooq.impl.AbstractTable.getUniqueKeys.

Implements org.jooq.Table.getUniqueKeys.

Retrieve all of the table's unique keys.
Inherited from org.jooq.impl.TableImpl:
acceptaliasedasasclausesdeclaresTablesequalsfieldfieldfieldfieldfieldfieldfields0fieldsRowgetAliasedTablegetRecordTypehashCodeisSimpleisSyntheticjoinrenamerenamerenamerootChild

Field Detail

checksback to summary
pack-priv final List<Check<Record>> checks
foreignKeysback to summary
pack-priv final List<ForeignKey<Record, Record>> foreignKeys
indexesback to summary
pack-priv final List<Index> indexes
primaryKeyback to summary
pack-priv UniqueKey<Record> primaryKey
uniqueKeysback to summary
pack-priv final List<UniqueKey<Record>> uniqueKeys

Constructor Detail

InformationSchemaTableback to summary
pack-priv InformationSchemaTable(String name, Schema schema, String comment, TableOptions.TableType tableType, String source)

Method Detail

getChecksback to summary
public List<Check<Record>> 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 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 UniqueKey<Record> 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<Record>

Doc from org.jooq.Table.getPrimaryKey.

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

Annotations
@Override
getReferencesback to summary
public List<ForeignKey<Record, ?>> 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<Record, ?>>

Doc from org.jooq.Table.getReferences.

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

Annotations
@Override
getUniqueKeysback to summary
public List<UniqueKey<Record>> 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<Record>>

Doc from org.jooq.Table.getUniqueKeys.

All keys. This is never null.

Annotations
@Override