/** * This class is generated by jOOQ */ package org.jooq.util.postgres.pg_catalog.tables; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Record; import org.jooq.Table; import org.jooq.TableField; 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.8.0" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgAttrdef extends TableImpl<Record> { private static final long serialVersionUID = -772871199; /** * The reference instance of <code>pg_catalog.pg_attrdef</code> */ public static final PgAttrdef PG_ATTRDEF = new PgAttrdef(); /** * The class holding records for this type */ @Override public Class<Record> getRecordType() { return Record.class; } /** * The column <code>pg_catalog.pg_attrdef.adrelid</code>. */ public final TableField<Record, Long> ADRELID = createField("adrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column <code>pg_catalog.pg_attrdef.adnum</code>. */ public final TableField<Record, Short> ADNUM = createField("adnum", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column <code>pg_catalog.pg_attrdef.adbin</code>. */ public final TableField<Record, Object> ADBIN = createField("adbin", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, ""); /** * The column <code>pg_catalog.pg_attrdef.adsrc</code>. */ public final TableField<Record, String> ADSRC = createField("adsrc", org.jooq.impl.SQLDataType.CLOB, this, ""); /** * Create a <code>pg_catalog.pg_attrdef</code> table reference */ public PgAttrdef() { this("pg_attrdef", null); } /** * Create an aliased <code>pg_catalog.pg_attrdef</code> table reference */ public PgAttrdef(String alias) { this(alias, PG_ATTRDEF); } private PgAttrdef(String alias, Table<Record> aliased) { this(alias, aliased, null); } private PgAttrdef(String alias, Table<Record> aliased, Field<?>[] parameters) { super(alias, PgCatalog.PG_CATALOG, aliased, parameters, ""); } /** * {@inheritDoc} */ @Override public PgAttrdef as(String alias) { return new PgAttrdef(alias, this); } /** * Rename this table */ public PgAttrdef rename(String name) { return new PgAttrdef(name, null); } }