Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class TableMetaImpl

extends AbstractMeta
Class Inheritance
Imports
java.util.ArrayList, .Arrays, .Collections, .LinkedHashSet, .List, .Set, org.jooq.Catalog, .Configuration, .DDLExportConfiguration, .Queries, .Schema, .Sequence, .Table, .UniqueKey, org.jooq.exception.DataAccessException, org.jooq.util.xml.jaxb.InformationSchema

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final Table<?>[]

Constructor Summary

AccessConstructor and Description
pack-priv
TableMetaImpl(Configuration configuration, Table<?>[] tables)

Method Summary

Modifier and TypeMethod and Description
public Queries
ddl(DDLExportConfiguration exportConfiguration)

Overrides org.jooq.impl.AbstractMeta.ddl.

Implements org.jooq.Meta.ddl.

Generate a creation script for the entire meta data.
pack-priv final List<Catalog>
pack-priv final List<UniqueKey<?>>
pack-priv final List<Schema>
pack-priv final List<Table<?>>
public InformationSchema
Inherited from org.jooq.impl.AbstractMeta:
applyapplyapplyapplycopyFKddlequalsfilterCatalogsfilterDomainsfilterForeignKeysfilterIndexesfilterPrimaryKeysfilterSchemasfilterSequencesfilterTablesfilterUniqueKeysgetCataloggetCataloggetCatalogsgetDomainsgetDomainsgetDomainsgetDomains0getForeignKeysgetForeignKeysgetForeignKeysgetForeignKeys0getIndexesgetIndexesgetIndexesgetIndexes0getPrimaryKeysgetPrimaryKeysgetPrimaryKeysgetSchemasgetSchemasgetSchemasgetSequencesgetSequencesgetSequencesgetSequences0getTablesgetTablesgetTablesgetUniqueKeysgetUniqueKeysgetUniqueKeysgetUniqueKeys0hashCodelookupKeylookupTablelookupUniqueKeymigrateTomigrateTosnapshottoString

Field Detail

tablesback to summary
private final Table<?>[] tables

Constructor Detail

TableMetaImplback to summary
pack-priv TableMetaImpl(Configuration configuration, Table<?>[] tables)

Method Detail

ddlback to summary
public Queries ddl(DDLExportConfiguration exportConfiguration) throws DataAccessException

Overrides org.jooq.impl.AbstractMeta.ddl.

Implements org.jooq.Meta.ddl.

Doc from org.jooq.Meta.ddl.

Generate a creation script for the entire meta data.

Annotations
@Override
Exceptions
DataAccessException:
If something went wrong fetching the meta objects
getCatalogs0back to summary
pack-priv final List<Catalog> getCatalogs0()

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

Annotations
@Override
getPrimaryKeys0back to summary
pack-priv final List<UniqueKey<?>> getPrimaryKeys0()

Overrides org.jooq.impl.AbstractMeta.getPrimaryKeys0.

Annotations
@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
@Override
informationSchemaback to summary
public InformationSchema informationSchema() throws DataAccessException

Overrides org.jooq.impl.AbstractMeta.informationSchema.

Implements org.jooq.Meta.informationSchema.

Doc from org.jooq.Meta.informationSchema.

Export to the InformationSchema format.

This allows for serialising schema meta information as XML using JAXB. See also Constants#XSD_META for details.

Annotations
@Override