package org.jooq.meta.hsqldb.information_schema;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
import org.jooq.meta.hsqldb.information_schema.tables.CheckConstraints;
import org.jooq.meta.hsqldb.information_schema.tables.Columns;
import org.jooq.meta.hsqldb.information_schema.tables.DomainConstraints;
import org.jooq.meta.hsqldb.information_schema.tables.Domains;
import org.jooq.meta.hsqldb.information_schema.tables.ElementTypes;
import org.jooq.meta.hsqldb.information_schema.tables.KeyColumnUsage;
import org.jooq.meta.hsqldb.information_schema.tables.Parameters;
import org.jooq.meta.hsqldb.information_schema.tables.ReferentialConstraints;
import org.jooq.meta.hsqldb.information_schema.tables.Routines;
import org.jooq.meta.hsqldb.information_schema.tables.Schemata;
import org.jooq.meta.hsqldb.information_schema.tables.Sequences;
import org.jooq.meta.hsqldb.information_schema.tables.SystemColumns;
import org.jooq.meta.hsqldb.information_schema.tables.SystemIndexinfo;
import org.jooq.meta.hsqldb.information_schema.tables.SystemTables;
import org.jooq.meta.hsqldb.information_schema.tables.TableConstraints;
import org.jooq.meta.hsqldb.information_schema.tables.Tables;
import org.jooq.meta.hsqldb.information_schema.tables.Views;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InformationSchema extends SchemaImpl {
private static final long serialVersionUID = -1879387601;
public static final InformationSchema INFORMATION_SCHEMA = new InformationSchema();
public final CheckConstraints CHECK_CONSTRAINTS = CheckConstraints.CHECK_CONSTRAINTS;
public final Columns COLUMNS = Columns.COLUMNS;
public final DomainConstraints DOMAIN_CONSTRAINTS = DomainConstraints.DOMAIN_CONSTRAINTS;
public final Domains DOMAINS = Domains.DOMAINS;
public final ElementTypes ELEMENT_TYPES = ElementTypes.ELEMENT_TYPES;
public final KeyColumnUsage KEY_COLUMN_USAGE = KeyColumnUsage.KEY_COLUMN_USAGE;
public final Parameters PARAMETERS = Parameters.PARAMETERS;
public final ReferentialConstraints REFERENTIAL_CONSTRAINTS = ReferentialConstraints.REFERENTIAL_CONSTRAINTS;
public final Routines ROUTINES = Routines.ROUTINES;
public final Schemata SCHEMATA = Schemata.SCHEMATA;
public final Sequences SEQUENCES = Sequences.SEQUENCES;
public final SystemColumns SYSTEM_COLUMNS = SystemColumns.SYSTEM_COLUMNS;
public final SystemIndexinfo SYSTEM_INDEXINFO = SystemIndexinfo.SYSTEM_INDEXINFO;
public final SystemTables SYSTEM_TABLES = SystemTables.SYSTEM_TABLES;
public final TableConstraints TABLE_CONSTRAINTS = TableConstraints.TABLE_CONSTRAINTS;
public final Tables TABLES = Tables.TABLES;
public final Views VIEWS = Views.VIEWS;
private InformationSchema() {
super("INFORMATION_SCHEMA", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.<Table<?>>asList(
CheckConstraints.CHECK_CONSTRAINTS,
Columns.COLUMNS,
DomainConstraints.DOMAIN_CONSTRAINTS,
Domains.DOMAINS,
ElementTypes.ELEMENT_TYPES,
KeyColumnUsage.KEY_COLUMN_USAGE,
Parameters.PARAMETERS,
ReferentialConstraints.REFERENTIAL_CONSTRAINTS,
Routines.ROUTINES,
Schemata.SCHEMATA,
Sequences.SEQUENCES,
SystemColumns.SYSTEM_COLUMNS,
SystemIndexinfo.SYSTEM_INDEXINFO,
SystemTables.SYSTEM_TABLES,
TableConstraints.TABLE_CONSTRAINTS,
Tables.TABLES,
Views.VIEWS);
}
}