/**
* This class is generated by jOOQ
*/
package org.jooq.util.postgres.information_schema.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.information_schema.InformationSchema;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.6.0"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReferentialConstraints extends TableImpl<Record> {
private static final long serialVersionUID = 1798397642;
/**
* The reference instance of <code>information_schema.referential_constraints</code>
*/
public static final ReferentialConstraints REFERENTIAL_CONSTRAINTS = new ReferentialConstraints();
/**
* The class holding records for this type
*/
@Override
public Class<Record> getRecordType() {
return Record.class;
}
/**
* The column <code>information_schema.referential_constraints.constraint_catalog</code>.
*/
public final TableField<Record, String> CONSTRAINT_CATALOG = createField("constraint_catalog", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.referential_constraints.constraint_schema</code>.
*/
public final TableField<Record, String> CONSTRAINT_SCHEMA = createField("constraint_schema", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.referential_constraints.constraint_name</code>.
*/
public final TableField<Record, String> CONSTRAINT_NAME = createField("constraint_name", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.referential_constraints.unique_constraint_catalog</code>.
*/
public final TableField<Record, String> UNIQUE_CONSTRAINT_CATALOG = createField("unique_constraint_catalog", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.referential_constraints.unique_constraint_schema</code>.
*/
public final TableField<Record, String> UNIQUE_CONSTRAINT_SCHEMA = createField("unique_constraint_schema", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.referential_constraints.unique_constraint_name</code>.
*/
public final TableField<Record, String> UNIQUE_CONSTRAINT_NAME = createField("unique_constraint_name", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.referential_constraints.match_option</code>.
*/
public final TableField<Record, String> MATCH_OPTION = createField("match_option", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.referential_constraints.update_rule</code>.
*/
public final TableField<Record, String> UPDATE_RULE = createField("update_rule", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.referential_constraints.delete_rule</code>.
*/
public final TableField<Record, String> DELETE_RULE = createField("delete_rule", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* Create a <code>information_schema.referential_constraints</code> table reference
*/
public ReferentialConstraints() {
this("referential_constraints", null);
}
/**
* Create an aliased <code>information_schema.referential_constraints</code> table reference
*/
public ReferentialConstraints(String alias) {
this(alias, REFERENTIAL_CONSTRAINTS);
}
private ReferentialConstraints(String alias, Table<Record> aliased) {
this(alias, aliased, null);
}
private ReferentialConstraints(String alias, Table<Record> aliased, Field<?>[] parameters) {
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
}
/**
* {@inheritDoc}
*/
@Override
public ReferentialConstraints as(String alias) {
return new ReferentialConstraints(alias, this);
}
/**
* Rename this table
*/
public ReferentialConstraints rename(String name) {
return new ReferentialConstraints(name, null);
}
}