Spring Boot Support for jOOQ (#438)
* initial commit * revision of spring boot support for jooq * initial commit for spring boot support for jooq
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
aadaba0331
commit
04c942f5d0
+19
-1
@@ -14,6 +14,19 @@
|
||||
<junit.version>4.12</junit.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<!-- Import dependency management from Spring Boot -->
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>1.3.3.RELEASE</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<!-- jOOQ -->
|
||||
<dependency>
|
||||
@@ -40,6 +53,11 @@
|
||||
<artifactId>spring-jdbc</artifactId>
|
||||
<version>${org.springframework.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-jooq</artifactId>
|
||||
<version>1.3.3.RELEASE</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Logging -->
|
||||
<dependency>
|
||||
@@ -67,7 +85,7 @@
|
||||
<artifactId>spring-test</artifactId>
|
||||
<version>${org.springframework.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Catalogs;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Collations;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.ColumnPrivileges;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Columns;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Constants;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Constraints;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.CrossReferences;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Domains;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionAliases;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionColumns;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Help;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.InDoubt;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Indexes;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Locks;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.QueryStatistics;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Rights;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Roles;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Schemata;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Sequences;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.SessionState;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Sessions;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Settings;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.TablePrivileges;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.TableTypes;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Tables;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Triggers;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.TypeInfo;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Users;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Views;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Table;
|
||||
import org.jooq.impl.SchemaImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class InformationSchema extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 436617961;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA</code>
|
||||
*/
|
||||
public static final InformationSchema INFORMATION_SCHEMA = new InformationSchema();
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private InformationSchema() {
|
||||
super("INFORMATION_SCHEMA");
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
List result = new ArrayList();
|
||||
result.addAll(getTables0());
|
||||
return result;
|
||||
}
|
||||
|
||||
private final List<Table<?>> getTables0() {
|
||||
return Arrays.<Table<?>>asList(
|
||||
QueryStatistics.QUERY_STATISTICS,
|
||||
SessionState.SESSION_STATE,
|
||||
Locks.LOCKS,
|
||||
Sessions.SESSIONS,
|
||||
Triggers.TRIGGERS,
|
||||
Domains.DOMAINS,
|
||||
Constants.CONSTANTS,
|
||||
FunctionColumns.FUNCTION_COLUMNS,
|
||||
Constraints.CONSTRAINTS,
|
||||
CrossReferences.CROSS_REFERENCES,
|
||||
InDoubt.IN_DOUBT,
|
||||
Views.VIEWS,
|
||||
Collations.COLLATIONS,
|
||||
ColumnPrivileges.COLUMN_PRIVILEGES,
|
||||
TablePrivileges.TABLE_PRIVILEGES,
|
||||
Schemata.SCHEMATA,
|
||||
FunctionAliases.FUNCTION_ALIASES,
|
||||
Rights.RIGHTS,
|
||||
Roles.ROLES,
|
||||
Users.USERS,
|
||||
Sequences.SEQUENCES,
|
||||
Help.HELP,
|
||||
Settings.SETTINGS,
|
||||
Catalogs.CATALOGS,
|
||||
TypeInfo.TYPE_INFO,
|
||||
TableTypes.TABLE_TYPES,
|
||||
Indexes.INDEXES,
|
||||
Columns.COLUMNS,
|
||||
Tables.TABLES);
|
||||
}
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema;
|
||||
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships between tables of the <code>INFORMATION_SCHEMA</code>
|
||||
* schema
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// IDENTITY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// [#1459] distribute members to avoid static initialisers > 64kb
|
||||
// -------------------------------------------------------------------------
|
||||
}
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Catalogs;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Collations;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.ColumnPrivileges;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Columns;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Constants;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Constraints;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.CrossReferences;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Domains;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionAliases;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionColumns;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Help;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.InDoubt;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Indexes;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Locks;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.QueryStatistics;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Rights;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Roles;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Schemata;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Sequences;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.SessionState;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Sessions;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Settings;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.TablePrivileges;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.TableTypes;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Triggers;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.TypeInfo;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Users;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Views;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in INFORMATION_SCHEMA
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.QUERY_STATISTICS
|
||||
*/
|
||||
public static final QueryStatistics QUERY_STATISTICS = com.baeldung.jooq.introduction.db.information_schema.tables.QueryStatistics.QUERY_STATISTICS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.SESSION_STATE
|
||||
*/
|
||||
public static final SessionState SESSION_STATE = com.baeldung.jooq.introduction.db.information_schema.tables.SessionState.SESSION_STATE;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.LOCKS
|
||||
*/
|
||||
public static final Locks LOCKS = com.baeldung.jooq.introduction.db.information_schema.tables.Locks.LOCKS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.SESSIONS
|
||||
*/
|
||||
public static final Sessions SESSIONS = com.baeldung.jooq.introduction.db.information_schema.tables.Sessions.SESSIONS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.TRIGGERS
|
||||
*/
|
||||
public static final Triggers TRIGGERS = com.baeldung.jooq.introduction.db.information_schema.tables.Triggers.TRIGGERS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.DOMAINS
|
||||
*/
|
||||
public static final Domains DOMAINS = com.baeldung.jooq.introduction.db.information_schema.tables.Domains.DOMAINS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.CONSTANTS
|
||||
*/
|
||||
public static final Constants CONSTANTS = com.baeldung.jooq.introduction.db.information_schema.tables.Constants.CONSTANTS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.FUNCTION_COLUMNS
|
||||
*/
|
||||
public static final FunctionColumns FUNCTION_COLUMNS = com.baeldung.jooq.introduction.db.information_schema.tables.FunctionColumns.FUNCTION_COLUMNS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.CONSTRAINTS
|
||||
*/
|
||||
public static final Constraints CONSTRAINTS = com.baeldung.jooq.introduction.db.information_schema.tables.Constraints.CONSTRAINTS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.CROSS_REFERENCES
|
||||
*/
|
||||
public static final CrossReferences CROSS_REFERENCES = com.baeldung.jooq.introduction.db.information_schema.tables.CrossReferences.CROSS_REFERENCES;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.IN_DOUBT
|
||||
*/
|
||||
public static final InDoubt IN_DOUBT = com.baeldung.jooq.introduction.db.information_schema.tables.InDoubt.IN_DOUBT;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.VIEWS
|
||||
*/
|
||||
public static final Views VIEWS = com.baeldung.jooq.introduction.db.information_schema.tables.Views.VIEWS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.COLLATIONS
|
||||
*/
|
||||
public static final Collations COLLATIONS = com.baeldung.jooq.introduction.db.information_schema.tables.Collations.COLLATIONS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.COLUMN_PRIVILEGES
|
||||
*/
|
||||
public static final ColumnPrivileges COLUMN_PRIVILEGES = com.baeldung.jooq.introduction.db.information_schema.tables.ColumnPrivileges.COLUMN_PRIVILEGES;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.TABLE_PRIVILEGES
|
||||
*/
|
||||
public static final TablePrivileges TABLE_PRIVILEGES = com.baeldung.jooq.introduction.db.information_schema.tables.TablePrivileges.TABLE_PRIVILEGES;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.SCHEMATA
|
||||
*/
|
||||
public static final Schemata SCHEMATA = com.baeldung.jooq.introduction.db.information_schema.tables.Schemata.SCHEMATA;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.FUNCTION_ALIASES
|
||||
*/
|
||||
public static final FunctionAliases FUNCTION_ALIASES = com.baeldung.jooq.introduction.db.information_schema.tables.FunctionAliases.FUNCTION_ALIASES;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.RIGHTS
|
||||
*/
|
||||
public static final Rights RIGHTS = com.baeldung.jooq.introduction.db.information_schema.tables.Rights.RIGHTS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.ROLES
|
||||
*/
|
||||
public static final Roles ROLES = com.baeldung.jooq.introduction.db.information_schema.tables.Roles.ROLES;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.USERS
|
||||
*/
|
||||
public static final Users USERS = com.baeldung.jooq.introduction.db.information_schema.tables.Users.USERS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.SEQUENCES
|
||||
*/
|
||||
public static final Sequences SEQUENCES = com.baeldung.jooq.introduction.db.information_schema.tables.Sequences.SEQUENCES;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.HELP
|
||||
*/
|
||||
public static final Help HELP = com.baeldung.jooq.introduction.db.information_schema.tables.Help.HELP;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.SETTINGS
|
||||
*/
|
||||
public static final Settings SETTINGS = com.baeldung.jooq.introduction.db.information_schema.tables.Settings.SETTINGS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.CATALOGS
|
||||
*/
|
||||
public static final Catalogs CATALOGS = com.baeldung.jooq.introduction.db.information_schema.tables.Catalogs.CATALOGS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.TYPE_INFO
|
||||
*/
|
||||
public static final TypeInfo TYPE_INFO = com.baeldung.jooq.introduction.db.information_schema.tables.TypeInfo.TYPE_INFO;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.TABLE_TYPES
|
||||
*/
|
||||
public static final TableTypes TABLE_TYPES = com.baeldung.jooq.introduction.db.information_schema.tables.TableTypes.TABLE_TYPES;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.INDEXES
|
||||
*/
|
||||
public static final Indexes INDEXES = com.baeldung.jooq.introduction.db.information_schema.tables.Indexes.INDEXES;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.COLUMNS
|
||||
*/
|
||||
public static final Columns COLUMNS = com.baeldung.jooq.introduction.db.information_schema.tables.Columns.COLUMNS;
|
||||
|
||||
/**
|
||||
* The table INFORMATION_SCHEMA.TABLES
|
||||
*/
|
||||
public static final com.baeldung.jooq.introduction.db.information_schema.tables.Tables TABLES = com.baeldung.jooq.introduction.db.information_schema.tables.Tables.TABLES;
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.CatalogsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Catalogs extends TableImpl<CatalogsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1558896306;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.CATALOGS</code>
|
||||
*/
|
||||
public static final Catalogs CATALOGS = new Catalogs();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<CatalogsRecord> getRecordType() {
|
||||
return CatalogsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CATALOGS.CATALOG_NAME</code>.
|
||||
*/
|
||||
public final TableField<CatalogsRecord, String> CATALOG_NAME = createField("CATALOG_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.CATALOGS</code> table reference
|
||||
*/
|
||||
public Catalogs() {
|
||||
this("CATALOGS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.CATALOGS</code> table reference
|
||||
*/
|
||||
public Catalogs(String alias) {
|
||||
this(alias, CATALOGS);
|
||||
}
|
||||
|
||||
private Catalogs(String alias, Table<CatalogsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Catalogs(String alias, Table<CatalogsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Catalogs as(String alias) {
|
||||
return new Catalogs(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Catalogs rename(String name) {
|
||||
return new Catalogs(name, null);
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.CollationsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Collations extends TableImpl<CollationsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1978393146;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.COLLATIONS</code>
|
||||
*/
|
||||
public static final Collations COLLATIONS = new Collations();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<CollationsRecord> getRecordType() {
|
||||
return CollationsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLLATIONS.NAME</code>.
|
||||
*/
|
||||
public final TableField<CollationsRecord, String> NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLLATIONS.KEY</code>.
|
||||
*/
|
||||
public final TableField<CollationsRecord, String> KEY = createField("KEY", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.COLLATIONS</code> table reference
|
||||
*/
|
||||
public Collations() {
|
||||
this("COLLATIONS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.COLLATIONS</code> table reference
|
||||
*/
|
||||
public Collations(String alias) {
|
||||
this(alias, COLLATIONS);
|
||||
}
|
||||
|
||||
private Collations(String alias, Table<CollationsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Collations(String alias, Table<CollationsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Collations as(String alias) {
|
||||
return new Collations(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Collations rename(String name) {
|
||||
return new Collations(name, null);
|
||||
}
|
||||
}
|
||||
+122
@@ -0,0 +1,122 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.ColumnPrivilegesRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ColumnPrivileges extends TableImpl<ColumnPrivilegesRecord> {
|
||||
|
||||
private static final long serialVersionUID = -282101680;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES</code>
|
||||
*/
|
||||
public static final ColumnPrivileges COLUMN_PRIVILEGES = new ColumnPrivileges();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ColumnPrivilegesRecord> getRecordType() {
|
||||
return ColumnPrivilegesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTOR</code>.
|
||||
*/
|
||||
public final TableField<ColumnPrivilegesRecord, String> GRANTOR = createField("GRANTOR", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTEE</code>.
|
||||
*/
|
||||
public final TableField<ColumnPrivilegesRecord, String> GRANTEE = createField("GRANTEE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<ColumnPrivilegesRecord, String> TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<ColumnPrivilegesRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<ColumnPrivilegesRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.COLUMN_NAME</code>.
|
||||
*/
|
||||
public final TableField<ColumnPrivilegesRecord, String> COLUMN_NAME = createField("COLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.PRIVILEGE_TYPE</code>.
|
||||
*/
|
||||
public final TableField<ColumnPrivilegesRecord, String> PRIVILEGE_TYPE = createField("PRIVILEGE_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.IS_GRANTABLE</code>.
|
||||
*/
|
||||
public final TableField<ColumnPrivilegesRecord, String> IS_GRANTABLE = createField("IS_GRANTABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES</code> table reference
|
||||
*/
|
||||
public ColumnPrivileges() {
|
||||
this("COLUMN_PRIVILEGES", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES</code> table reference
|
||||
*/
|
||||
public ColumnPrivileges(String alias) {
|
||||
this(alias, COLUMN_PRIVILEGES);
|
||||
}
|
||||
|
||||
private ColumnPrivileges(String alias, Table<ColumnPrivilegesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private ColumnPrivileges(String alias, Table<ColumnPrivilegesRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivileges as(String alias) {
|
||||
return new ColumnPrivileges(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public ColumnPrivileges rename(String name) {
|
||||
return new ColumnPrivileges(name, null);
|
||||
}
|
||||
}
|
||||
+197
@@ -0,0 +1,197 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.ColumnsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Columns extends TableImpl<ColumnsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1721995161;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.COLUMNS</code>
|
||||
*/
|
||||
public static final Columns COLUMNS = new Columns();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ColumnsRecord> getRecordType() {
|
||||
return ColumnsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> COLUMN_NAME = createField("COLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.ORDINAL_POSITION</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Integer> ORDINAL_POSITION = createField("ORDINAL_POSITION", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> COLUMN_DEFAULT = createField("COLUMN_DEFAULT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.IS_NULLABLE</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> IS_NULLABLE = createField("IS_NULLABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.DATA_TYPE</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Integer> DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.CHARACTER_MAXIMUM_LENGTH</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Integer> CHARACTER_MAXIMUM_LENGTH = createField("CHARACTER_MAXIMUM_LENGTH", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.CHARACTER_OCTET_LENGTH</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Integer> CHARACTER_OCTET_LENGTH = createField("CHARACTER_OCTET_LENGTH", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Integer> NUMERIC_PRECISION = createField("NUMERIC_PRECISION", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION_RADIX</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Integer> NUMERIC_PRECISION_RADIX = createField("NUMERIC_PRECISION_RADIX", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.NUMERIC_SCALE</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Integer> NUMERIC_SCALE = createField("NUMERIC_SCALE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.CHARACTER_SET_NAME</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> CHARACTER_SET_NAME = createField("CHARACTER_SET_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.COLLATION_NAME</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> COLLATION_NAME = createField("COLLATION_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.TYPE_NAME</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.NULLABLE</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Integer> NULLABLE = createField("NULLABLE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.IS_COMPUTED</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Boolean> IS_COMPUTED = createField("IS_COMPUTED", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.SELECTIVITY</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Integer> SELECTIVITY = createField("SELECTIVITY", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.CHECK_CONSTRAINT</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> CHECK_CONSTRAINT = createField("CHECK_CONSTRAINT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.SEQUENCE_NAME</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> SEQUENCE_NAME = createField("SEQUENCE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.COLUMNS.SOURCE_DATA_TYPE</code>.
|
||||
*/
|
||||
public final TableField<ColumnsRecord, Short> SOURCE_DATA_TYPE = createField("SOURCE_DATA_TYPE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.COLUMNS</code> table reference
|
||||
*/
|
||||
public Columns() {
|
||||
this("COLUMNS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.COLUMNS</code> table reference
|
||||
*/
|
||||
public Columns(String alias) {
|
||||
this(alias, COLUMNS);
|
||||
}
|
||||
|
||||
private Columns(String alias, Table<ColumnsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Columns(String alias, Table<ColumnsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Columns as(String alias) {
|
||||
return new Columns(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Columns rename(String name) {
|
||||
return new Columns(name, null);
|
||||
}
|
||||
}
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.ConstantsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Constants extends TableImpl<ConstantsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 107996087;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.CONSTANTS</code>
|
||||
*/
|
||||
public static final Constants CONSTANTS = new Constants();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ConstantsRecord> getRecordType() {
|
||||
return ConstantsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTANTS.CONSTANT_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<ConstantsRecord, String> CONSTANT_CATALOG = createField("CONSTANT_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTANTS.CONSTANT_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<ConstantsRecord, String> CONSTANT_SCHEMA = createField("CONSTANT_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTANTS.CONSTANT_NAME</code>.
|
||||
*/
|
||||
public final TableField<ConstantsRecord, String> CONSTANT_NAME = createField("CONSTANT_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTANTS.DATA_TYPE</code>.
|
||||
*/
|
||||
public final TableField<ConstantsRecord, Integer> DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTANTS.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<ConstantsRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTANTS.SQL</code>.
|
||||
*/
|
||||
public final TableField<ConstantsRecord, String> SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTANTS.ID</code>.
|
||||
*/
|
||||
public final TableField<ConstantsRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.CONSTANTS</code> table reference
|
||||
*/
|
||||
public Constants() {
|
||||
this("CONSTANTS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.CONSTANTS</code> table reference
|
||||
*/
|
||||
public Constants(String alias) {
|
||||
this(alias, CONSTANTS);
|
||||
}
|
||||
|
||||
private Constants(String alias, Table<ConstantsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Constants(String alias, Table<ConstantsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Constants as(String alias) {
|
||||
return new Constants(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Constants rename(String name) {
|
||||
return new Constants(name, null);
|
||||
}
|
||||
}
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.ConstraintsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Constraints extends TableImpl<ConstraintsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 529190017;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.CONSTRAINTS</code>
|
||||
*/
|
||||
public static final Constraints CONSTRAINTS = new Constraints();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ConstraintsRecord> getRecordType() {
|
||||
return ConstraintsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> CONSTRAINT_CATALOG = createField("CONSTRAINT_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> CONSTRAINT_SCHEMA = createField("CONSTRAINT_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_NAME</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> CONSTRAINT_NAME = createField("CONSTRAINT_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_TYPE</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> CONSTRAINT_TYPE = createField("CONSTRAINT_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.UNIQUE_INDEX_NAME</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> UNIQUE_INDEX_NAME = createField("UNIQUE_INDEX_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.CHECK_EXPRESSION</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> CHECK_EXPRESSION = createField("CHECK_EXPRESSION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.COLUMN_LIST</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> COLUMN_LIST = createField("COLUMN_LIST", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.SQL</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, String> SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CONSTRAINTS.ID</code>.
|
||||
*/
|
||||
public final TableField<ConstraintsRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.CONSTRAINTS</code> table reference
|
||||
*/
|
||||
public Constraints() {
|
||||
this("CONSTRAINTS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.CONSTRAINTS</code> table reference
|
||||
*/
|
||||
public Constraints(String alias) {
|
||||
this(alias, CONSTRAINTS);
|
||||
}
|
||||
|
||||
private Constraints(String alias, Table<ConstraintsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Constraints(String alias, Table<ConstraintsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Constraints as(String alias) {
|
||||
return new Constraints(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Constraints rename(String name) {
|
||||
return new Constraints(name, null);
|
||||
}
|
||||
}
|
||||
+152
@@ -0,0 +1,152 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.CrossReferencesRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CrossReferences extends TableImpl<CrossReferencesRecord> {
|
||||
|
||||
private static final long serialVersionUID = 846378739;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.CROSS_REFERENCES</code>
|
||||
*/
|
||||
public static final CrossReferences CROSS_REFERENCES = new CrossReferences();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<CrossReferencesRecord> getRecordType() {
|
||||
return CrossReferencesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> PKTABLE_CATALOG = createField("PKTABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> PKTABLE_SCHEMA = createField("PKTABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> PKTABLE_NAME = createField("PKTABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKCOLUMN_NAME</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> PKCOLUMN_NAME = createField("PKCOLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> FKTABLE_CATALOG = createField("FKTABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> FKTABLE_SCHEMA = createField("FKTABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> FKTABLE_NAME = createField("FKTABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKCOLUMN_NAME</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> FKCOLUMN_NAME = createField("FKCOLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.ORDINAL_POSITION</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, Short> ORDINAL_POSITION = createField("ORDINAL_POSITION", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.UPDATE_RULE</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, Short> UPDATE_RULE = createField("UPDATE_RULE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.DELETE_RULE</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, Short> DELETE_RULE = createField("DELETE_RULE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FK_NAME</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> FK_NAME = createField("FK_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PK_NAME</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, String> PK_NAME = createField("PK_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.CROSS_REFERENCES.DEFERRABILITY</code>.
|
||||
*/
|
||||
public final TableField<CrossReferencesRecord, Short> DEFERRABILITY = createField("DEFERRABILITY", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.CROSS_REFERENCES</code> table reference
|
||||
*/
|
||||
public CrossReferences() {
|
||||
this("CROSS_REFERENCES", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.CROSS_REFERENCES</code> table reference
|
||||
*/
|
||||
public CrossReferences(String alias) {
|
||||
this(alias, CROSS_REFERENCES);
|
||||
}
|
||||
|
||||
private CrossReferences(String alias, Table<CrossReferencesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private CrossReferences(String alias, Table<CrossReferencesRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferences as(String alias) {
|
||||
return new CrossReferences(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public CrossReferences rename(String name) {
|
||||
return new CrossReferences(name, null);
|
||||
}
|
||||
}
|
||||
+152
@@ -0,0 +1,152 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.DomainsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Domains extends TableImpl<DomainsRecord> {
|
||||
|
||||
private static final long serialVersionUID = -742107682;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.DOMAINS</code>
|
||||
*/
|
||||
public static final Domains DOMAINS = new Domains();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DomainsRecord> getRecordType() {
|
||||
return DomainsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.DOMAIN_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, String> DOMAIN_CATALOG = createField("DOMAIN_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.DOMAIN_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, String> DOMAIN_SCHEMA = createField("DOMAIN_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.DOMAIN_NAME</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, String> DOMAIN_NAME = createField("DOMAIN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.COLUMN_DEFAULT</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, String> COLUMN_DEFAULT = createField("COLUMN_DEFAULT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.IS_NULLABLE</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, String> IS_NULLABLE = createField("IS_NULLABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.DATA_TYPE</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, Integer> DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.PRECISION</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, Integer> PRECISION = createField("PRECISION", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.SCALE</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, Integer> SCALE = createField("SCALE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.TYPE_NAME</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, String> TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.SELECTIVITY</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, Integer> SELECTIVITY = createField("SELECTIVITY", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.CHECK_CONSTRAINT</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, String> CHECK_CONSTRAINT = createField("CHECK_CONSTRAINT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.SQL</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, String> SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.DOMAINS.ID</code>.
|
||||
*/
|
||||
public final TableField<DomainsRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.DOMAINS</code> table reference
|
||||
*/
|
||||
public Domains() {
|
||||
this("DOMAINS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.DOMAINS</code> table reference
|
||||
*/
|
||||
public Domains(String alias) {
|
||||
this(alias, DOMAINS);
|
||||
}
|
||||
|
||||
private Domains(String alias, Table<DomainsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Domains(String alias, Table<DomainsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Domains as(String alias) {
|
||||
return new Domains(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Domains rename(String name) {
|
||||
return new Domains(name, null);
|
||||
}
|
||||
}
|
||||
+142
@@ -0,0 +1,142 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.FunctionAliasesRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class FunctionAliases extends TableImpl<FunctionAliasesRecord> {
|
||||
|
||||
private static final long serialVersionUID = -232882186;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.FUNCTION_ALIASES</code>
|
||||
*/
|
||||
public static final FunctionAliases FUNCTION_ALIASES = new FunctionAliases();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<FunctionAliasesRecord> getRecordType() {
|
||||
return FunctionAliasesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, String> ALIAS_CATALOG = createField("ALIAS_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, String> ALIAS_SCHEMA = createField("ALIAS_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_NAME</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, String> ALIAS_NAME = createField("ALIAS_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_CLASS</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, String> JAVA_CLASS = createField("JAVA_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_METHOD</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, String> JAVA_METHOD = createField("JAVA_METHOD", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.DATA_TYPE</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, Integer> DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.TYPE_NAME</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, String> TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.COLUMN_COUNT</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, Integer> COLUMN_COUNT = createField("COLUMN_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.RETURNS_RESULT</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, Short> RETURNS_RESULT = createField("RETURNS_RESULT", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ID</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.SOURCE</code>.
|
||||
*/
|
||||
public final TableField<FunctionAliasesRecord, String> SOURCE = createField("SOURCE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.FUNCTION_ALIASES</code> table reference
|
||||
*/
|
||||
public FunctionAliases() {
|
||||
this("FUNCTION_ALIASES", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.FUNCTION_ALIASES</code> table reference
|
||||
*/
|
||||
public FunctionAliases(String alias) {
|
||||
this(alias, FUNCTION_ALIASES);
|
||||
}
|
||||
|
||||
private FunctionAliases(String alias, Table<FunctionAliasesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private FunctionAliases(String alias, Table<FunctionAliasesRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliases as(String alias) {
|
||||
return new FunctionAliases(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public FunctionAliases rename(String name) {
|
||||
return new FunctionAliases(name, null);
|
||||
}
|
||||
}
|
||||
+167
@@ -0,0 +1,167 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.FunctionColumnsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class FunctionColumns extends TableImpl<FunctionColumnsRecord> {
|
||||
|
||||
private static final long serialVersionUID = -406719584;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS</code>
|
||||
*/
|
||||
public static final FunctionColumns FUNCTION_COLUMNS = new FunctionColumns();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<FunctionColumnsRecord> getRecordType() {
|
||||
return FunctionColumnsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, String> ALIAS_CATALOG = createField("ALIAS_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, String> ALIAS_SCHEMA = createField("ALIAS_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_NAME</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, String> ALIAS_NAME = createField("ALIAS_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_CLASS</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, String> JAVA_CLASS = createField("JAVA_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_METHOD</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, String> JAVA_METHOD = createField("JAVA_METHOD", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_COUNT</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, Integer> COLUMN_COUNT = createField("COLUMN_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.POS</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, Integer> POS = createField("POS", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_NAME</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, String> COLUMN_NAME = createField("COLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.DATA_TYPE</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, Integer> DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.TYPE_NAME</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, String> TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.PRECISION</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, Integer> PRECISION = createField("PRECISION", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.SCALE</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, Short> SCALE = createField("SCALE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.RADIX</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, Short> RADIX = createField("RADIX", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.NULLABLE</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, Short> NULLABLE = createField("NULLABLE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_TYPE</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, Short> COLUMN_TYPE = createField("COLUMN_TYPE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_DEFAULT</code>.
|
||||
*/
|
||||
public final TableField<FunctionColumnsRecord, String> COLUMN_DEFAULT = createField("COLUMN_DEFAULT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS</code> table reference
|
||||
*/
|
||||
public FunctionColumns() {
|
||||
this("FUNCTION_COLUMNS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS</code> table reference
|
||||
*/
|
||||
public FunctionColumns(String alias) {
|
||||
this(alias, FUNCTION_COLUMNS);
|
||||
}
|
||||
|
||||
private FunctionColumns(String alias, Table<FunctionColumnsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private FunctionColumns(String alias, Table<FunctionColumnsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumns as(String alias) {
|
||||
return new FunctionColumns(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public FunctionColumns rename(String name) {
|
||||
return new FunctionColumns(name, null);
|
||||
}
|
||||
}
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.HelpRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Help extends TableImpl<HelpRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1402170374;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.HELP</code>
|
||||
*/
|
||||
public static final Help HELP = new Help();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<HelpRecord> getRecordType() {
|
||||
return HelpRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.HELP.ID</code>.
|
||||
*/
|
||||
public final TableField<HelpRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.HELP.SECTION</code>.
|
||||
*/
|
||||
public final TableField<HelpRecord, String> SECTION = createField("SECTION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.HELP.TOPIC</code>.
|
||||
*/
|
||||
public final TableField<HelpRecord, String> TOPIC = createField("TOPIC", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.HELP.SYNTAX</code>.
|
||||
*/
|
||||
public final TableField<HelpRecord, String> SYNTAX = createField("SYNTAX", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.HELP.TEXT</code>.
|
||||
*/
|
||||
public final TableField<HelpRecord, String> TEXT = createField("TEXT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.HELP</code> table reference
|
||||
*/
|
||||
public Help() {
|
||||
this("HELP", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.HELP</code> table reference
|
||||
*/
|
||||
public Help(String alias) {
|
||||
this(alias, HELP);
|
||||
}
|
||||
|
||||
private Help(String alias, Table<HelpRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Help(String alias, Table<HelpRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Help as(String alias) {
|
||||
return new Help(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Help rename(String name) {
|
||||
return new Help(name, null);
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.InDoubtRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class InDoubt extends TableImpl<InDoubtRecord> {
|
||||
|
||||
private static final long serialVersionUID = 284524946;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.IN_DOUBT</code>
|
||||
*/
|
||||
public static final InDoubt IN_DOUBT = new InDoubt();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<InDoubtRecord> getRecordType() {
|
||||
return InDoubtRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.IN_DOUBT.TRANSACTION</code>.
|
||||
*/
|
||||
public final TableField<InDoubtRecord, String> TRANSACTION = createField("TRANSACTION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.IN_DOUBT.STATE</code>.
|
||||
*/
|
||||
public final TableField<InDoubtRecord, String> STATE = createField("STATE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.IN_DOUBT</code> table reference
|
||||
*/
|
||||
public InDoubt() {
|
||||
this("IN_DOUBT", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.IN_DOUBT</code> table reference
|
||||
*/
|
||||
public InDoubt(String alias) {
|
||||
this(alias, IN_DOUBT);
|
||||
}
|
||||
|
||||
private InDoubt(String alias, Table<InDoubtRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private InDoubt(String alias, Table<InDoubtRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public InDoubt as(String alias) {
|
||||
return new InDoubt(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public InDoubt rename(String name) {
|
||||
return new InDoubt(name, null);
|
||||
}
|
||||
}
|
||||
+187
@@ -0,0 +1,187 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.IndexesRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Indexes extends TableImpl<IndexesRecord> {
|
||||
|
||||
private static final long serialVersionUID = 2077967696;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.INDEXES</code>
|
||||
*/
|
||||
public static final Indexes INDEXES = new Indexes();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<IndexesRecord> getRecordType() {
|
||||
return IndexesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.NON_UNIQUE</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, Boolean> NON_UNIQUE = createField("NON_UNIQUE", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.INDEX_NAME</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> INDEX_NAME = createField("INDEX_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.ORDINAL_POSITION</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, Short> ORDINAL_POSITION = createField("ORDINAL_POSITION", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.COLUMN_NAME</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> COLUMN_NAME = createField("COLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.CARDINALITY</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, Integer> CARDINALITY = createField("CARDINALITY", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.PRIMARY_KEY</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, Boolean> PRIMARY_KEY = createField("PRIMARY_KEY", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.INDEX_TYPE_NAME</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> INDEX_TYPE_NAME = createField("INDEX_TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.IS_GENERATED</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, Boolean> IS_GENERATED = createField("IS_GENERATED", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.INDEX_TYPE</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, Short> INDEX_TYPE = createField("INDEX_TYPE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.ASC_OR_DESC</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> ASC_OR_DESC = createField("ASC_OR_DESC", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.PAGES</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, Integer> PAGES = createField("PAGES", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.FILTER_CONDITION</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> FILTER_CONDITION = createField("FILTER_CONDITION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.SQL</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.ID</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.SORT_TYPE</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, Integer> SORT_TYPE = createField("SORT_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.CONSTRAINT_NAME</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> CONSTRAINT_NAME = createField("CONSTRAINT_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.INDEXES.INDEX_CLASS</code>.
|
||||
*/
|
||||
public final TableField<IndexesRecord, String> INDEX_CLASS = createField("INDEX_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.INDEXES</code> table reference
|
||||
*/
|
||||
public Indexes() {
|
||||
this("INDEXES", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.INDEXES</code> table reference
|
||||
*/
|
||||
public Indexes(String alias) {
|
||||
this(alias, INDEXES);
|
||||
}
|
||||
|
||||
private Indexes(String alias, Table<IndexesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Indexes(String alias, Table<IndexesRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Indexes as(String alias) {
|
||||
return new Indexes(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Indexes rename(String name) {
|
||||
return new Indexes(name, null);
|
||||
}
|
||||
}
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.LocksRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Locks extends TableImpl<LocksRecord> {
|
||||
|
||||
private static final long serialVersionUID = 169116031;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.LOCKS</code>
|
||||
*/
|
||||
public static final Locks LOCKS = new Locks();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LocksRecord> getRecordType() {
|
||||
return LocksRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.LOCKS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<LocksRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.LOCKS.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<LocksRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.LOCKS.SESSION_ID</code>.
|
||||
*/
|
||||
public final TableField<LocksRecord, Integer> SESSION_ID = createField("SESSION_ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.LOCKS.LOCK_TYPE</code>.
|
||||
*/
|
||||
public final TableField<LocksRecord, String> LOCK_TYPE = createField("LOCK_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.LOCKS</code> table reference
|
||||
*/
|
||||
public Locks() {
|
||||
this("LOCKS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.LOCKS</code> table reference
|
||||
*/
|
||||
public Locks(String alias) {
|
||||
this(alias, LOCKS);
|
||||
}
|
||||
|
||||
private Locks(String alias, Table<LocksRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Locks(String alias, Table<LocksRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Locks as(String alias) {
|
||||
return new Locks(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Locks rename(String name) {
|
||||
return new Locks(name, null);
|
||||
}
|
||||
}
|
||||
+142
@@ -0,0 +1,142 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.QueryStatisticsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class QueryStatistics extends TableImpl<QueryStatisticsRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1610174414;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.QUERY_STATISTICS</code>
|
||||
*/
|
||||
public static final QueryStatistics QUERY_STATISTICS = new QueryStatistics();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<QueryStatisticsRecord> getRecordType() {
|
||||
return QueryStatisticsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.SQL_STATEMENT</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, String> SQL_STATEMENT = createField("SQL_STATEMENT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.EXECUTION_COUNT</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Integer> EXECUTION_COUNT = createField("EXECUTION_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Long> MIN_EXECUTION_TIME = createField("MIN_EXECUTION_TIME", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Long> MAX_EXECUTION_TIME = createField("MAX_EXECUTION_TIME", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Long> CUMULATIVE_EXECUTION_TIME = createField("CUMULATIVE_EXECUTION_TIME", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Double> AVERAGE_EXECUTION_TIME = createField("AVERAGE_EXECUTION_TIME", org.jooq.impl.SQLDataType.DOUBLE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Double> STD_DEV_EXECUTION_TIME = createField("STD_DEV_EXECUTION_TIME", org.jooq.impl.SQLDataType.DOUBLE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_ROW_COUNT</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Integer> MIN_ROW_COUNT = createField("MIN_ROW_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_ROW_COUNT</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Integer> MAX_ROW_COUNT = createField("MAX_ROW_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_ROW_COUNT</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Long> CUMULATIVE_ROW_COUNT = createField("CUMULATIVE_ROW_COUNT", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_ROW_COUNT</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Double> AVERAGE_ROW_COUNT = createField("AVERAGE_ROW_COUNT", org.jooq.impl.SQLDataType.DOUBLE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_ROW_COUNT</code>.
|
||||
*/
|
||||
public final TableField<QueryStatisticsRecord, Double> STD_DEV_ROW_COUNT = createField("STD_DEV_ROW_COUNT", org.jooq.impl.SQLDataType.DOUBLE, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.QUERY_STATISTICS</code> table reference
|
||||
*/
|
||||
public QueryStatistics() {
|
||||
this("QUERY_STATISTICS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.QUERY_STATISTICS</code> table reference
|
||||
*/
|
||||
public QueryStatistics(String alias) {
|
||||
this(alias, QUERY_STATISTICS);
|
||||
}
|
||||
|
||||
private QueryStatistics(String alias, Table<QueryStatisticsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private QueryStatistics(String alias, Table<QueryStatisticsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatistics as(String alias) {
|
||||
return new QueryStatistics(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public QueryStatistics rename(String name) {
|
||||
return new QueryStatistics(name, null);
|
||||
}
|
||||
}
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.RightsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Rights extends TableImpl<RightsRecord> {
|
||||
|
||||
private static final long serialVersionUID = -2076280081;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.RIGHTS</code>
|
||||
*/
|
||||
public static final Rights RIGHTS = new Rights();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<RightsRecord> getRecordType() {
|
||||
return RightsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.RIGHTS.GRANTEE</code>.
|
||||
*/
|
||||
public final TableField<RightsRecord, String> GRANTEE = createField("GRANTEE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.RIGHTS.GRANTEETYPE</code>.
|
||||
*/
|
||||
public final TableField<RightsRecord, String> GRANTEETYPE = createField("GRANTEETYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.RIGHTS.GRANTEDROLE</code>.
|
||||
*/
|
||||
public final TableField<RightsRecord, String> GRANTEDROLE = createField("GRANTEDROLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.RIGHTS.RIGHTS</code>.
|
||||
*/
|
||||
public final TableField<RightsRecord, String> RIGHTS_ = createField("RIGHTS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.RIGHTS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<RightsRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.RIGHTS.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<RightsRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.RIGHTS.ID</code>.
|
||||
*/
|
||||
public final TableField<RightsRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.RIGHTS</code> table reference
|
||||
*/
|
||||
public Rights() {
|
||||
this("RIGHTS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.RIGHTS</code> table reference
|
||||
*/
|
||||
public Rights(String alias) {
|
||||
this(alias, RIGHTS);
|
||||
}
|
||||
|
||||
private Rights(String alias, Table<RightsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Rights(String alias, Table<RightsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Rights as(String alias) {
|
||||
return new Rights(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Rights rename(String name) {
|
||||
return new Rights(name, null);
|
||||
}
|
||||
}
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.RolesRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Roles extends TableImpl<RolesRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1847269376;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.ROLES</code>
|
||||
*/
|
||||
public static final Roles ROLES = new Roles();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<RolesRecord> getRecordType() {
|
||||
return RolesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.ROLES.NAME</code>.
|
||||
*/
|
||||
public final TableField<RolesRecord, String> NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.ROLES.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<RolesRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.ROLES.ID</code>.
|
||||
*/
|
||||
public final TableField<RolesRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.ROLES</code> table reference
|
||||
*/
|
||||
public Roles() {
|
||||
this("ROLES", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.ROLES</code> table reference
|
||||
*/
|
||||
public Roles(String alias) {
|
||||
this(alias, ROLES);
|
||||
}
|
||||
|
||||
private Roles(String alias, Table<RolesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Roles(String alias, Table<RolesRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Roles as(String alias) {
|
||||
return new Roles(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Roles rename(String name) {
|
||||
return new Roles(name, null);
|
||||
}
|
||||
}
|
||||
+122
@@ -0,0 +1,122 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.SchemataRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Schemata extends TableImpl<SchemataRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1029782582;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.SCHEMATA</code>
|
||||
*/
|
||||
public static final Schemata SCHEMATA = new Schemata();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SchemataRecord> getRecordType() {
|
||||
return SchemataRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SCHEMATA.CATALOG_NAME</code>.
|
||||
*/
|
||||
public final TableField<SchemataRecord, String> CATALOG_NAME = createField("CATALOG_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SCHEMATA.SCHEMA_NAME</code>.
|
||||
*/
|
||||
public final TableField<SchemataRecord, String> SCHEMA_NAME = createField("SCHEMA_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SCHEMATA.SCHEMA_OWNER</code>.
|
||||
*/
|
||||
public final TableField<SchemataRecord, String> SCHEMA_OWNER = createField("SCHEMA_OWNER", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SCHEMATA.DEFAULT_CHARACTER_SET_NAME</code>.
|
||||
*/
|
||||
public final TableField<SchemataRecord, String> DEFAULT_CHARACTER_SET_NAME = createField("DEFAULT_CHARACTER_SET_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SCHEMATA.DEFAULT_COLLATION_NAME</code>.
|
||||
*/
|
||||
public final TableField<SchemataRecord, String> DEFAULT_COLLATION_NAME = createField("DEFAULT_COLLATION_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SCHEMATA.IS_DEFAULT</code>.
|
||||
*/
|
||||
public final TableField<SchemataRecord, Boolean> IS_DEFAULT = createField("IS_DEFAULT", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SCHEMATA.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<SchemataRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SCHEMATA.ID</code>.
|
||||
*/
|
||||
public final TableField<SchemataRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.SCHEMATA</code> table reference
|
||||
*/
|
||||
public Schemata() {
|
||||
this("SCHEMATA", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.SCHEMATA</code> table reference
|
||||
*/
|
||||
public Schemata(String alias) {
|
||||
this(alias, SCHEMATA);
|
||||
}
|
||||
|
||||
private Schemata(String alias, Table<SchemataRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Schemata(String alias, Table<SchemataRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Schemata as(String alias) {
|
||||
return new Schemata(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Schemata rename(String name) {
|
||||
return new Schemata(name, null);
|
||||
}
|
||||
}
|
||||
+142
@@ -0,0 +1,142 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.SequencesRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Sequences extends TableImpl<SequencesRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1302373749;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.SEQUENCES</code>
|
||||
*/
|
||||
public static final Sequences SEQUENCES = new Sequences();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SequencesRecord> getRecordType() {
|
||||
return SequencesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, String> SEQUENCE_CATALOG = createField("SEQUENCE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, String> SEQUENCE_SCHEMA = createField("SEQUENCE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_NAME</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, String> SEQUENCE_NAME = createField("SEQUENCE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.CURRENT_VALUE</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, Long> CURRENT_VALUE = createField("CURRENT_VALUE", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.INCREMENT</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, Long> INCREMENT = createField("INCREMENT", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.IS_GENERATED</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, Boolean> IS_GENERATED = createField("IS_GENERATED", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.CACHE</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, Long> CACHE = createField("CACHE", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.MIN_VALUE</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, Long> MIN_VALUE = createField("MIN_VALUE", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.MAX_VALUE</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, Long> MAX_VALUE = createField("MAX_VALUE", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.IS_CYCLE</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, Boolean> IS_CYCLE = createField("IS_CYCLE", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SEQUENCES.ID</code>.
|
||||
*/
|
||||
public final TableField<SequencesRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.SEQUENCES</code> table reference
|
||||
*/
|
||||
public Sequences() {
|
||||
this("SEQUENCES", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.SEQUENCES</code> table reference
|
||||
*/
|
||||
public Sequences(String alias) {
|
||||
this(alias, SEQUENCES);
|
||||
}
|
||||
|
||||
private Sequences(String alias, Table<SequencesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Sequences(String alias, Table<SequencesRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Sequences as(String alias) {
|
||||
return new Sequences(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Sequences rename(String name) {
|
||||
return new Sequences(name, null);
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.SessionStateRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SessionState extends TableImpl<SessionStateRecord> {
|
||||
|
||||
private static final long serialVersionUID = 919891380;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.SESSION_STATE</code>
|
||||
*/
|
||||
public static final SessionState SESSION_STATE = new SessionState();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SessionStateRecord> getRecordType() {
|
||||
return SessionStateRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SESSION_STATE.KEY</code>.
|
||||
*/
|
||||
public final TableField<SessionStateRecord, String> KEY = createField("KEY", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SESSION_STATE.SQL</code>.
|
||||
*/
|
||||
public final TableField<SessionStateRecord, String> SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.SESSION_STATE</code> table reference
|
||||
*/
|
||||
public SessionState() {
|
||||
this("SESSION_STATE", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.SESSION_STATE</code> table reference
|
||||
*/
|
||||
public SessionState(String alias) {
|
||||
this(alias, SESSION_STATE);
|
||||
}
|
||||
|
||||
private SessionState(String alias, Table<SessionStateRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private SessionState(String alias, Table<SessionStateRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionState as(String alias) {
|
||||
return new SessionState(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public SessionState rename(String name) {
|
||||
return new SessionState(name, null);
|
||||
}
|
||||
}
|
||||
+112
@@ -0,0 +1,112 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.SessionsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Sessions extends TableImpl<SessionsRecord> {
|
||||
|
||||
private static final long serialVersionUID = -975884629;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.SESSIONS</code>
|
||||
*/
|
||||
public static final Sessions SESSIONS = new Sessions();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SessionsRecord> getRecordType() {
|
||||
return SessionsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SESSIONS.ID</code>.
|
||||
*/
|
||||
public final TableField<SessionsRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SESSIONS.USER_NAME</code>.
|
||||
*/
|
||||
public final TableField<SessionsRecord, String> USER_NAME = createField("USER_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SESSIONS.SESSION_START</code>.
|
||||
*/
|
||||
public final TableField<SessionsRecord, String> SESSION_START = createField("SESSION_START", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SESSIONS.STATEMENT</code>.
|
||||
*/
|
||||
public final TableField<SessionsRecord, String> STATEMENT = createField("STATEMENT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SESSIONS.STATEMENT_START</code>.
|
||||
*/
|
||||
public final TableField<SessionsRecord, String> STATEMENT_START = createField("STATEMENT_START", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SESSIONS.CONTAINS_UNCOMMITTED</code>.
|
||||
*/
|
||||
public final TableField<SessionsRecord, String> CONTAINS_UNCOMMITTED = createField("CONTAINS_UNCOMMITTED", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.SESSIONS</code> table reference
|
||||
*/
|
||||
public Sessions() {
|
||||
this("SESSIONS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.SESSIONS</code> table reference
|
||||
*/
|
||||
public Sessions(String alias) {
|
||||
this(alias, SESSIONS);
|
||||
}
|
||||
|
||||
private Sessions(String alias, Table<SessionsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Sessions(String alias, Table<SessionsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Sessions as(String alias) {
|
||||
return new Sessions(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Sessions rename(String name) {
|
||||
return new Sessions(name, null);
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.SettingsRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Settings extends TableImpl<SettingsRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1983664507;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.SETTINGS</code>
|
||||
*/
|
||||
public static final Settings SETTINGS = new Settings();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SettingsRecord> getRecordType() {
|
||||
return SettingsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SETTINGS.NAME</code>.
|
||||
*/
|
||||
public final TableField<SettingsRecord, String> NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.SETTINGS.VALUE</code>.
|
||||
*/
|
||||
public final TableField<SettingsRecord, String> VALUE = createField("VALUE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.SETTINGS</code> table reference
|
||||
*/
|
||||
public Settings() {
|
||||
this("SETTINGS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.SETTINGS</code> table reference
|
||||
*/
|
||||
public Settings(String alias) {
|
||||
this(alias, SETTINGS);
|
||||
}
|
||||
|
||||
private Settings(String alias, Table<SettingsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Settings(String alias, Table<SettingsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Settings as(String alias) {
|
||||
return new Settings(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Settings rename(String name) {
|
||||
return new Settings(name, null);
|
||||
}
|
||||
}
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.TablePrivilegesRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TablePrivileges extends TableImpl<TablePrivilegesRecord> {
|
||||
|
||||
private static final long serialVersionUID = -270543696;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES</code>
|
||||
*/
|
||||
public static final TablePrivileges TABLE_PRIVILEGES = new TablePrivileges();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TablePrivilegesRecord> getRecordType() {
|
||||
return TablePrivilegesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTOR</code>.
|
||||
*/
|
||||
public final TableField<TablePrivilegesRecord, String> GRANTOR = createField("GRANTOR", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTEE</code>.
|
||||
*/
|
||||
public final TableField<TablePrivilegesRecord, String> GRANTEE = createField("GRANTEE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<TablePrivilegesRecord, String> TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<TablePrivilegesRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<TablePrivilegesRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.PRIVILEGE_TYPE</code>.
|
||||
*/
|
||||
public final TableField<TablePrivilegesRecord, String> PRIVILEGE_TYPE = createField("PRIVILEGE_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.IS_GRANTABLE</code>.
|
||||
*/
|
||||
public final TableField<TablePrivilegesRecord, String> IS_GRANTABLE = createField("IS_GRANTABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES</code> table reference
|
||||
*/
|
||||
public TablePrivileges() {
|
||||
this("TABLE_PRIVILEGES", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES</code> table reference
|
||||
*/
|
||||
public TablePrivileges(String alias) {
|
||||
this(alias, TABLE_PRIVILEGES);
|
||||
}
|
||||
|
||||
private TablePrivileges(String alias, Table<TablePrivilegesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TablePrivileges(String alias, Table<TablePrivilegesRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablePrivileges as(String alias) {
|
||||
return new TablePrivileges(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public TablePrivileges rename(String name) {
|
||||
return new TablePrivileges(name, null);
|
||||
}
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.TableTypesRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableTypes extends TableImpl<TableTypesRecord> {
|
||||
|
||||
private static final long serialVersionUID = 676525061;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.TABLE_TYPES</code>
|
||||
*/
|
||||
public static final TableTypes TABLE_TYPES = new TableTypes();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TableTypesRecord> getRecordType() {
|
||||
return TableTypesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLE_TYPES.TYPE</code>.
|
||||
*/
|
||||
public final TableField<TableTypesRecord, String> TYPE = createField("TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.TABLE_TYPES</code> table reference
|
||||
*/
|
||||
public TableTypes() {
|
||||
this("TABLE_TYPES", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.TABLE_TYPES</code> table reference
|
||||
*/
|
||||
public TableTypes(String alias) {
|
||||
this(alias, TABLE_TYPES);
|
||||
}
|
||||
|
||||
private TableTypes(String alias, Table<TableTypesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TableTypes(String alias, Table<TableTypesRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TableTypes as(String alias) {
|
||||
return new TableTypes(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public TableTypes rename(String name) {
|
||||
return new TableTypes(name, null);
|
||||
}
|
||||
}
|
||||
+142
@@ -0,0 +1,142 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.TablesRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables extends TableImpl<TablesRecord> {
|
||||
|
||||
private static final long serialVersionUID = 123051350;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.TABLES</code>
|
||||
*/
|
||||
public static final Tables TABLES = new Tables();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TablesRecord> getRecordType() {
|
||||
return TablesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, String> TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.TABLE_TYPE</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, String> TABLE_TYPE = createField("TABLE_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.STORAGE_TYPE</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, String> STORAGE_TYPE = createField("STORAGE_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.SQL</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, String> SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, Long> LAST_MODIFICATION = createField("LAST_MODIFICATION", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.ID</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.TYPE_NAME</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, String> TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.TABLE_CLASS</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, String> TABLE_CLASS = createField("TABLE_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TABLES.ROW_COUNT_ESTIMATE</code>.
|
||||
*/
|
||||
public final TableField<TablesRecord, Long> ROW_COUNT_ESTIMATE = createField("ROW_COUNT_ESTIMATE", org.jooq.impl.SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.TABLES</code> table reference
|
||||
*/
|
||||
public Tables() {
|
||||
this("TABLES", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.TABLES</code> table reference
|
||||
*/
|
||||
public Tables(String alias) {
|
||||
this(alias, TABLES);
|
||||
}
|
||||
|
||||
private Tables(String alias, Table<TablesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Tables(String alias, Table<TablesRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Tables as(String alias) {
|
||||
return new Tables(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Tables rename(String name) {
|
||||
return new Tables(name, null);
|
||||
}
|
||||
}
|
||||
+152
@@ -0,0 +1,152 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.records.TriggersRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.7.3"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Triggers extends TableImpl<TriggersRecord> {
|
||||
|
||||
private static final long serialVersionUID = 376103066;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.TRIGGERS</code>
|
||||
*/
|
||||
public static final Triggers TRIGGERS = new Triggers();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TriggersRecord> getRecordType() {
|
||||
return TriggersRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> TRIGGER_CATALOG = createField("TRIGGER_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> TRIGGER_SCHEMA = createField("TRIGGER_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_NAME</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> TRIGGER_NAME = createField("TRIGGER_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_TYPE</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> TRIGGER_TYPE = createField("TRIGGER_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.BEFORE</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, Boolean> BEFORE = createField("BEFORE", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.JAVA_CLASS</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> JAVA_CLASS = createField("JAVA_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.QUEUE_SIZE</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, Integer> QUEUE_SIZE = createField("QUEUE_SIZE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.NO_WAIT</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, Boolean> NO_WAIT = createField("NO_WAIT", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.SQL</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, String> SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TRIGGERS.ID</code>.
|
||||
*/
|
||||
public final TableField<TriggersRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.TRIGGERS</code> table reference
|
||||
*/
|
||||
public Triggers() {
|
||||
this("TRIGGERS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.TRIGGERS</code> table reference
|
||||
*/
|
||||
public Triggers(String alias) {
|
||||
this(alias, TRIGGERS);
|
||||
}
|
||||
|
||||
private Triggers(String alias, Table<TriggersRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Triggers(String alias, Table<TriggersRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Triggers as(String alias) {
|
||||
return new Triggers(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Triggers rename(String name) {
|
||||
return new Triggers(name, null);
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user