/**
* 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 PgEnum extends TableImpl<Record> {
private static final long serialVersionUID = 1505652681;
/**
* The reference instance of <code>pg_catalog.pg_enum</code>
*/
public static final PgEnum PG_ENUM = new PgEnum();
/**
* The class holding records for this type
*/
@Override
public Class<Record> getRecordType() {
return Record.class;
}
/**
* The column <code>pg_catalog.pg_enum.enumtypid</code>.
*/
public final TableField<Record, Long> ENUMTYPID = createField("enumtypid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_enum.enumsortorder</code>.
*/
public final TableField<Record, Float> ENUMSORTORDER = createField("enumsortorder", org.jooq.impl.SQLDataType.REAL.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_enum.enumlabel</code>.
*/
public final TableField<Record, String> ENUMLABEL = createField("enumlabel", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, "");
/**
* Create a <code>pg_catalog.pg_enum</code> table reference
*/
public PgEnum() {
this("pg_enum", null);
}
/**
* Create an aliased <code>pg_catalog.pg_enum</code> table reference
*/
public PgEnum(String alias) {
this(alias, PG_ENUM);
}
private PgEnum(String alias, Table<Record> aliased) {
this(alias, aliased, null);
}
private PgEnum(String alias, Table<Record> aliased, Field<?>[] parameters) {
super(alias, PgCatalog.PG_CATALOG, aliased, parameters, "");
}
/**
* {@inheritDoc}
*/
@Override
public PgEnum as(String alias) {
return new PgEnum(alias, this);
}
/**
* Rename this table
*/
public PgEnum rename(String name) {
return new PgEnum(name, null);
}
}