[#6307] Added support for PostgreSQL

This commit is contained in:
lukaseder 2017-06-09 17:18:14 +02:00
parent 20cef1d0b2
commit f249e07faf

View File

@ -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<Record> {
private static final long serialVersionUID = 1505268966;
/**
* The reference instance of <code>pg_catalog.pg_index</code>
*/
public static final PgIndex PG_INDEX = new PgIndex();
/**
* The class holding records for this type
*/
@Override
public Class<Record> getRecordType() {
return Record.class;
}
/**
* The column <code>pg_catalog.pg_index.indexrelid</code>.
*/
public final TableField<Record, Long> INDEXRELID = createField("indexrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indrelid</code>.
*/
public final TableField<Record, Long> INDRELID = createField("indrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indnatts</code>.
*/
public final TableField<Record, Short> INDNATTS = createField("indnatts", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indisunique</code>.
*/
public final TableField<Record, Boolean> INDISUNIQUE = createField("indisunique", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indisprimary</code>.
*/
public final TableField<Record, Boolean> INDISPRIMARY = createField("indisprimary", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indisexclusion</code>.
*/
public final TableField<Record, Boolean> INDISEXCLUSION = createField("indisexclusion", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indimmediate</code>.
*/
public final TableField<Record, Boolean> INDIMMEDIATE = createField("indimmediate", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indisclustered</code>.
*/
public final TableField<Record, Boolean> INDISCLUSTERED = createField("indisclustered", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indisvalid</code>.
*/
public final TableField<Record, Boolean> INDISVALID = createField("indisvalid", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indcheckxmin</code>.
*/
public final TableField<Record, Boolean> INDCHECKXMIN = createField("indcheckxmin", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indisready</code>.
*/
public final TableField<Record, Boolean> INDISREADY = createField("indisready", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indislive</code>.
*/
public final TableField<Record, Boolean> INDISLIVE = createField("indislive", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indisreplident</code>.
*/
public final TableField<Record, Boolean> INDISREPLIDENT = createField("indisreplident", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_index.indkey</code>.
*/
public final TableField<Record, Object[]> INDKEY = createField("indkey", org.jooq.impl.DefaultDataType.getDefaultDataType("int2vector").getArrayDataType(), this, "");
/**
* The column <code>pg_catalog.pg_index.indcollation</code>.
*/
public final TableField<Record, Long[]> INDCOLLATION = createField("indcollation", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, "");
/**
* The column <code>pg_catalog.pg_index.indclass</code>.
*/
public final TableField<Record, Long[]> INDCLASS = createField("indclass", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, "");
/**
* The column <code>pg_catalog.pg_index.indoption</code>.
*/
public final TableField<Record, Object[]> INDOPTION = createField("indoption", org.jooq.impl.DefaultDataType.getDefaultDataType("int2vector").getArrayDataType(), this, "");
/**
* The column <code>pg_catalog.pg_index.indexprs</code>.
*/
public final TableField<Record, Object> INDEXPRS = createField("indexprs", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, "");
/**
* The column <code>pg_catalog.pg_index.indpred</code>.
*/
public final TableField<Record, Object> INDPRED = createField("indpred", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, "");
/**
* Create a <code>pg_catalog.pg_index</code> table reference
*/
public PgIndex() {
this(DSL.name("pg_index"), null);
}
/**
* Create an aliased <code>pg_catalog.pg_index</code> table reference
*/
public PgIndex(String alias) {
this(DSL.name(alias), PG_INDEX);
}
/**
* Create an aliased <code>pg_catalog.pg_index</code> table reference
*/
public PgIndex(Name alias) {
this(alias, PG_INDEX);
}
private PgIndex(Name alias, Table<Record> aliased) {
this(alias, aliased, null);
}
private PgIndex(Name alias, Table<Record> 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);
}
}