diff --git a/jOOQ-meta/src/main/java/org/jooq/util/postgres/pg_catalog/tables/PgIndex.java b/jOOQ-meta/src/main/java/org/jooq/util/postgres/pg_catalog/tables/PgIndex.java new file mode 100644 index 0000000000..1c76427d0c --- /dev/null +++ b/jOOQ-meta/src/main/java/org/jooq/util/postgres/pg_catalog/tables/PgIndex.java @@ -0,0 +1,211 @@ +/* + * This file is generated by jOOQ. +*/ +package org.jooq.util.postgres.pg_catalog.tables; + + +import javax.annotation.Generated; + +import org.jooq.Field; +import org.jooq.Name; +import org.jooq.Record; +import org.jooq.Schema; +import org.jooq.Table; +import org.jooq.TableField; +import org.jooq.impl.DSL; +import org.jooq.impl.TableImpl; +import org.jooq.util.postgres.pg_catalog.PgCatalog; + + +/** + * This class is generated by jOOQ. + */ +@Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.10.0" + }, + comments = "This class is generated by jOOQ" +) +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class PgIndex extends TableImpl { + + private static final long serialVersionUID = 1505268966; + + /** + * The reference instance of pg_catalog.pg_index + */ + public static final PgIndex PG_INDEX = new PgIndex(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return Record.class; + } + + /** + * The column pg_catalog.pg_index.indexrelid. + */ + public final TableField INDEXRELID = createField("indexrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indrelid. + */ + public final TableField INDRELID = createField("indrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indnatts. + */ + public final TableField INDNATTS = createField("indnatts", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indisunique. + */ + public final TableField INDISUNIQUE = createField("indisunique", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indisprimary. + */ + public final TableField INDISPRIMARY = createField("indisprimary", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indisexclusion. + */ + public final TableField INDISEXCLUSION = createField("indisexclusion", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indimmediate. + */ + public final TableField INDIMMEDIATE = createField("indimmediate", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indisclustered. + */ + public final TableField INDISCLUSTERED = createField("indisclustered", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indisvalid. + */ + public final TableField INDISVALID = createField("indisvalid", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indcheckxmin. + */ + public final TableField INDCHECKXMIN = createField("indcheckxmin", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indisready. + */ + public final TableField INDISREADY = createField("indisready", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indislive. + */ + public final TableField INDISLIVE = createField("indislive", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indisreplident. + */ + public final TableField INDISREPLIDENT = createField("indisreplident", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_index.indkey. + */ + public final TableField INDKEY = createField("indkey", org.jooq.impl.DefaultDataType.getDefaultDataType("int2vector").getArrayDataType(), this, ""); + + /** + * The column pg_catalog.pg_index.indcollation. + */ + public final TableField INDCOLLATION = createField("indcollation", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + + /** + * The column pg_catalog.pg_index.indclass. + */ + public final TableField INDCLASS = createField("indclass", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + + /** + * The column pg_catalog.pg_index.indoption. + */ + public final TableField INDOPTION = createField("indoption", org.jooq.impl.DefaultDataType.getDefaultDataType("int2vector").getArrayDataType(), this, ""); + + /** + * The column pg_catalog.pg_index.indexprs. + */ + public final TableField INDEXPRS = createField("indexprs", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, ""); + + /** + * The column pg_catalog.pg_index.indpred. + */ + public final TableField INDPRED = createField("indpred", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, ""); + + /** + * Create a pg_catalog.pg_index table reference + */ + public PgIndex() { + this(DSL.name("pg_index"), null); + } + + /** + * Create an aliased pg_catalog.pg_index table reference + */ + public PgIndex(String alias) { + this(DSL.name(alias), PG_INDEX); + } + + /** + * Create an aliased pg_catalog.pg_index table reference + */ + public PgIndex(Name alias) { + this(alias, PG_INDEX); + } + + private PgIndex(Name alias, Table aliased) { + this(alias, aliased, null); + } + + private PgIndex(Name alias, Table aliased, Field[] parameters) { + super(alias, null, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public Schema getSchema() { + return PgCatalog.PG_CATALOG; + } + + /** + * {@inheritDoc} + */ + @Override + public PgIndex as(String alias) { + return new PgIndex(DSL.name(alias), this); + } + + /** + * {@inheritDoc} + */ + @Override + public PgIndex as(Name alias) { + return new PgIndex(alias, this); + } + + /** + * Rename this table + */ + @Override + public PgIndex rename(String name) { + return new PgIndex(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public PgIndex rename(Name name) { + return new PgIndex(name, null); + } +}