package org.jooq.meta.mysql.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.mysql.information_schema.tables.CheckConstraints;
import org.jooq.meta.mysql.information_schema.tables.Columns;
import org.jooq.meta.mysql.information_schema.tables.KeyColumnUsage;
import org.jooq.meta.mysql.information_schema.tables.Parameters;
import org.jooq.meta.mysql.information_schema.tables.ReferentialConstraints;
import org.jooq.meta.mysql.information_schema.tables.Routines;
import org.jooq.meta.mysql.information_schema.tables.Schemata;
import org.jooq.meta.mysql.information_schema.tables.Statistics;
import org.jooq.meta.mysql.information_schema.tables.TableConstraints;
import org.jooq.meta.mysql.information_schema.tables.Tables;
import org.jooq.meta.mysql.information_schema.tables.Views;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InformationSchema extends SchemaImpl {
private static final long serialVersionUID = 1825826342;
public static final InformationSchema INFORMATION_SCHEMA = new InformationSchema();
public final CheckConstraints CHECK_CONSTRAINTS = CheckConstraints.CHECK_CONSTRAINTS;
public final Columns COLUMNS = Columns.COLUMNS;
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 Statistics STATISTICS = Statistics.STATISTICS;
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,
KeyColumnUsage.KEY_COLUMN_USAGE,
Parameters.PARAMETERS,
ReferentialConstraints.REFERENTIAL_CONSTRAINTS,
Routines.ROUTINES,
Schemata.SCHEMATA,
Statistics.STATISTICS,
TableConstraints.TABLE_CONSTRAINTS,
Tables.TABLES,
Views.VIEWS);
}
}