Top Description Inners Fields Constructors Methods
org.jooq.impl

pack-priv final Class Snapshot

extends AbstractMeta
Class Inheritance
Static Imports
java.util.Collections.unmodifiableList, org.jooq.impl.Tools.EMPTY_CHECK, .Tools.map

An implementation of Meta which can be used to create fully self-contained copies of other Meta objects.
Author
Knut Wannheden

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
private class
Snapshot.SnapshotDomain<T>

Deprecated as a consequence of DomainImpl being deprecated.
private class
private class
Snapshot.SnapshotSequence<T extends Number>

Deprecated as a consequence of SequenceImpl being deprecated.
private class
Snapshot.SnapshotTable<R extends Record>

Deprecated as a consequence of TableImpl being deprecated.
private class
Snapshot.SnapshotUDT<R extends UDTRecord<R>>

Deprecated as a consequence of UDTImpl being deprecated.

Field Summary

Modifier and TypeField and Description
private Meta

Constructor Summary

AccessConstructor and Description
pack-priv
Snapshot(Meta meta)

Method Summary

Modifier and TypeMethod and Description
pack-priv final List<Catalog>
private final void
Inherited from org.jooq.impl.AbstractMeta:
applyapplyapplyapplycopyFKddlddlequalsfilterCatalogsfilterDomainsfilterForeignKeysfilterIndexesfilterPrimaryKeysfilterSchemasfilterSequencesfilterTablesfilterUniqueKeysgetCataloggetCataloggetCatalogsgetDomainsgetDomainsgetDomainsgetDomains0getForeignKeysgetForeignKeysgetForeignKeysgetForeignKeys0getIndexesgetIndexesgetIndexesgetIndexes0getPrimaryKeysgetPrimaryKeysgetPrimaryKeysgetPrimaryKeys0getSchemasgetSchemasgetSchemasgetSchemas0getSequencesgetSequencesgetSequencesgetSequences0getTablesgetTablesgetTablesgetTables0getUniqueKeysgetUniqueKeysgetUniqueKeysgetUniqueKeys0hashCodeinformationSchemalookupKeylookupTablelookupUniqueKeymigrateTomigrateTosnapshottoString

Field Detail

delegateback to summary
private Meta delegate

Constructor Detail

Snapshotback to summary
pack-priv Snapshot(Meta meta)

Method Detail

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

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

Annotations
@Override
resolveReferencesback to summary
private final void resolveReferences()
org.jooq.impl back to summary

private Class Snapshot.SnapshotCatalog

extends CatalogImpl
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final List<Snapshot.SnapshotSchema>
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.
private final void
Inherited from org.jooq.impl.CatalogImpl:
acceptclausesequalsgetSchemagetSchemaschemaStream

Field Detail

schemasback to summary
private final List<Snapshot.SnapshotSchema> schemas

Constructor Detail

SnapshotCatalogback to summary
pack-priv SnapshotCatalog(Catalog catalog)

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
resolveReferencesback to summary
private final void resolveReferences()
org.jooq.impl back to summary

private Class Snapshot.SnapshotDomain<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

Method Summary

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

Constructor Detail

SnapshotDomainback to summary
pack-priv SnapshotDomain(Snapshot.SnapshotSchema schema, Domain<T> domain)
org.jooq.impl back to summary

private Class Snapshot.SnapshotSchema

extends SchemaImpl
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final List<Snapshot.SnapshotDomain<?>>
private final List<Snapshot.SnapshotSequence<?>>
private final List<Snapshot.SnapshotTable<?>>
private final List<Snapshot.SnapshotUDT<?>>
Inherited from org.jooq.impl.SchemaImpl:
DEFAULT_SCHEMA

Constructor Summary

AccessConstructor and Description
pack-priv

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.
pack-priv final void
Inherited from org.jooq.impl.SchemaImpl:
acceptclausesdomainStreamequalsforeignKeyStreamgetCataloggetDomaingetDomaingetForeignKeysgetForeignKeysgetForeignKeysgetIndexesgetIndexesgetIndexesgetPrimaryKeysgetPrimaryKeysgetPrimaryKeysgetSequencegetSequencegetTablegetTablegetUDTgetUDTgetUniqueKeysgetUniqueKeysgetUniqueKeysindexStreamprimaryKeyStreamsequenceStreamtableStreamudtStreamuniqueKeyStream

Field Detail

domainsback to summary
private final List<Snapshot.SnapshotDomain<?>> domains
sequencesback to summary
private final List<Snapshot.SnapshotSequence<?>> sequences
tablesback to summary
private final List<Snapshot.SnapshotTable<?>> tables
udtsback to summary
private final List<Snapshot.SnapshotUDT<?>> udts

Constructor Detail

SnapshotSchemaback to summary
pack-priv SnapshotSchema(Snapshot.SnapshotCatalog catalog, Schema schema)

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
resolveReferencesback to summary
pack-priv final void resolveReferences()
org.jooq.impl back to summary

private Class Snapshot.SnapshotSequence<T extends java.lang.Number>

extends SequenceImpl<T 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

Method Summary

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

Constructor Detail

SnapshotSequenceback to summary
pack-priv SnapshotSequence(Snapshot.SnapshotSchema schema, Sequence<T> sequence)
org.jooq.impl back to summary

private Class Snapshot.SnapshotTable<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 List<Check<R>>
private final List<ForeignKey<R, ?>>
private final List<Index>
private UniqueKey<R>
private final List<UniqueKey<R>>
Inherited from org.jooq.impl.TableImpl:
aliaschildchildPathfieldsparameters

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private final TableField<R, ?>[]
fields(TableField<R, ?>[] tableFields)

Deprecated
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.
pack-priv final void
Inherited from org.jooq.impl.TableImpl:
acceptaliasedasasclausesdeclaresTablesequalsfieldfieldfieldfieldfieldfieldfields0fieldsRowgetAliasedTablegetRecordTypehashCodeisSimpleisSyntheticjoinrenamerenamerenamerootChild

Field Detail

checksback to summary
private final List<Check<R>> checks
foreignKeysback to summary
private final List<ForeignKey<R, ?>> foreignKeys
indexesback to summary
private final List<Index> indexes
primaryKeyback to summary
private UniqueKey<R> primaryKey
uniqueKeysback to summary
private final List<UniqueKey<R>> uniqueKeys

Constructor Detail

SnapshotTableback to summary
pack-priv SnapshotTable(Snapshot.SnapshotSchema schema, Table<R> table)

Method Detail

fieldsback to summary
private final TableField<R, ?>[] fields(TableField<R, ?>[] tableFields)

Deprecated

Annotations
@SuppressWarnings:unchecked
@Deprecated
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
@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
resolveReferencesback to summary
pack-priv final void resolveReferences()
org.jooq.impl back to summary

private Class Snapshot.SnapshotUDT<R extends org.jooq.UDTRecord<R>>

extends UDTImpl<R extends UDTRecord<R>>
Class Inheritance

Deprecated

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

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from org.jooq.impl.UDTImpl:
$schemaacceptcreateFieldcreateFieldcreateFieldcreateFieldcreateFieldcreateFieldcreateFieldcreateFieldcreateFieldcreateFieldfields0fieldsRowgetCataloggetDataTypegetPackagegetQualifiedNamegetRecordTypegetSchemaisSQLUsableisSyntheticnewRecord

Constructor Detail

SnapshotUDTback to summary
pack-priv SnapshotUDT(Snapshot.SnapshotSchema schema, UDT<R> udt)