/**
* 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 TableConstraints extends TableImpl<Record> {
private static final long serialVersionUID = -1156045646;
/**
* The reference instance of <code>information_schema.table_constraints</code>
*/
public static final TableConstraints TABLE_CONSTRAINTS = new TableConstraints();
/**
* The class holding records for this type
*/
@Override
public Class<Record> getRecordType() {
return Record.class;
}
/**
* The column <code>information_schema.table_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.table_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.table_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.table_constraints.table_catalog</code>.
*/
public final TableField<Record, String> TABLE_CATALOG = createField("table_catalog", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.table_constraints.table_schema</code>.
*/
public final TableField<Record, String> TABLE_SCHEMA = createField("table_schema", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.table_constraints.table_name</code>.
*/
public final TableField<Record, String> TABLE_NAME = createField("table_name", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.table_constraints.constraint_type</code>.
*/
public final TableField<Record, String> CONSTRAINT_TYPE = createField("constraint_type", org.jooq.impl.SQLDataType.VARCHAR, this, "");
/**
* The column <code>information_schema.table_constraints.is_deferrable</code>.
*/
public final TableField<Record, String> IS_DEFERRABLE = createField("is_deferrable", org.jooq.impl.SQLDataType.VARCHAR.length(3), this, "");
/**
* The column <code>information_schema.table_constraints.initially_deferred</code>.
*/
public final TableField<Record, String> INITIALLY_DEFERRED = createField("initially_deferred", org.jooq.impl.SQLDataType.VARCHAR.length(3), this, "");
/**
* Create a <code>information_schema.table_constraints</code> table reference
*/
public TableConstraints() {
this("table_constraints", null);
}
/**
* Create an aliased <code>information_schema.table_constraints</code> table reference
*/
public TableConstraints(String alias) {
this(alias, TABLE_CONSTRAINTS);
}
private TableConstraints(String alias, Table<Record> aliased) {
this(alias, aliased, null);
}
private TableConstraints(String alias, Table<Record> aliased, Field<?>[] parameters) {
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
}
/**
* {@inheritDoc}
*/
@Override
public TableConstraints as(String alias) {
return new TableConstraints(alias, this);
}
/**
* Rename this table
*/
public TableConstraints rename(String name) {
return new TableConstraints(name, null);
}
}