[jOOQ/jOOQ#15145] Re-generate pg_catalog

This commit is contained in:
Lukas Eder 2023-08-29 17:23:08 +02:00
parent 9c1cc75f42
commit c44250ecaa
11 changed files with 118 additions and 171 deletions

View File

@ -68,6 +68,7 @@ public class Keys {
// -------------------------------------------------------------------------
public static final ForeignKey<Record, Record> PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_CLASS = Internal.createForeignKey(PgAttribute.PG_ATTRIBUTE, DSL.name("SYNTHETIC_FK_pg_attribute__SYNTHETIC_PK_pg_class"), new TableField[] { PgAttribute.PG_ATTRIBUTE.ATTRELID }, Keys.SYNTHETIC_PK_PG_CLASS, new TableField[] { PgClass.PG_CLASS.OID }, true);
public static final ForeignKey<Record, Record> PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_TYPE = Internal.createForeignKey(PgAttribute.PG_ATTRIBUTE, DSL.name("SYNTHETIC_FK_pg_attribute__SYNTHETIC_PK_pg_type"), new TableField[] { PgAttribute.PG_ATTRIBUTE.ATTTYPID }, Keys.SYNTHETIC_PK_PG_TYPE, new TableField[] { PgType.PG_TYPE.OID }, true);
public static final ForeignKey<Record, Record> PG_CLASS__SYNTHETIC_FK_PG_CLASS__SYNTHETIC_PK_PG_NAMESPACE = Internal.createForeignKey(PgClass.PG_CLASS, DSL.name("SYNTHETIC_FK_pg_class__SYNTHETIC_PK_pg_namespace"), new TableField[] { PgClass.PG_CLASS.RELNAMESPACE }, Keys.SYNTHETIC_PK_PG_NAMESPACE, new TableField[] { PgNamespace.PG_NAMESPACE.OID }, true);
public static final ForeignKey<Record, Record> PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_CLASS = Internal.createForeignKey(PgConstraint.PG_CONSTRAINT, DSL.name("SYNTHETIC_FK_pg_constraint__SYNTHETIC_PK_pg_class"), new TableField[] { PgConstraint.PG_CONSTRAINT.CONRELID }, Keys.SYNTHETIC_PK_PG_CLASS, new TableField[] { PgClass.PG_CLASS.OID }, true);
public static final ForeignKey<Record, Record> PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_NAMESPACE = Internal.createForeignKey(PgConstraint.PG_CONSTRAINT, DSL.name("SYNTHETIC_FK_pg_constraint__SYNTHETIC_PK_pg_namespace"), new TableField[] { PgConstraint.PG_CONSTRAINT.CONNAMESPACE }, Keys.SYNTHETIC_PK_PG_NAMESPACE, new TableField[] { PgNamespace.PG_NAMESPACE.OID }, true);

View File

@ -17,6 +17,7 @@ import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.DefaultDataType;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
@ -68,7 +69,7 @@ public class PgAttrdef extends TableImpl<Record> {
* configuration.
*/
@Deprecated
public final TableField<Record, Object> ADBIN = createField(DSL.name("adbin"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\"").nullable(false), this, "");
public final TableField<Record, Object> ADBIN = createField(DSL.name("adbin"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\"").nullable(false), this, "");
private PgAttrdef(Name alias, Table<Record> aliased) {
this(alias, aliased, (Field<?>[]) null, null);

View File

@ -12,7 +12,6 @@ import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
@ -24,7 +23,6 @@ import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
import org.jooq.meta.postgres.pg_catalog.PgCatalog;
import org.jooq.meta.postgres.pg_catalog.tables.PgClass.PgClassPath;
/**
@ -211,12 +209,6 @@ public class PgAttribute extends TableImpl<Record> {
super(path, childPath, parentPath, PG_ATTRIBUTE);
}
public static class PgAttributePath extends PgAttribute implements Path<Record> {
public <O extends Record> PgAttributePath(Table<O> path, ForeignKey<O, Record> childPath, InverseForeignKey<O, Record> parentPath) {
super(path, childPath, parentPath);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : PgCatalog.PG_CATALOG;
@ -234,21 +226,33 @@ public class PgAttribute extends TableImpl<Record> {
@Override
public List<ForeignKey<Record, ?>> getReferences() {
return Arrays.asList(Keys.PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_CLASS);
return Arrays.asList(Keys.PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_CLASS, Keys.PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_TYPE);
}
private transient PgClassPath _pgClass;
private transient PgClass _pgClass;
/**
* Get the implicit join path to the <code>pg_catalog.pg_class</code> table.
*/
public PgClassPath pgClass() {
public PgClass pgClass() {
if (_pgClass == null)
_pgClass = new PgClassPath(this, Keys.PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_CLASS, null);
_pgClass = new PgClass(this, Keys.PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_CLASS, null);
return _pgClass;
}
private transient PgType _pgType;
/**
* Get the implicit join path to the <code>pg_catalog.pg_type</code> table.
*/
public PgType pgType() {
if (_pgType == null)
_pgType = new PgType(this, Keys.PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_TYPE, null);
return _pgType;
}
@Override
public PgAttribute as(String alias) {
return new PgAttribute(DSL.name(alias), this);

View File

@ -12,7 +12,6 @@ import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
@ -20,15 +19,11 @@ import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.DefaultDataType;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
import org.jooq.meta.postgres.pg_catalog.PgCatalog;
import org.jooq.meta.postgres.pg_catalog.tables.PgAttribute.PgAttributePath;
import org.jooq.meta.postgres.pg_catalog.tables.PgConstraint.PgConstraintPath;
import org.jooq.meta.postgres.pg_catalog.tables.PgIndex.PgIndexPath;
import org.jooq.meta.postgres.pg_catalog.tables.PgNamespace.PgNamespacePath;
import org.jooq.meta.postgres.pg_catalog.tables.PgSequence.PgSequencePath;
/**
@ -221,7 +216,7 @@ public class PgClass extends TableImpl<Record> {
* configuration.
*/
@Deprecated
public final TableField<Record, Object> RELPARTBOUND = createField(DSL.name("relpartbound"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
public final TableField<Record, Object> RELPARTBOUND = createField(DSL.name("relpartbound"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
private PgClass(Name alias, Table<Record> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -256,12 +251,6 @@ public class PgClass extends TableImpl<Record> {
super(path, childPath, parentPath, PG_CLASS);
}
public static class PgClassPath extends PgClass implements Path<Record> {
public <O extends Record> PgClassPath(Table<O> path, ForeignKey<O, Record> childPath, InverseForeignKey<O, Record> parentPath) {
super(path, childPath, parentPath);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : PgCatalog.PG_CATALOG;
@ -282,82 +271,82 @@ public class PgClass extends TableImpl<Record> {
return Arrays.asList(Keys.PG_CLASS__SYNTHETIC_FK_PG_CLASS__SYNTHETIC_PK_PG_NAMESPACE);
}
private transient PgNamespacePath _pgNamespace;
private transient PgNamespace _pgNamespace;
/**
* Get the implicit join path to the <code>pg_catalog.pg_namespace</code>
* table.
*/
public PgNamespacePath pgNamespace() {
public PgNamespace pgNamespace() {
if (_pgNamespace == null)
_pgNamespace = new PgNamespacePath(this, Keys.PG_CLASS__SYNTHETIC_FK_PG_CLASS__SYNTHETIC_PK_PG_NAMESPACE, null);
_pgNamespace = new PgNamespace(this, Keys.PG_CLASS__SYNTHETIC_FK_PG_CLASS__SYNTHETIC_PK_PG_NAMESPACE, null);
return _pgNamespace;
}
private transient PgAttributePath _pgAttribute;
private transient PgAttribute _pgAttribute;
/**
* Get the implicit to-many join path to the
* <code>pg_catalog.pg_attribute</code> table
*/
public PgAttributePath pgAttribute() {
public PgAttribute pgAttribute() {
if (_pgAttribute == null)
_pgAttribute = new PgAttributePath(this, null, Keys.PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_CLASS.getInverseKey());
_pgAttribute = new PgAttribute(this, null, Keys.PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_CLASS.getInverseKey());
return _pgAttribute;
}
private transient PgConstraintPath _pgConstraint;
private transient PgConstraint _pgConstraint;
/**
* Get the implicit to-many join path to the
* <code>pg_catalog.pg_constraint</code> table
*/
public PgConstraintPath pgConstraint() {
public PgConstraint pgConstraint() {
if (_pgConstraint == null)
_pgConstraint = new PgConstraintPath(this, null, Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_CLASS.getInverseKey());
_pgConstraint = new PgConstraint(this, null, Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_CLASS.getInverseKey());
return _pgConstraint;
}
private transient PgIndexPath _indexClass;
private transient PgIndex _indexClass;
/**
* Get the implicit to-many join path to the
* <code>pg_catalog.pg_index</code> table, via the <code>INDEX_CLASS</code>
* key
*/
public PgIndexPath indexClass() {
public PgIndex indexClass() {
if (_indexClass == null)
_indexClass = new PgIndexPath(this, null, Keys.PG_INDEX__INDEX_CLASS.getInverseKey());
_indexClass = new PgIndex(this, null, Keys.PG_INDEX__INDEX_CLASS.getInverseKey());
return _indexClass;
}
private transient PgIndexPath _tableClass;
private transient PgIndex _tableClass;
/**
* Get the implicit to-many join path to the
* <code>pg_catalog.pg_index</code> table, via the <code>TABLE_CLASS</code>
* key
*/
public PgIndexPath tableClass() {
public PgIndex tableClass() {
if (_tableClass == null)
_tableClass = new PgIndexPath(this, null, Keys.PG_INDEX__TABLE_CLASS.getInverseKey());
_tableClass = new PgIndex(this, null, Keys.PG_INDEX__TABLE_CLASS.getInverseKey());
return _tableClass;
}
private transient PgSequencePath _pgSequence;
private transient PgSequence _pgSequence;
/**
* Get the implicit to-many join path to the
* <code>pg_catalog.pg_sequence</code> table
*/
public PgSequencePath pgSequence() {
public PgSequence pgSequence() {
if (_pgSequence == null)
_pgSequence = new PgSequencePath(this, null, Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_CLASS.getInverseKey());
_pgSequence = new PgSequence(this, null, Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_CLASS.getInverseKey());
return _pgSequence;
}

View File

@ -12,7 +12,6 @@ import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
@ -20,12 +19,11 @@ import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.DefaultDataType;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
import org.jooq.meta.postgres.pg_catalog.PgCatalog;
import org.jooq.meta.postgres.pg_catalog.tables.PgClass.PgClassPath;
import org.jooq.meta.postgres.pg_catalog.tables.PgNamespace.PgNamespacePath;
/**
@ -183,7 +181,7 @@ public class PgConstraint extends TableImpl<Record> {
* configuration.
*/
@Deprecated
public final TableField<Record, Object> CONBIN = createField(DSL.name("conbin"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
public final TableField<Record, Object> CONBIN = createField(DSL.name("conbin"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
private PgConstraint(Name alias, Table<Record> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -218,12 +216,6 @@ public class PgConstraint extends TableImpl<Record> {
super(path, childPath, parentPath, PG_CONSTRAINT);
}
public static class PgConstraintPath extends PgConstraint implements Path<Record> {
public <O extends Record> PgConstraintPath(Table<O> path, ForeignKey<O, Record> childPath, InverseForeignKey<O, Record> parentPath) {
super(path, childPath, parentPath);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : PgCatalog.PG_CATALOG;
@ -244,27 +236,27 @@ public class PgConstraint extends TableImpl<Record> {
return Arrays.asList(Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_NAMESPACE, Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_CLASS);
}
private transient PgNamespacePath _pgNamespace;
private transient PgNamespace _pgNamespace;
/**
* Get the implicit join path to the <code>pg_catalog.pg_namespace</code>
* table.
*/
public PgNamespacePath pgNamespace() {
public PgNamespace pgNamespace() {
if (_pgNamespace == null)
_pgNamespace = new PgNamespacePath(this, Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_NAMESPACE, null);
_pgNamespace = new PgNamespace(this, Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_NAMESPACE, null);
return _pgNamespace;
}
private transient PgClassPath _pgClass;
private transient PgClass _pgClass;
/**
* Get the implicit join path to the <code>pg_catalog.pg_class</code> table.
*/
public PgClassPath pgClass() {
public PgClass pgClass() {
if (_pgClass == null)
_pgClass = new PgClassPath(this, Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_CLASS, null);
_pgClass = new PgClass(this, Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_CLASS, null);
return _pgClass;
}

View File

@ -12,7 +12,6 @@ import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
@ -24,7 +23,6 @@ import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
import org.jooq.meta.postgres.pg_catalog.PgCatalog;
import org.jooq.meta.postgres.pg_catalog.tables.PgType.PgTypePath;
/**
@ -101,12 +99,6 @@ public class PgEnum extends TableImpl<Record> {
super(path, childPath, parentPath, PG_ENUM);
}
public static class PgEnumPath extends PgEnum implements Path<Record> {
public <O extends Record> PgEnumPath(Table<O> path, ForeignKey<O, Record> childPath, InverseForeignKey<O, Record> parentPath) {
super(path, childPath, parentPath);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : PgCatalog.PG_CATALOG;
@ -127,14 +119,14 @@ public class PgEnum extends TableImpl<Record> {
return Arrays.asList(Keys.PG_ENUM__SYNTHETIC_FK_PG_ENUM__SYNTHETIC_PK_PG_TYPE);
}
private transient PgTypePath _pgType;
private transient PgType _pgType;
/**
* Get the implicit join path to the <code>pg_catalog.pg_type</code> table.
*/
public PgTypePath pgType() {
public PgType pgType() {
if (_pgType == null)
_pgType = new PgTypePath(this, Keys.PG_ENUM__SYNTHETIC_FK_PG_ENUM__SYNTHETIC_PK_PG_TYPE, null);
_pgType = new PgType(this, Keys.PG_ENUM__SYNTHETIC_FK_PG_ENUM__SYNTHETIC_PK_PG_TYPE, null);
return _pgType;
}

View File

@ -12,7 +12,6 @@ import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
@ -20,11 +19,11 @@ import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.DefaultDataType;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
import org.jooq.meta.postgres.pg_catalog.PgCatalog;
import org.jooq.meta.postgres.pg_catalog.tables.PgClass.PgClassPath;
/**
@ -126,22 +125,22 @@ public class PgIndex extends TableImpl<Record> {
/**
* The column <code>pg_catalog.pg_index.indkey</code>.
*/
public final TableField<Record, Object[]> INDKEY = createField(DSL.name("indkey"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"nt2vector\"").nullable(false).array(), this, "");
public final TableField<Record, Object[]> INDKEY = createField(DSL.name("indkey"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"nt2vector\"").nullable(false).array(), this, "");
/**
* The column <code>pg_catalog.pg_index.indcollation</code>.
*/
public final TableField<Record, Object[]> INDCOLLATION = createField(DSL.name("indcollation"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"idvector\"").nullable(false).array(), this, "");
public final TableField<Record, Object[]> INDCOLLATION = createField(DSL.name("indcollation"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"idvector\"").nullable(false).array(), this, "");
/**
* The column <code>pg_catalog.pg_index.indclass</code>.
*/
public final TableField<Record, Object[]> INDCLASS = createField(DSL.name("indclass"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"idvector\"").nullable(false).array(), this, "");
public final TableField<Record, Object[]> INDCLASS = createField(DSL.name("indclass"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"idvector\"").nullable(false).array(), this, "");
/**
* The column <code>pg_catalog.pg_index.indoption</code>.
*/
public final TableField<Record, Object[]> INDOPTION = createField(DSL.name("indoption"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"nt2vector\"").nullable(false).array(), this, "");
public final TableField<Record, Object[]> INDOPTION = createField(DSL.name("indoption"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"nt2vector\"").nullable(false).array(), this, "");
/**
* @deprecated Unknown data type. If this is a qualified, user-defined type,
@ -152,7 +151,7 @@ public class PgIndex extends TableImpl<Record> {
* configuration.
*/
@Deprecated
public final TableField<Record, Object> INDEXPRS = createField(DSL.name("indexprs"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
public final TableField<Record, Object> INDEXPRS = createField(DSL.name("indexprs"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
/**
* @deprecated Unknown data type. If this is a qualified, user-defined type,
@ -163,7 +162,7 @@ public class PgIndex extends TableImpl<Record> {
* configuration.
*/
@Deprecated
public final TableField<Record, Object> INDPRED = createField(DSL.name("indpred"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
public final TableField<Record, Object> INDPRED = createField(DSL.name("indpred"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
private PgIndex(Name alias, Table<Record> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -198,12 +197,6 @@ public class PgIndex extends TableImpl<Record> {
super(path, childPath, parentPath, PG_INDEX);
}
public static class PgIndexPath extends PgIndex implements Path<Record> {
public <O extends Record> PgIndexPath(Table<O> path, ForeignKey<O, Record> childPath, InverseForeignKey<O, Record> parentPath) {
super(path, childPath, parentPath);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : PgCatalog.PG_CATALOG;
@ -219,28 +212,28 @@ public class PgIndex extends TableImpl<Record> {
return Arrays.asList(Keys.PG_INDEX__INDEX_CLASS, Keys.PG_INDEX__TABLE_CLASS);
}
private transient PgClassPath _indexClass;
private transient PgClass _indexClass;
/**
* Get the implicit join path to the <code>pg_catalog.pg_class</code> table,
* via the <code>INDEX_CLASS</code> key.
*/
public PgClassPath indexClass() {
public PgClass indexClass() {
if (_indexClass == null)
_indexClass = new PgClassPath(this, Keys.PG_INDEX__INDEX_CLASS, null);
_indexClass = new PgClass(this, Keys.PG_INDEX__INDEX_CLASS, null);
return _indexClass;
}
private transient PgClassPath _tableClass;
private transient PgClass _tableClass;
/**
* Get the implicit join path to the <code>pg_catalog.pg_class</code> table,
* via the <code>TABLE_CLASS</code> key.
*/
public PgClassPath tableClass() {
public PgClass tableClass() {
if (_tableClass == null)
_tableClass = new PgClassPath(this, Keys.PG_INDEX__TABLE_CLASS, null);
_tableClass = new PgClass(this, Keys.PG_INDEX__TABLE_CLASS, null);
return _tableClass;
}

View File

@ -12,7 +12,6 @@ import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
@ -24,10 +23,6 @@ import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
import org.jooq.meta.postgres.pg_catalog.PgCatalog;
import org.jooq.meta.postgres.pg_catalog.tables.PgClass.PgClassPath;
import org.jooq.meta.postgres.pg_catalog.tables.PgConstraint.PgConstraintPath;
import org.jooq.meta.postgres.pg_catalog.tables.PgProc.PgProcPath;
import org.jooq.meta.postgres.pg_catalog.tables.PgType.PgTypePath;
/**
@ -104,12 +99,6 @@ public class PgNamespace extends TableImpl<Record> {
super(path, childPath, parentPath, PG_NAMESPACE);
}
public static class PgNamespacePath extends PgNamespace implements Path<Record> {
public <O extends Record> PgNamespacePath(Table<O> path, ForeignKey<O, Record> childPath, InverseForeignKey<O, Record> parentPath) {
super(path, childPath, parentPath);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : PgCatalog.PG_CATALOG;
@ -125,54 +114,54 @@ public class PgNamespace extends TableImpl<Record> {
return Arrays.asList(Keys.PG_NAMESPACE_OID_INDEX, Keys.PG_NAMESPACE_NSPNAME_INDEX);
}
private transient PgClassPath _pgClass;
private transient PgClass _pgClass;
/**
* Get the implicit to-many join path to the
* <code>pg_catalog.pg_class</code> table
*/
public PgClassPath pgClass() {
public PgClass pgClass() {
if (_pgClass == null)
_pgClass = new PgClassPath(this, null, Keys.PG_CLASS__SYNTHETIC_FK_PG_CLASS__SYNTHETIC_PK_PG_NAMESPACE.getInverseKey());
_pgClass = new PgClass(this, null, Keys.PG_CLASS__SYNTHETIC_FK_PG_CLASS__SYNTHETIC_PK_PG_NAMESPACE.getInverseKey());
return _pgClass;
}
private transient PgConstraintPath _pgConstraint;
private transient PgConstraint _pgConstraint;
/**
* Get the implicit to-many join path to the
* <code>pg_catalog.pg_constraint</code> table
*/
public PgConstraintPath pgConstraint() {
public PgConstraint pgConstraint() {
if (_pgConstraint == null)
_pgConstraint = new PgConstraintPath(this, null, Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_NAMESPACE.getInverseKey());
_pgConstraint = new PgConstraint(this, null, Keys.PG_CONSTRAINT__SYNTHETIC_FK_PG_CONSTRAINT__SYNTHETIC_PK_PG_NAMESPACE.getInverseKey());
return _pgConstraint;
}
private transient PgProcPath _pgProc;
private transient PgProc _pgProc;
/**
* Get the implicit to-many join path to the <code>pg_catalog.pg_proc</code>
* table
*/
public PgProcPath pgProc() {
public PgProc pgProc() {
if (_pgProc == null)
_pgProc = new PgProcPath(this, null, Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_NAMESPACE.getInverseKey());
_pgProc = new PgProc(this, null, Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_NAMESPACE.getInverseKey());
return _pgProc;
}
private transient PgTypePath _pgType;
private transient PgType _pgType;
/**
* Get the implicit to-many join path to the <code>pg_catalog.pg_type</code>
* table
*/
public PgTypePath pgType() {
public PgType pgType() {
if (_pgType == null)
_pgType = new PgTypePath(this, null, Keys.PG_TYPE__SYNTHETIC_FK_PG_TYPE__SYNTHETIC_PK_PG_NAMESPACE.getInverseKey());
_pgType = new PgType(this, null, Keys.PG_TYPE__SYNTHETIC_FK_PG_TYPE__SYNTHETIC_PK_PG_NAMESPACE.getInverseKey());
return _pgType;
}

View File

@ -12,7 +12,6 @@ import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
@ -20,12 +19,11 @@ import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.DefaultDataType;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
import org.jooq.meta.postgres.pg_catalog.PgCatalog;
import org.jooq.meta.postgres.pg_catalog.tables.PgNamespace.PgNamespacePath;
import org.jooq.meta.postgres.pg_catalog.tables.PgType.PgTypePath;
/**
@ -147,7 +145,7 @@ public class PgProc extends TableImpl<Record> {
/**
* The column <code>pg_catalog.pg_proc.proargtypes</code>.
*/
public final TableField<Record, Object[]> PROARGTYPES = createField(DSL.name("proargtypes"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"idvector\"").nullable(false).array(), this, "");
public final TableField<Record, Object[]> PROARGTYPES = createField(DSL.name("proargtypes"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"idvector\"").nullable(false).array(), this, "");
/**
* The column <code>pg_catalog.pg_proc.proallargtypes</code>.
@ -173,7 +171,7 @@ public class PgProc extends TableImpl<Record> {
* configuration.
*/
@Deprecated
public final TableField<Record, Object> PROARGDEFAULTS = createField(DSL.name("proargdefaults"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
public final TableField<Record, Object> PROARGDEFAULTS = createField(DSL.name("proargdefaults"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
/**
* The column <code>pg_catalog.pg_proc.protrftypes</code>.
@ -199,7 +197,7 @@ public class PgProc extends TableImpl<Record> {
* configuration.
*/
@Deprecated
public final TableField<Record, Object> PROSQLBODY = createField(DSL.name("prosqlbody"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
public final TableField<Record, Object> PROSQLBODY = createField(DSL.name("prosqlbody"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
/**
* The column <code>pg_catalog.pg_proc.proconfig</code>.
@ -244,12 +242,6 @@ public class PgProc extends TableImpl<Record> {
super(path, childPath, parentPath, PG_PROC);
}
public static class PgProcPath extends PgProc implements Path<Record> {
public <O extends Record> PgProcPath(Table<O> path, ForeignKey<O, Record> childPath, InverseForeignKey<O, Record> parentPath) {
super(path, childPath, parentPath);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : PgCatalog.PG_CATALOG;
@ -270,27 +262,27 @@ public class PgProc extends TableImpl<Record> {
return Arrays.asList(Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_NAMESPACE, Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_TYPE);
}
private transient PgNamespacePath _pgNamespace;
private transient PgNamespace _pgNamespace;
/**
* Get the implicit join path to the <code>pg_catalog.pg_namespace</code>
* table.
*/
public PgNamespacePath pgNamespace() {
public PgNamespace pgNamespace() {
if (_pgNamespace == null)
_pgNamespace = new PgNamespacePath(this, Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_NAMESPACE, null);
_pgNamespace = new PgNamespace(this, Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_NAMESPACE, null);
return _pgNamespace;
}
private transient PgTypePath _pgType;
private transient PgType _pgType;
/**
* Get the implicit join path to the <code>pg_catalog.pg_type</code> table.
*/
public PgTypePath pgType() {
public PgType pgType() {
if (_pgType == null)
_pgType = new PgTypePath(this, Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_TYPE, null);
_pgType = new PgType(this, Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_TYPE, null);
return _pgType;
}

View File

@ -12,7 +12,6 @@ import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
@ -24,8 +23,6 @@ import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
import org.jooq.meta.postgres.pg_catalog.PgCatalog;
import org.jooq.meta.postgres.pg_catalog.tables.PgClass.PgClassPath;
import org.jooq.meta.postgres.pg_catalog.tables.PgType.PgTypePath;
/**
@ -122,12 +119,6 @@ public class PgSequence extends TableImpl<Record> {
super(path, childPath, parentPath, PG_SEQUENCE);
}
public static class PgSequencePath extends PgSequence implements Path<Record> {
public <O extends Record> PgSequencePath(Table<O> path, ForeignKey<O, Record> childPath, InverseForeignKey<O, Record> parentPath) {
super(path, childPath, parentPath);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : PgCatalog.PG_CATALOG;
@ -143,26 +134,26 @@ public class PgSequence extends TableImpl<Record> {
return Arrays.asList(Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_CLASS, Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_TYPE);
}
private transient PgClassPath _pgClass;
private transient PgClass _pgClass;
/**
* Get the implicit join path to the <code>pg_catalog.pg_class</code> table.
*/
public PgClassPath pgClass() {
public PgClass pgClass() {
if (_pgClass == null)
_pgClass = new PgClassPath(this, Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_CLASS, null);
_pgClass = new PgClass(this, Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_CLASS, null);
return _pgClass;
}
private transient PgTypePath _pgType;
private transient PgType _pgType;
/**
* Get the implicit join path to the <code>pg_catalog.pg_type</code> table.
*/
public PgTypePath pgType() {
public PgType pgType() {
if (_pgType == null)
_pgType = new PgTypePath(this, Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_TYPE, null);
_pgType = new PgType(this, Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_TYPE, null);
return _pgType;
}

View File

@ -12,7 +12,6 @@ import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
@ -20,14 +19,11 @@ import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.DefaultDataType;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.postgres.pg_catalog.Keys;
import org.jooq.meta.postgres.pg_catalog.PgCatalog;
import org.jooq.meta.postgres.pg_catalog.tables.PgEnum.PgEnumPath;
import org.jooq.meta.postgres.pg_catalog.tables.PgNamespace.PgNamespacePath;
import org.jooq.meta.postgres.pg_catalog.tables.PgProc.PgProcPath;
import org.jooq.meta.postgres.pg_catalog.tables.PgSequence.PgSequencePath;
/**
@ -205,7 +201,7 @@ public class PgType extends TableImpl<Record> {
* configuration.
*/
@Deprecated
public final TableField<Record, Object> TYPDEFAULTBIN = createField(DSL.name("typdefaultbin"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
public final TableField<Record, Object> TYPDEFAULTBIN = createField(DSL.name("typdefaultbin"), DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, "");
/**
* The column <code>pg_catalog.pg_type.typdefault</code>.
@ -250,12 +246,6 @@ public class PgType extends TableImpl<Record> {
super(path, childPath, parentPath, PG_TYPE);
}
public static class PgTypePath extends PgType implements Path<Record> {
public <O extends Record> PgTypePath(Table<O> path, ForeignKey<O, Record> childPath, InverseForeignKey<O, Record> parentPath) {
super(path, childPath, parentPath);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : PgCatalog.PG_CATALOG;
@ -276,54 +266,67 @@ public class PgType extends TableImpl<Record> {
return Arrays.asList(Keys.PG_TYPE__SYNTHETIC_FK_PG_TYPE__SYNTHETIC_PK_PG_NAMESPACE);
}
private transient PgNamespacePath _pgNamespace;
private transient PgNamespace _pgNamespace;
/**
* Get the implicit join path to the <code>pg_catalog.pg_namespace</code>
* table.
*/
public PgNamespacePath pgNamespace() {
public PgNamespace pgNamespace() {
if (_pgNamespace == null)
_pgNamespace = new PgNamespacePath(this, Keys.PG_TYPE__SYNTHETIC_FK_PG_TYPE__SYNTHETIC_PK_PG_NAMESPACE, null);
_pgNamespace = new PgNamespace(this, Keys.PG_TYPE__SYNTHETIC_FK_PG_TYPE__SYNTHETIC_PK_PG_NAMESPACE, null);
return _pgNamespace;
}
private transient PgEnumPath _pgEnum;
private transient PgAttribute _pgAttribute;
/**
* Get the implicit to-many join path to the
* <code>pg_catalog.pg_attribute</code> table
*/
public PgAttribute pgAttribute() {
if (_pgAttribute == null)
_pgAttribute = new PgAttribute(this, null, Keys.PG_ATTRIBUTE__SYNTHETIC_FK_PG_ATTRIBUTE__SYNTHETIC_PK_PG_TYPE.getInverseKey());
return _pgAttribute;
}
private transient PgEnum _pgEnum;
/**
* Get the implicit to-many join path to the <code>pg_catalog.pg_enum</code>
* table
*/
public PgEnumPath pgEnum() {
public PgEnum pgEnum() {
if (_pgEnum == null)
_pgEnum = new PgEnumPath(this, null, Keys.PG_ENUM__SYNTHETIC_FK_PG_ENUM__SYNTHETIC_PK_PG_TYPE.getInverseKey());
_pgEnum = new PgEnum(this, null, Keys.PG_ENUM__SYNTHETIC_FK_PG_ENUM__SYNTHETIC_PK_PG_TYPE.getInverseKey());
return _pgEnum;
}
private transient PgProcPath _pgProc;
private transient PgProc _pgProc;
/**
* Get the implicit to-many join path to the <code>pg_catalog.pg_proc</code>
* table
*/
public PgProcPath pgProc() {
public PgProc pgProc() {
if (_pgProc == null)
_pgProc = new PgProcPath(this, null, Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_TYPE.getInverseKey());
_pgProc = new PgProc(this, null, Keys.PG_PROC__SYNTHETIC_FK_PG_PROC__SYNTHETIC_PK_PG_TYPE.getInverseKey());
return _pgProc;
}
private transient PgSequencePath _pgSequence;
private transient PgSequence _pgSequence;
/**
* Get the implicit to-many join path to the
* <code>pg_catalog.pg_sequence</code> table
*/
public PgSequencePath pgSequence() {
public PgSequence pgSequence() {
if (_pgSequence == null)
_pgSequence = new PgSequencePath(this, null, Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_TYPE.getInverseKey());
_pgSequence = new PgSequence(this, null, Keys.PG_SEQUENCE__SYNTHETIC_FK_PG_SEQUENCE__SYNTHETIC_PK_PG_TYPE.getInverseKey());
return _pgSequence;
}