Remove autogenerated jOOQ files
This commit is contained in:
parent
a297e492a9
commit
eadbde5c2d
|
@ -7,6 +7,8 @@
|
|||
|
||||
# Eclipse
|
||||
.settings/
|
||||
*.project
|
||||
*.classpath
|
||||
.prefs
|
||||
*.prefs
|
||||
|
||||
|
@ -23,3 +25,6 @@ log/
|
|||
target/
|
||||
|
||||
spring-openid/src/main/resources/application.properties
|
||||
|
||||
# Autogenerated jOOQ files
|
||||
jooq-spring/src/main/java/com/baeldung/jooq/introduction/db
|
||||
|
|
|
@ -1,113 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
/**
|
||||
* 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
|
||||
// -------------------------------------------------------------------------
|
||||
}
|
|
@ -1,196 +0,0 @@
|
|||
/**
|
||||
* 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;
|
||||
}
|
|
@ -1,87 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,92 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,197 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,117 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,147 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,152 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,152 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,142 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,167 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,107 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,92 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,187 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,142 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,117 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,97 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,142 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,92 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,112 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,92 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,117 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,87 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,142 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,152 +0,0 @@
|
|||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
|
@ -1,152 +0,0 @@
|
|||
/**
|
||||
* 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.TypeInfoRecord;
|
||||
|
||||
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 TypeInfo extends TableImpl<TypeInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = -242556633;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.TYPE_INFO</code>
|
||||
*/
|
||||
public static final TypeInfo TYPE_INFO = new TypeInfo();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TypeInfoRecord> getRecordType() {
|
||||
return TypeInfoRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.TYPE_NAME</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, String> TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.DATA_TYPE</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Integer> DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.PRECISION</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Integer> PRECISION = createField("PRECISION", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.PREFIX</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, String> PREFIX = createField("PREFIX", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.SUFFIX</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, String> SUFFIX = createField("SUFFIX", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.PARAMS</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, String> PARAMS = createField("PARAMS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.AUTO_INCREMENT</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Boolean> AUTO_INCREMENT = createField("AUTO_INCREMENT", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.MINIMUM_SCALE</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Short> MINIMUM_SCALE = createField("MINIMUM_SCALE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.MAXIMUM_SCALE</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Short> MAXIMUM_SCALE = createField("MAXIMUM_SCALE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.RADIX</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Integer> RADIX = createField("RADIX", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.POS</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Integer> POS = createField("POS", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.CASE_SENSITIVE</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Boolean> CASE_SENSITIVE = createField("CASE_SENSITIVE", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.NULLABLE</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Short> NULLABLE = createField("NULLABLE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.TYPE_INFO.SEARCHABLE</code>.
|
||||
*/
|
||||
public final TableField<TypeInfoRecord, Short> SEARCHABLE = createField("SEARCHABLE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.TYPE_INFO</code> table reference
|
||||
*/
|
||||
public TypeInfo() {
|
||||
this("TYPE_INFO", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.TYPE_INFO</code> table reference
|
||||
*/
|
||||
public TypeInfo(String alias) {
|
||||
this(alias, TYPE_INFO);
|
||||
}
|
||||
|
||||
private TypeInfo(String alias, Table<TypeInfoRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TypeInfo(String alias, Table<TypeInfoRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfo as(String alias) {
|
||||
return new TypeInfo(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public TypeInfo rename(String name) {
|
||||
return new TypeInfo(name, null);
|
||||
}
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
/**
|
||||
* 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.UsersRecord;
|
||||
|
||||
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 Users extends TableImpl<UsersRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1971797833;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.USERS</code>
|
||||
*/
|
||||
public static final Users USERS = new Users();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UsersRecord> getRecordType() {
|
||||
return UsersRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.USERS.NAME</code>.
|
||||
*/
|
||||
public final TableField<UsersRecord, String> NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.USERS.ADMIN</code>.
|
||||
*/
|
||||
public final TableField<UsersRecord, String> ADMIN = createField("ADMIN", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.USERS.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<UsersRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.USERS.ID</code>.
|
||||
*/
|
||||
public final TableField<UsersRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.USERS</code> table reference
|
||||
*/
|
||||
public Users() {
|
||||
this("USERS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.USERS</code> table reference
|
||||
*/
|
||||
public Users(String alias) {
|
||||
this(alias, USERS);
|
||||
}
|
||||
|
||||
private Users(String alias, Table<UsersRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Users(String alias, Table<UsersRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Users as(String alias) {
|
||||
return new Users(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Users rename(String name) {
|
||||
return new Users(name, null);
|
||||
}
|
||||
}
|
|
@ -1,127 +0,0 @@
|
|||
/**
|
||||
* 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.ViewsRecord;
|
||||
|
||||
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 Views extends TableImpl<ViewsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1565009994;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>INFORMATION_SCHEMA.VIEWS</code>
|
||||
*/
|
||||
public static final Views VIEWS = new Views();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewsRecord> getRecordType() {
|
||||
return ViewsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.VIEWS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public final TableField<ViewsRecord, String> TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.VIEWS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public final TableField<ViewsRecord, String> TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.VIEWS.TABLE_NAME</code>.
|
||||
*/
|
||||
public final TableField<ViewsRecord, String> TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.VIEWS.VIEW_DEFINITION</code>.
|
||||
*/
|
||||
public final TableField<ViewsRecord, String> VIEW_DEFINITION = createField("VIEW_DEFINITION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.VIEWS.CHECK_OPTION</code>.
|
||||
*/
|
||||
public final TableField<ViewsRecord, String> CHECK_OPTION = createField("CHECK_OPTION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.VIEWS.IS_UPDATABLE</code>.
|
||||
*/
|
||||
public final TableField<ViewsRecord, String> IS_UPDATABLE = createField("IS_UPDATABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.VIEWS.STATUS</code>.
|
||||
*/
|
||||
public final TableField<ViewsRecord, String> STATUS = createField("STATUS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.VIEWS.REMARKS</code>.
|
||||
*/
|
||||
public final TableField<ViewsRecord, String> REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>INFORMATION_SCHEMA.VIEWS.ID</code>.
|
||||
*/
|
||||
public final TableField<ViewsRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>INFORMATION_SCHEMA.VIEWS</code> table reference
|
||||
*/
|
||||
public Views() {
|
||||
this("VIEWS", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>INFORMATION_SCHEMA.VIEWS</code> table reference
|
||||
*/
|
||||
public Views(String alias) {
|
||||
this(alias, VIEWS);
|
||||
}
|
||||
|
||||
private Views(String alias, Table<ViewsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Views(String alias, Table<ViewsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Views as(String alias) {
|
||||
return new Views(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Views rename(String name) {
|
||||
return new Views(name, null);
|
||||
}
|
||||
}
|
|
@ -1,119 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Catalogs;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Row1;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 CatalogsRecord extends TableRecordImpl<CatalogsRecord> implements Record1<String> {
|
||||
|
||||
private static final long serialVersionUID = -2119003002;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CATALOGS.CATALOG_NAME</code>.
|
||||
*/
|
||||
public void setCatalogName(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CATALOGS.CATALOG_NAME</code>.
|
||||
*/
|
||||
public String getCatalogName() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record1 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row1<String> fieldsRow() {
|
||||
return (Row1) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row1<String> valuesRow() {
|
||||
return (Row1) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Catalogs.CATALOGS.CATALOG_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getCatalogName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CatalogsRecord value1(String value) {
|
||||
setCatalogName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CatalogsRecord values(String value1) {
|
||||
value1(value1);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CatalogsRecord
|
||||
*/
|
||||
public CatalogsRecord() {
|
||||
super(Catalogs.CATALOGS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CatalogsRecord
|
||||
*/
|
||||
public CatalogsRecord(String catalogName) {
|
||||
super(Catalogs.CATALOGS);
|
||||
|
||||
setValue(0, catalogName);
|
||||
}
|
||||
}
|
|
@ -1,160 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Collations;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.Row2;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 CollationsRecord extends TableRecordImpl<CollationsRecord> implements Record2<String, String> {
|
||||
|
||||
private static final long serialVersionUID = -890210086;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLLATIONS.NAME</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLLATIONS.NAME</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLLATIONS.KEY</code>.
|
||||
*/
|
||||
public void setKey(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLLATIONS.KEY</code>.
|
||||
*/
|
||||
public String getKey() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<String, String> fieldsRow() {
|
||||
return (Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<String, String> valuesRow() {
|
||||
return (Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Collations.COLLATIONS.NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Collations.COLLATIONS.KEY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getKey();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CollationsRecord value1(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CollationsRecord value2(String value) {
|
||||
setKey(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CollationsRecord values(String value1, String value2) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CollationsRecord
|
||||
*/
|
||||
public CollationsRecord() {
|
||||
super(Collations.COLLATIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CollationsRecord
|
||||
*/
|
||||
public CollationsRecord(String name, String key) {
|
||||
super(Collations.COLLATIONS);
|
||||
|
||||
setValue(0, name);
|
||||
setValue(1, key);
|
||||
}
|
||||
}
|
|
@ -1,406 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.ColumnPrivileges;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record8;
|
||||
import org.jooq.Row8;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 ColumnPrivilegesRecord extends TableRecordImpl<ColumnPrivilegesRecord> implements Record8<String, String, String, String, String, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1884367853;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTOR</code>.
|
||||
*/
|
||||
public void setGrantor(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTOR</code>.
|
||||
*/
|
||||
public String getGrantor() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTEE</code>.
|
||||
*/
|
||||
public void setGrantee(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTEE</code>.
|
||||
*/
|
||||
public String getGrantee() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setTableCatalog(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getTableCatalog() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.COLUMN_NAME</code>.
|
||||
*/
|
||||
public void setColumnName(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.COLUMN_NAME</code>.
|
||||
*/
|
||||
public String getColumnName() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.PRIVILEGE_TYPE</code>.
|
||||
*/
|
||||
public void setPrivilegeType(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.PRIVILEGE_TYPE</code>.
|
||||
*/
|
||||
public String getPrivilegeType() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.IS_GRANTABLE</code>.
|
||||
*/
|
||||
public void setIsGrantable(String value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMN_PRIVILEGES.IS_GRANTABLE</code>.
|
||||
*/
|
||||
public String getIsGrantable() {
|
||||
return (String) getValue(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record8 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row8<String, String, String, String, String, String, String, String> fieldsRow() {
|
||||
return (Row8) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row8<String, String, String, String, String, String, String, String> valuesRow() {
|
||||
return (Row8) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return ColumnPrivileges.COLUMN_PRIVILEGES.GRANTOR;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return ColumnPrivileges.COLUMN_PRIVILEGES.GRANTEE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return ColumnPrivileges.COLUMN_PRIVILEGES.TABLE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return ColumnPrivileges.COLUMN_PRIVILEGES.TABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return ColumnPrivileges.COLUMN_PRIVILEGES.TABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return ColumnPrivileges.COLUMN_PRIVILEGES.COLUMN_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return ColumnPrivileges.COLUMN_PRIVILEGES.PRIVILEGE_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return ColumnPrivileges.COLUMN_PRIVILEGES.IS_GRANTABLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getGrantor();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getGrantee();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getTableCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getTableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getTableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getColumnName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getPrivilegeType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value8() {
|
||||
return getIsGrantable();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivilegesRecord value1(String value) {
|
||||
setGrantor(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivilegesRecord value2(String value) {
|
||||
setGrantee(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivilegesRecord value3(String value) {
|
||||
setTableCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivilegesRecord value4(String value) {
|
||||
setTableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivilegesRecord value5(String value) {
|
||||
setTableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivilegesRecord value6(String value) {
|
||||
setColumnName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivilegesRecord value7(String value) {
|
||||
setPrivilegeType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivilegesRecord value8(String value) {
|
||||
setIsGrantable(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ColumnPrivilegesRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ColumnPrivilegesRecord
|
||||
*/
|
||||
public ColumnPrivilegesRecord() {
|
||||
super(ColumnPrivileges.COLUMN_PRIVILEGES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ColumnPrivilegesRecord
|
||||
*/
|
||||
public ColumnPrivilegesRecord(String grantor, String grantee, String tableCatalog, String tableSchema, String tableName, String columnName, String privilegeType, String isGrantable) {
|
||||
super(ColumnPrivileges.COLUMN_PRIVILEGES);
|
||||
|
||||
setValue(0, grantor);
|
||||
setValue(1, grantee);
|
||||
setValue(2, tableCatalog);
|
||||
setValue(3, tableSchema);
|
||||
setValue(4, tableName);
|
||||
setValue(5, columnName);
|
||||
setValue(6, privilegeType);
|
||||
setValue(7, isGrantable);
|
||||
}
|
||||
}
|
|
@ -1,392 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Columns;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 ColumnsRecord extends TableRecordImpl<ColumnsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1850723283;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setTableCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getTableCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME</code>.
|
||||
*/
|
||||
public void setColumnName(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME</code>.
|
||||
*/
|
||||
public String getColumnName() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.ORDINAL_POSITION</code>.
|
||||
*/
|
||||
public void setOrdinalPosition(Integer value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.ORDINAL_POSITION</code>.
|
||||
*/
|
||||
public Integer getOrdinalPosition() {
|
||||
return (Integer) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT</code>.
|
||||
*/
|
||||
public void setColumnDefault(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT</code>.
|
||||
*/
|
||||
public String getColumnDefault() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.IS_NULLABLE</code>.
|
||||
*/
|
||||
public void setIsNullable(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.IS_NULLABLE</code>.
|
||||
*/
|
||||
public String getIsNullable() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.DATA_TYPE</code>.
|
||||
*/
|
||||
public void setDataType(Integer value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.DATA_TYPE</code>.
|
||||
*/
|
||||
public Integer getDataType() {
|
||||
return (Integer) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.CHARACTER_MAXIMUM_LENGTH</code>.
|
||||
*/
|
||||
public void setCharacterMaximumLength(Integer value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.CHARACTER_MAXIMUM_LENGTH</code>.
|
||||
*/
|
||||
public Integer getCharacterMaximumLength() {
|
||||
return (Integer) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.CHARACTER_OCTET_LENGTH</code>.
|
||||
*/
|
||||
public void setCharacterOctetLength(Integer value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.CHARACTER_OCTET_LENGTH</code>.
|
||||
*/
|
||||
public Integer getCharacterOctetLength() {
|
||||
return (Integer) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION</code>.
|
||||
*/
|
||||
public void setNumericPrecision(Integer value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION</code>.
|
||||
*/
|
||||
public Integer getNumericPrecision() {
|
||||
return (Integer) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION_RADIX</code>.
|
||||
*/
|
||||
public void setNumericPrecisionRadix(Integer value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION_RADIX</code>.
|
||||
*/
|
||||
public Integer getNumericPrecisionRadix() {
|
||||
return (Integer) getValue(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.NUMERIC_SCALE</code>.
|
||||
*/
|
||||
public void setNumericScale(Integer value) {
|
||||
setValue(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.NUMERIC_SCALE</code>.
|
||||
*/
|
||||
public Integer getNumericScale() {
|
||||
return (Integer) getValue(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.CHARACTER_SET_NAME</code>.
|
||||
*/
|
||||
public void setCharacterSetName(String value) {
|
||||
setValue(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.CHARACTER_SET_NAME</code>.
|
||||
*/
|
||||
public String getCharacterSetName() {
|
||||
return (String) getValue(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.COLLATION_NAME</code>.
|
||||
*/
|
||||
public void setCollationName(String value) {
|
||||
setValue(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.COLLATION_NAME</code>.
|
||||
*/
|
||||
public String getCollationName() {
|
||||
return (String) getValue(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.TYPE_NAME</code>.
|
||||
*/
|
||||
public void setTypeName(String value) {
|
||||
setValue(15, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.TYPE_NAME</code>.
|
||||
*/
|
||||
public String getTypeName() {
|
||||
return (String) getValue(15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.NULLABLE</code>.
|
||||
*/
|
||||
public void setNullable(Integer value) {
|
||||
setValue(16, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.NULLABLE</code>.
|
||||
*/
|
||||
public Integer getNullable() {
|
||||
return (Integer) getValue(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.IS_COMPUTED</code>.
|
||||
*/
|
||||
public void setIsComputed(Boolean value) {
|
||||
setValue(17, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.IS_COMPUTED</code>.
|
||||
*/
|
||||
public Boolean getIsComputed() {
|
||||
return (Boolean) getValue(17);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.SELECTIVITY</code>.
|
||||
*/
|
||||
public void setSelectivity(Integer value) {
|
||||
setValue(18, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.SELECTIVITY</code>.
|
||||
*/
|
||||
public Integer getSelectivity() {
|
||||
return (Integer) getValue(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.CHECK_CONSTRAINT</code>.
|
||||
*/
|
||||
public void setCheckConstraint(String value) {
|
||||
setValue(19, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.CHECK_CONSTRAINT</code>.
|
||||
*/
|
||||
public String getCheckConstraint() {
|
||||
return (String) getValue(19);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.SEQUENCE_NAME</code>.
|
||||
*/
|
||||
public void setSequenceName(String value) {
|
||||
setValue(20, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.SEQUENCE_NAME</code>.
|
||||
*/
|
||||
public String getSequenceName() {
|
||||
return (String) getValue(20);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(21, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(21);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.COLUMNS.SOURCE_DATA_TYPE</code>.
|
||||
*/
|
||||
public void setSourceDataType(Short value) {
|
||||
setValue(22, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.COLUMNS.SOURCE_DATA_TYPE</code>.
|
||||
*/
|
||||
public Short getSourceDataType() {
|
||||
return (Short) getValue(22);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ColumnsRecord
|
||||
*/
|
||||
public ColumnsRecord() {
|
||||
super(Columns.COLUMNS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ColumnsRecord
|
||||
*/
|
||||
public ColumnsRecord(String tableCatalog, String tableSchema, String tableName, String columnName, Integer ordinalPosition, String columnDefault, String isNullable, Integer dataType, Integer characterMaximumLength, Integer characterOctetLength, Integer numericPrecision, Integer numericPrecisionRadix, Integer numericScale, String characterSetName, String collationName, String typeName, Integer nullable, Boolean isComputed, Integer selectivity, String checkConstraint, String sequenceName, String remarks, Short sourceDataType) {
|
||||
super(Columns.COLUMNS);
|
||||
|
||||
setValue(0, tableCatalog);
|
||||
setValue(1, tableSchema);
|
||||
setValue(2, tableName);
|
||||
setValue(3, columnName);
|
||||
setValue(4, ordinalPosition);
|
||||
setValue(5, columnDefault);
|
||||
setValue(6, isNullable);
|
||||
setValue(7, dataType);
|
||||
setValue(8, characterMaximumLength);
|
||||
setValue(9, characterOctetLength);
|
||||
setValue(10, numericPrecision);
|
||||
setValue(11, numericPrecisionRadix);
|
||||
setValue(12, numericScale);
|
||||
setValue(13, characterSetName);
|
||||
setValue(14, collationName);
|
||||
setValue(15, typeName);
|
||||
setValue(16, nullable);
|
||||
setValue(17, isComputed);
|
||||
setValue(18, selectivity);
|
||||
setValue(19, checkConstraint);
|
||||
setValue(20, sequenceName);
|
||||
setValue(21, remarks);
|
||||
setValue(22, sourceDataType);
|
||||
}
|
||||
}
|
|
@ -1,365 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Constants;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record7;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 ConstantsRecord extends TableRecordImpl<ConstantsRecord> implements Record7<String, String, String, Integer, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = -775500532;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTANTS.CONSTANT_CATALOG</code>.
|
||||
*/
|
||||
public void setConstantCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTANTS.CONSTANT_CATALOG</code>.
|
||||
*/
|
||||
public String getConstantCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTANTS.CONSTANT_SCHEMA</code>.
|
||||
*/
|
||||
public void setConstantSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTANTS.CONSTANT_SCHEMA</code>.
|
||||
*/
|
||||
public String getConstantSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTANTS.CONSTANT_NAME</code>.
|
||||
*/
|
||||
public void setConstantName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTANTS.CONSTANT_NAME</code>.
|
||||
*/
|
||||
public String getConstantName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTANTS.DATA_TYPE</code>.
|
||||
*/
|
||||
public void setDataType(Integer value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTANTS.DATA_TYPE</code>.
|
||||
*/
|
||||
public Integer getDataType() {
|
||||
return (Integer) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTANTS.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTANTS.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTANTS.SQL</code>.
|
||||
*/
|
||||
public void setSql(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTANTS.SQL</code>.
|
||||
*/
|
||||
public String getSql() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTANTS.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTANTS.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row7<String, String, String, Integer, String, String, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row7<String, String, String, Integer, String, String, Integer> valuesRow() {
|
||||
return (Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Constants.CONSTANTS.CONSTANT_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Constants.CONSTANTS.CONSTANT_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Constants.CONSTANTS.CONSTANT_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return Constants.CONSTANTS.DATA_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Constants.CONSTANTS.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return Constants.CONSTANTS.SQL;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return Constants.CONSTANTS.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getConstantCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getConstantSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getConstantName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getDataType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getSql();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstantsRecord value1(String value) {
|
||||
setConstantCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstantsRecord value2(String value) {
|
||||
setConstantSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstantsRecord value3(String value) {
|
||||
setConstantName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstantsRecord value4(Integer value) {
|
||||
setDataType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstantsRecord value5(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstantsRecord value6(String value) {
|
||||
setSql(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstantsRecord value7(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstantsRecord values(String value1, String value2, String value3, Integer value4, String value5, String value6, Integer value7) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ConstantsRecord
|
||||
*/
|
||||
public ConstantsRecord() {
|
||||
super(Constants.CONSTANTS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ConstantsRecord
|
||||
*/
|
||||
public ConstantsRecord(String constantCatalog, String constantSchema, String constantName, Integer dataType, String remarks, String sql, Integer id) {
|
||||
super(Constants.CONSTANTS);
|
||||
|
||||
setValue(0, constantCatalog);
|
||||
setValue(1, constantSchema);
|
||||
setValue(2, constantName);
|
||||
setValue(3, dataType);
|
||||
setValue(4, remarks);
|
||||
setValue(5, sql);
|
||||
setValue(6, id);
|
||||
}
|
||||
}
|
|
@ -1,611 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Constraints;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record13;
|
||||
import org.jooq.Row13;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 ConstraintsRecord extends TableRecordImpl<ConstraintsRecord> implements Record13<String, String, String, String, String, String, String, String, String, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 759662490;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_CATALOG</code>.
|
||||
*/
|
||||
public void setConstraintCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_CATALOG</code>.
|
||||
*/
|
||||
public String getConstraintCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_SCHEMA</code>.
|
||||
*/
|
||||
public void setConstraintSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_SCHEMA</code>.
|
||||
*/
|
||||
public String getConstraintSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_NAME</code>.
|
||||
*/
|
||||
public void setConstraintName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_NAME</code>.
|
||||
*/
|
||||
public String getConstraintName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_TYPE</code>.
|
||||
*/
|
||||
public void setConstraintType(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_TYPE</code>.
|
||||
*/
|
||||
public String getConstraintType() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setTableCatalog(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getTableCatalog() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.UNIQUE_INDEX_NAME</code>.
|
||||
*/
|
||||
public void setUniqueIndexName(String value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.UNIQUE_INDEX_NAME</code>.
|
||||
*/
|
||||
public String getUniqueIndexName() {
|
||||
return (String) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CHECK_EXPRESSION</code>.
|
||||
*/
|
||||
public void setCheckExpression(String value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.CHECK_EXPRESSION</code>.
|
||||
*/
|
||||
public String getCheckExpression() {
|
||||
return (String) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.COLUMN_LIST</code>.
|
||||
*/
|
||||
public void setColumnList(String value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.COLUMN_LIST</code>.
|
||||
*/
|
||||
public String getColumnList() {
|
||||
return (String) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.SQL</code>.
|
||||
*/
|
||||
public void setSql(String value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.SQL</code>.
|
||||
*/
|
||||
public String getSql() {
|
||||
return (String) getValue(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CONSTRAINTS.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CONSTRAINTS.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(12);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record13 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row13<String, String, String, String, String, String, String, String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row13) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row13<String, String, String, String, String, String, String, String, String, String, String, String, Integer> valuesRow() {
|
||||
return (Row13) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Constraints.CONSTRAINTS.CONSTRAINT_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Constraints.CONSTRAINTS.CONSTRAINT_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Constraints.CONSTRAINTS.CONSTRAINT_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Constraints.CONSTRAINTS.CONSTRAINT_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Constraints.CONSTRAINTS.TABLE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return Constraints.CONSTRAINTS.TABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return Constraints.CONSTRAINTS.TABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return Constraints.CONSTRAINTS.UNIQUE_INDEX_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field9() {
|
||||
return Constraints.CONSTRAINTS.CHECK_EXPRESSION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field10() {
|
||||
return Constraints.CONSTRAINTS.COLUMN_LIST;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field11() {
|
||||
return Constraints.CONSTRAINTS.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field12() {
|
||||
return Constraints.CONSTRAINTS.SQL;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field13() {
|
||||
return Constraints.CONSTRAINTS.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getConstraintCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getConstraintSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getConstraintName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getConstraintType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getTableCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getTableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getTableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value8() {
|
||||
return getUniqueIndexName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value9() {
|
||||
return getCheckExpression();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value10() {
|
||||
return getColumnList();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value11() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value12() {
|
||||
return getSql();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value13() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value1(String value) {
|
||||
setConstraintCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value2(String value) {
|
||||
setConstraintSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value3(String value) {
|
||||
setConstraintName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value4(String value) {
|
||||
setConstraintType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value5(String value) {
|
||||
setTableCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value6(String value) {
|
||||
setTableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value7(String value) {
|
||||
setTableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value8(String value) {
|
||||
setUniqueIndexName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value9(String value) {
|
||||
setCheckExpression(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value10(String value) {
|
||||
setColumnList(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value11(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value12(String value) {
|
||||
setSql(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord value13(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ConstraintsRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9, String value10, String value11, String value12, Integer value13) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
value13(value13);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ConstraintsRecord
|
||||
*/
|
||||
public ConstraintsRecord() {
|
||||
super(Constraints.CONSTRAINTS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ConstraintsRecord
|
||||
*/
|
||||
public ConstraintsRecord(String constraintCatalog, String constraintSchema, String constraintName, String constraintType, String tableCatalog, String tableSchema, String tableName, String uniqueIndexName, String checkExpression, String columnList, String remarks, String sql, Integer id) {
|
||||
super(Constraints.CONSTRAINTS);
|
||||
|
||||
setValue(0, constraintCatalog);
|
||||
setValue(1, constraintSchema);
|
||||
setValue(2, constraintName);
|
||||
setValue(3, constraintType);
|
||||
setValue(4, tableCatalog);
|
||||
setValue(5, tableSchema);
|
||||
setValue(6, tableName);
|
||||
setValue(7, uniqueIndexName);
|
||||
setValue(8, checkExpression);
|
||||
setValue(9, columnList);
|
||||
setValue(10, remarks);
|
||||
setValue(11, sql);
|
||||
setValue(12, id);
|
||||
}
|
||||
}
|
|
@ -1,652 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.CrossReferences;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record14;
|
||||
import org.jooq.Row14;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 CrossReferencesRecord extends TableRecordImpl<CrossReferencesRecord> implements Record14<String, String, String, String, String, String, String, String, Short, Short, Short, String, String, Short> {
|
||||
|
||||
private static final long serialVersionUID = -328289893;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setPktableCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getPktableCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setPktableSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getPktableSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_NAME</code>.
|
||||
*/
|
||||
public void setPktableName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_NAME</code>.
|
||||
*/
|
||||
public String getPktableName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKCOLUMN_NAME</code>.
|
||||
*/
|
||||
public void setPkcolumnName(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PKCOLUMN_NAME</code>.
|
||||
*/
|
||||
public String getPkcolumnName() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setFktableCatalog(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getFktableCatalog() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setFktableSchema(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getFktableSchema() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_NAME</code>.
|
||||
*/
|
||||
public void setFktableName(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_NAME</code>.
|
||||
*/
|
||||
public String getFktableName() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKCOLUMN_NAME</code>.
|
||||
*/
|
||||
public void setFkcolumnName(String value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FKCOLUMN_NAME</code>.
|
||||
*/
|
||||
public String getFkcolumnName() {
|
||||
return (String) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.ORDINAL_POSITION</code>.
|
||||
*/
|
||||
public void setOrdinalPosition(Short value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.ORDINAL_POSITION</code>.
|
||||
*/
|
||||
public Short getOrdinalPosition() {
|
||||
return (Short) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.UPDATE_RULE</code>.
|
||||
*/
|
||||
public void setUpdateRule(Short value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.UPDATE_RULE</code>.
|
||||
*/
|
||||
public Short getUpdateRule() {
|
||||
return (Short) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.DELETE_RULE</code>.
|
||||
*/
|
||||
public void setDeleteRule(Short value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.DELETE_RULE</code>.
|
||||
*/
|
||||
public Short getDeleteRule() {
|
||||
return (Short) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FK_NAME</code>.
|
||||
*/
|
||||
public void setFkName(String value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.FK_NAME</code>.
|
||||
*/
|
||||
public String getFkName() {
|
||||
return (String) getValue(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PK_NAME</code>.
|
||||
*/
|
||||
public void setPkName(String value) {
|
||||
setValue(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.PK_NAME</code>.
|
||||
*/
|
||||
public String getPkName() {
|
||||
return (String) getValue(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.DEFERRABILITY</code>.
|
||||
*/
|
||||
public void setDeferrability(Short value) {
|
||||
setValue(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.CROSS_REFERENCES.DEFERRABILITY</code>.
|
||||
*/
|
||||
public Short getDeferrability() {
|
||||
return (Short) getValue(13);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record14 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row14<String, String, String, String, String, String, String, String, Short, Short, Short, String, String, Short> fieldsRow() {
|
||||
return (Row14) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row14<String, String, String, String, String, String, String, String, Short, Short, Short, String, String, Short> valuesRow() {
|
||||
return (Row14) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return CrossReferences.CROSS_REFERENCES.PKTABLE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return CrossReferences.CROSS_REFERENCES.PKTABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return CrossReferences.CROSS_REFERENCES.PKTABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return CrossReferences.CROSS_REFERENCES.PKCOLUMN_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return CrossReferences.CROSS_REFERENCES.FKTABLE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return CrossReferences.CROSS_REFERENCES.FKTABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return CrossReferences.CROSS_REFERENCES.FKTABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return CrossReferences.CROSS_REFERENCES.FKCOLUMN_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field9() {
|
||||
return CrossReferences.CROSS_REFERENCES.ORDINAL_POSITION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field10() {
|
||||
return CrossReferences.CROSS_REFERENCES.UPDATE_RULE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field11() {
|
||||
return CrossReferences.CROSS_REFERENCES.DELETE_RULE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field12() {
|
||||
return CrossReferences.CROSS_REFERENCES.FK_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field13() {
|
||||
return CrossReferences.CROSS_REFERENCES.PK_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field14() {
|
||||
return CrossReferences.CROSS_REFERENCES.DEFERRABILITY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getPktableCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getPktableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getPktableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getPkcolumnName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getFktableCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getFktableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getFktableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value8() {
|
||||
return getFkcolumnName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value9() {
|
||||
return getOrdinalPosition();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value10() {
|
||||
return getUpdateRule();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value11() {
|
||||
return getDeleteRule();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value12() {
|
||||
return getFkName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value13() {
|
||||
return getPkName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value14() {
|
||||
return getDeferrability();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value1(String value) {
|
||||
setPktableCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value2(String value) {
|
||||
setPktableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value3(String value) {
|
||||
setPktableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value4(String value) {
|
||||
setPkcolumnName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value5(String value) {
|
||||
setFktableCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value6(String value) {
|
||||
setFktableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value7(String value) {
|
||||
setFktableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value8(String value) {
|
||||
setFkcolumnName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value9(Short value) {
|
||||
setOrdinalPosition(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value10(Short value) {
|
||||
setUpdateRule(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value11(Short value) {
|
||||
setDeleteRule(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value12(String value) {
|
||||
setFkName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value13(String value) {
|
||||
setPkName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord value14(Short value) {
|
||||
setDeferrability(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public CrossReferencesRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, Short value9, Short value10, Short value11, String value12, String value13, Short value14) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
value13(value13);
|
||||
value14(value14);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CrossReferencesRecord
|
||||
*/
|
||||
public CrossReferencesRecord() {
|
||||
super(CrossReferences.CROSS_REFERENCES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CrossReferencesRecord
|
||||
*/
|
||||
public CrossReferencesRecord(String pktableCatalog, String pktableSchema, String pktableName, String pkcolumnName, String fktableCatalog, String fktableSchema, String fktableName, String fkcolumnName, Short ordinalPosition, Short updateRule, Short deleteRule, String fkName, String pkName, Short deferrability) {
|
||||
super(CrossReferences.CROSS_REFERENCES);
|
||||
|
||||
setValue(0, pktableCatalog);
|
||||
setValue(1, pktableSchema);
|
||||
setValue(2, pktableName);
|
||||
setValue(3, pkcolumnName);
|
||||
setValue(4, fktableCatalog);
|
||||
setValue(5, fktableSchema);
|
||||
setValue(6, fktableName);
|
||||
setValue(7, fkcolumnName);
|
||||
setValue(8, ordinalPosition);
|
||||
setValue(9, updateRule);
|
||||
setValue(10, deleteRule);
|
||||
setValue(11, fkName);
|
||||
setValue(12, pkName);
|
||||
setValue(13, deferrability);
|
||||
}
|
||||
}
|
|
@ -1,652 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Domains;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record14;
|
||||
import org.jooq.Row14;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 DomainsRecord extends TableRecordImpl<DomainsRecord> implements Record14<String, String, String, String, String, Integer, Integer, Integer, String, Integer, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1750298997;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.DOMAIN_CATALOG</code>.
|
||||
*/
|
||||
public void setDomainCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.DOMAIN_CATALOG</code>.
|
||||
*/
|
||||
public String getDomainCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.DOMAIN_SCHEMA</code>.
|
||||
*/
|
||||
public void setDomainSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.DOMAIN_SCHEMA</code>.
|
||||
*/
|
||||
public String getDomainSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.DOMAIN_NAME</code>.
|
||||
*/
|
||||
public void setDomainName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.DOMAIN_NAME</code>.
|
||||
*/
|
||||
public String getDomainName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.COLUMN_DEFAULT</code>.
|
||||
*/
|
||||
public void setColumnDefault(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.COLUMN_DEFAULT</code>.
|
||||
*/
|
||||
public String getColumnDefault() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.IS_NULLABLE</code>.
|
||||
*/
|
||||
public void setIsNullable(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.IS_NULLABLE</code>.
|
||||
*/
|
||||
public String getIsNullable() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.DATA_TYPE</code>.
|
||||
*/
|
||||
public void setDataType(Integer value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.DATA_TYPE</code>.
|
||||
*/
|
||||
public Integer getDataType() {
|
||||
return (Integer) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.PRECISION</code>.
|
||||
*/
|
||||
public void setPrecision(Integer value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.PRECISION</code>.
|
||||
*/
|
||||
public Integer getPrecision() {
|
||||
return (Integer) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.SCALE</code>.
|
||||
*/
|
||||
public void setScale(Integer value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.SCALE</code>.
|
||||
*/
|
||||
public Integer getScale() {
|
||||
return (Integer) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.TYPE_NAME</code>.
|
||||
*/
|
||||
public void setTypeName(String value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.TYPE_NAME</code>.
|
||||
*/
|
||||
public String getTypeName() {
|
||||
return (String) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.SELECTIVITY</code>.
|
||||
*/
|
||||
public void setSelectivity(Integer value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.SELECTIVITY</code>.
|
||||
*/
|
||||
public Integer getSelectivity() {
|
||||
return (Integer) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.CHECK_CONSTRAINT</code>.
|
||||
*/
|
||||
public void setCheckConstraint(String value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.CHECK_CONSTRAINT</code>.
|
||||
*/
|
||||
public String getCheckConstraint() {
|
||||
return (String) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.SQL</code>.
|
||||
*/
|
||||
public void setSql(String value) {
|
||||
setValue(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.SQL</code>.
|
||||
*/
|
||||
public String getSql() {
|
||||
return (String) getValue(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.DOMAINS.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.DOMAINS.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(13);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record14 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row14<String, String, String, String, String, Integer, Integer, Integer, String, Integer, String, String, String, Integer> fieldsRow() {
|
||||
return (Row14) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row14<String, String, String, String, String, Integer, Integer, Integer, String, Integer, String, String, String, Integer> valuesRow() {
|
||||
return (Row14) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Domains.DOMAINS.DOMAIN_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Domains.DOMAINS.DOMAIN_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Domains.DOMAINS.DOMAIN_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Domains.DOMAINS.COLUMN_DEFAULT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Domains.DOMAINS.IS_NULLABLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return Domains.DOMAINS.DATA_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return Domains.DOMAINS.PRECISION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field8() {
|
||||
return Domains.DOMAINS.SCALE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field9() {
|
||||
return Domains.DOMAINS.TYPE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field10() {
|
||||
return Domains.DOMAINS.SELECTIVITY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field11() {
|
||||
return Domains.DOMAINS.CHECK_CONSTRAINT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field12() {
|
||||
return Domains.DOMAINS.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field13() {
|
||||
return Domains.DOMAINS.SQL;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field14() {
|
||||
return Domains.DOMAINS.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getDomainCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getDomainSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getDomainName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getColumnDefault();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getIsNullable();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getDataType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getPrecision();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value8() {
|
||||
return getScale();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value9() {
|
||||
return getTypeName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value10() {
|
||||
return getSelectivity();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value11() {
|
||||
return getCheckConstraint();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value12() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value13() {
|
||||
return getSql();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value14() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value1(String value) {
|
||||
setDomainCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value2(String value) {
|
||||
setDomainSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value3(String value) {
|
||||
setDomainName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value4(String value) {
|
||||
setColumnDefault(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value5(String value) {
|
||||
setIsNullable(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value6(Integer value) {
|
||||
setDataType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value7(Integer value) {
|
||||
setPrecision(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value8(Integer value) {
|
||||
setScale(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value9(String value) {
|
||||
setTypeName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value10(Integer value) {
|
||||
setSelectivity(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value11(String value) {
|
||||
setCheckConstraint(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value12(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value13(String value) {
|
||||
setSql(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord value14(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public DomainsRecord values(String value1, String value2, String value3, String value4, String value5, Integer value6, Integer value7, Integer value8, String value9, Integer value10, String value11, String value12, String value13, Integer value14) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
value13(value13);
|
||||
value14(value14);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DomainsRecord
|
||||
*/
|
||||
public DomainsRecord() {
|
||||
super(Domains.DOMAINS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DomainsRecord
|
||||
*/
|
||||
public DomainsRecord(String domainCatalog, String domainSchema, String domainName, String columnDefault, String isNullable, Integer dataType, Integer precision, Integer scale, String typeName, Integer selectivity, String checkConstraint, String remarks, String sql, Integer id) {
|
||||
super(Domains.DOMAINS);
|
||||
|
||||
setValue(0, domainCatalog);
|
||||
setValue(1, domainSchema);
|
||||
setValue(2, domainName);
|
||||
setValue(3, columnDefault);
|
||||
setValue(4, isNullable);
|
||||
setValue(5, dataType);
|
||||
setValue(6, precision);
|
||||
setValue(7, scale);
|
||||
setValue(8, typeName);
|
||||
setValue(9, selectivity);
|
||||
setValue(10, checkConstraint);
|
||||
setValue(11, remarks);
|
||||
setValue(12, sql);
|
||||
setValue(13, id);
|
||||
}
|
||||
}
|
|
@ -1,570 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionAliases;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record12;
|
||||
import org.jooq.Row12;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 FunctionAliasesRecord extends TableRecordImpl<FunctionAliasesRecord> implements Record12<String, String, String, String, String, Integer, String, Integer, Short, String, Integer, String> {
|
||||
|
||||
private static final long serialVersionUID = -788602015;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_CATALOG</code>.
|
||||
*/
|
||||
public void setAliasCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_CATALOG</code>.
|
||||
*/
|
||||
public String getAliasCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_SCHEMA</code>.
|
||||
*/
|
||||
public void setAliasSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_SCHEMA</code>.
|
||||
*/
|
||||
public String getAliasSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_NAME</code>.
|
||||
*/
|
||||
public void setAliasName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_NAME</code>.
|
||||
*/
|
||||
public String getAliasName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_CLASS</code>.
|
||||
*/
|
||||
public void setJavaClass(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_CLASS</code>.
|
||||
*/
|
||||
public String getJavaClass() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_METHOD</code>.
|
||||
*/
|
||||
public void setJavaMethod(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_METHOD</code>.
|
||||
*/
|
||||
public String getJavaMethod() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.DATA_TYPE</code>.
|
||||
*/
|
||||
public void setDataType(Integer value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.DATA_TYPE</code>.
|
||||
*/
|
||||
public Integer getDataType() {
|
||||
return (Integer) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.TYPE_NAME</code>.
|
||||
*/
|
||||
public void setTypeName(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.TYPE_NAME</code>.
|
||||
*/
|
||||
public String getTypeName() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.COLUMN_COUNT</code>.
|
||||
*/
|
||||
public void setColumnCount(Integer value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.COLUMN_COUNT</code>.
|
||||
*/
|
||||
public Integer getColumnCount() {
|
||||
return (Integer) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.RETURNS_RESULT</code>.
|
||||
*/
|
||||
public void setReturnsResult(Short value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.RETURNS_RESULT</code>.
|
||||
*/
|
||||
public Short getReturnsResult() {
|
||||
return (Short) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.SOURCE</code>.
|
||||
*/
|
||||
public void setSource(String value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_ALIASES.SOURCE</code>.
|
||||
*/
|
||||
public String getSource() {
|
||||
return (String) getValue(11);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record12 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row12<String, String, String, String, String, Integer, String, Integer, Short, String, Integer, String> fieldsRow() {
|
||||
return (Row12) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row12<String, String, String, String, String, Integer, String, Integer, Short, String, Integer, String> valuesRow() {
|
||||
return (Row12) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.ALIAS_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.ALIAS_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.ALIAS_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.JAVA_CLASS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.JAVA_METHOD;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.DATA_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.TYPE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field8() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.COLUMN_COUNT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field9() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.RETURNS_RESULT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field10() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field11() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field12() {
|
||||
return FunctionAliases.FUNCTION_ALIASES.SOURCE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getAliasCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getAliasSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getAliasName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getJavaClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getJavaMethod();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getDataType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getTypeName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value8() {
|
||||
return getColumnCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value9() {
|
||||
return getReturnsResult();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value10() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value11() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value12() {
|
||||
return getSource();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value1(String value) {
|
||||
setAliasCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value2(String value) {
|
||||
setAliasSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value3(String value) {
|
||||
setAliasName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value4(String value) {
|
||||
setJavaClass(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value5(String value) {
|
||||
setJavaMethod(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value6(Integer value) {
|
||||
setDataType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value7(String value) {
|
||||
setTypeName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value8(Integer value) {
|
||||
setColumnCount(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value9(Short value) {
|
||||
setReturnsResult(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value10(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value11(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord value12(String value) {
|
||||
setSource(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionAliasesRecord values(String value1, String value2, String value3, String value4, String value5, Integer value6, String value7, Integer value8, Short value9, String value10, Integer value11, String value12) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached FunctionAliasesRecord
|
||||
*/
|
||||
public FunctionAliasesRecord() {
|
||||
super(FunctionAliases.FUNCTION_ALIASES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised FunctionAliasesRecord
|
||||
*/
|
||||
public FunctionAliasesRecord(String aliasCatalog, String aliasSchema, String aliasName, String javaClass, String javaMethod, Integer dataType, String typeName, Integer columnCount, Short returnsResult, String remarks, Integer id, String source) {
|
||||
super(FunctionAliases.FUNCTION_ALIASES);
|
||||
|
||||
setValue(0, aliasCatalog);
|
||||
setValue(1, aliasSchema);
|
||||
setValue(2, aliasName);
|
||||
setValue(3, javaClass);
|
||||
setValue(4, javaMethod);
|
||||
setValue(5, dataType);
|
||||
setValue(6, typeName);
|
||||
setValue(7, columnCount);
|
||||
setValue(8, returnsResult);
|
||||
setValue(9, remarks);
|
||||
setValue(10, id);
|
||||
setValue(11, source);
|
||||
}
|
||||
}
|
|
@ -1,775 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionColumns;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record17;
|
||||
import org.jooq.Row17;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 FunctionColumnsRecord extends TableRecordImpl<FunctionColumnsRecord> implements Record17<String, String, String, String, String, Integer, Integer, String, Integer, String, Integer, Short, Short, Short, Short, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1196004173;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_CATALOG</code>.
|
||||
*/
|
||||
public void setAliasCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_CATALOG</code>.
|
||||
*/
|
||||
public String getAliasCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_SCHEMA</code>.
|
||||
*/
|
||||
public void setAliasSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_SCHEMA</code>.
|
||||
*/
|
||||
public String getAliasSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_NAME</code>.
|
||||
*/
|
||||
public void setAliasName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_NAME</code>.
|
||||
*/
|
||||
public String getAliasName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_CLASS</code>.
|
||||
*/
|
||||
public void setJavaClass(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_CLASS</code>.
|
||||
*/
|
||||
public String getJavaClass() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_METHOD</code>.
|
||||
*/
|
||||
public void setJavaMethod(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_METHOD</code>.
|
||||
*/
|
||||
public String getJavaMethod() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_COUNT</code>.
|
||||
*/
|
||||
public void setColumnCount(Integer value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_COUNT</code>.
|
||||
*/
|
||||
public Integer getColumnCount() {
|
||||
return (Integer) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.POS</code>.
|
||||
*/
|
||||
public void setPos(Integer value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.POS</code>.
|
||||
*/
|
||||
public Integer getPos() {
|
||||
return (Integer) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_NAME</code>.
|
||||
*/
|
||||
public void setColumnName(String value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_NAME</code>.
|
||||
*/
|
||||
public String getColumnName() {
|
||||
return (String) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.DATA_TYPE</code>.
|
||||
*/
|
||||
public void setDataType(Integer value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.DATA_TYPE</code>.
|
||||
*/
|
||||
public Integer getDataType() {
|
||||
return (Integer) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.TYPE_NAME</code>.
|
||||
*/
|
||||
public void setTypeName(String value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.TYPE_NAME</code>.
|
||||
*/
|
||||
public String getTypeName() {
|
||||
return (String) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.PRECISION</code>.
|
||||
*/
|
||||
public void setPrecision(Integer value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.PRECISION</code>.
|
||||
*/
|
||||
public Integer getPrecision() {
|
||||
return (Integer) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.SCALE</code>.
|
||||
*/
|
||||
public void setScale(Short value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.SCALE</code>.
|
||||
*/
|
||||
public Short getScale() {
|
||||
return (Short) getValue(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.RADIX</code>.
|
||||
*/
|
||||
public void setRadix(Short value) {
|
||||
setValue(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.RADIX</code>.
|
||||
*/
|
||||
public Short getRadix() {
|
||||
return (Short) getValue(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.NULLABLE</code>.
|
||||
*/
|
||||
public void setNullable(Short value) {
|
||||
setValue(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.NULLABLE</code>.
|
||||
*/
|
||||
public Short getNullable() {
|
||||
return (Short) getValue(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_TYPE</code>.
|
||||
*/
|
||||
public void setColumnType(Short value) {
|
||||
setValue(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_TYPE</code>.
|
||||
*/
|
||||
public Short getColumnType() {
|
||||
return (Short) getValue(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(15, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_DEFAULT</code>.
|
||||
*/
|
||||
public void setColumnDefault(String value) {
|
||||
setValue(16, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_DEFAULT</code>.
|
||||
*/
|
||||
public String getColumnDefault() {
|
||||
return (String) getValue(16);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record17 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row17<String, String, String, String, String, Integer, Integer, String, Integer, String, Integer, Short, Short, Short, Short, String, String> fieldsRow() {
|
||||
return (Row17) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row17<String, String, String, String, String, Integer, Integer, String, Integer, String, Integer, Short, Short, Short, Short, String, String> valuesRow() {
|
||||
return (Row17) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.ALIAS_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.ALIAS_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.ALIAS_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.JAVA_CLASS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.JAVA_METHOD;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.COLUMN_COUNT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.POS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.COLUMN_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field9() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.DATA_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field10() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.TYPE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field11() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.PRECISION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field12() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.SCALE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field13() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.RADIX;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field14() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.NULLABLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field15() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.COLUMN_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field16() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field17() {
|
||||
return FunctionColumns.FUNCTION_COLUMNS.COLUMN_DEFAULT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getAliasCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getAliasSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getAliasName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getJavaClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getJavaMethod();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getColumnCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getPos();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value8() {
|
||||
return getColumnName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value9() {
|
||||
return getDataType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value10() {
|
||||
return getTypeName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value11() {
|
||||
return getPrecision();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value12() {
|
||||
return getScale();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value13() {
|
||||
return getRadix();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value14() {
|
||||
return getNullable();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value15() {
|
||||
return getColumnType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value16() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value17() {
|
||||
return getColumnDefault();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value1(String value) {
|
||||
setAliasCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value2(String value) {
|
||||
setAliasSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value3(String value) {
|
||||
setAliasName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value4(String value) {
|
||||
setJavaClass(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value5(String value) {
|
||||
setJavaMethod(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value6(Integer value) {
|
||||
setColumnCount(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value7(Integer value) {
|
||||
setPos(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value8(String value) {
|
||||
setColumnName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value9(Integer value) {
|
||||
setDataType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value10(String value) {
|
||||
setTypeName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value11(Integer value) {
|
||||
setPrecision(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value12(Short value) {
|
||||
setScale(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value13(Short value) {
|
||||
setRadix(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value14(Short value) {
|
||||
setNullable(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value15(Short value) {
|
||||
setColumnType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value16(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord value17(String value) {
|
||||
setColumnDefault(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public FunctionColumnsRecord values(String value1, String value2, String value3, String value4, String value5, Integer value6, Integer value7, String value8, Integer value9, String value10, Integer value11, Short value12, Short value13, Short value14, Short value15, String value16, String value17) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
value13(value13);
|
||||
value14(value14);
|
||||
value15(value15);
|
||||
value16(value16);
|
||||
value17(value17);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached FunctionColumnsRecord
|
||||
*/
|
||||
public FunctionColumnsRecord() {
|
||||
super(FunctionColumns.FUNCTION_COLUMNS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised FunctionColumnsRecord
|
||||
*/
|
||||
public FunctionColumnsRecord(String aliasCatalog, String aliasSchema, String aliasName, String javaClass, String javaMethod, Integer columnCount, Integer pos, String columnName, Integer dataType, String typeName, Integer precision, Short scale, Short radix, Short nullable, Short columnType, String remarks, String columnDefault) {
|
||||
super(FunctionColumns.FUNCTION_COLUMNS);
|
||||
|
||||
setValue(0, aliasCatalog);
|
||||
setValue(1, aliasSchema);
|
||||
setValue(2, aliasName);
|
||||
setValue(3, javaClass);
|
||||
setValue(4, javaMethod);
|
||||
setValue(5, columnCount);
|
||||
setValue(6, pos);
|
||||
setValue(7, columnName);
|
||||
setValue(8, dataType);
|
||||
setValue(9, typeName);
|
||||
setValue(10, precision);
|
||||
setValue(11, scale);
|
||||
setValue(12, radix);
|
||||
setValue(13, nullable);
|
||||
setValue(14, columnType);
|
||||
setValue(15, remarks);
|
||||
setValue(16, columnDefault);
|
||||
}
|
||||
}
|
|
@ -1,283 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Help;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record5;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 HelpRecord extends TableRecordImpl<HelpRecord> implements Record5<Integer, String, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = -1612064442;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.HELP.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.HELP.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.HELP.SECTION</code>.
|
||||
*/
|
||||
public void setSection(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.HELP.SECTION</code>.
|
||||
*/
|
||||
public String getSection() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.HELP.TOPIC</code>.
|
||||
*/
|
||||
public void setTopic(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.HELP.TOPIC</code>.
|
||||
*/
|
||||
public String getTopic() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.HELP.SYNTAX</code>.
|
||||
*/
|
||||
public void setSyntax(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.HELP.SYNTAX</code>.
|
||||
*/
|
||||
public String getSyntax() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.HELP.TEXT</code>.
|
||||
*/
|
||||
public void setText(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.HELP.TEXT</code>.
|
||||
*/
|
||||
public String getText() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row5<Integer, String, String, String, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row5<Integer, String, String, String, String> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return Help.HELP.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Help.HELP.SECTION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Help.HELP.TOPIC;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Help.HELP.SYNTAX;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Help.HELP.TEXT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getSection();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getTopic();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getSyntax();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getText();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public HelpRecord value1(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public HelpRecord value2(String value) {
|
||||
setSection(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public HelpRecord value3(String value) {
|
||||
setTopic(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public HelpRecord value4(String value) {
|
||||
setSyntax(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public HelpRecord value5(String value) {
|
||||
setText(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public HelpRecord values(Integer value1, String value2, String value3, String value4, String value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached HelpRecord
|
||||
*/
|
||||
public HelpRecord() {
|
||||
super(Help.HELP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised HelpRecord
|
||||
*/
|
||||
public HelpRecord(Integer id, String section, String topic, String syntax, String text) {
|
||||
super(Help.HELP);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, section);
|
||||
setValue(2, topic);
|
||||
setValue(3, syntax);
|
||||
setValue(4, text);
|
||||
}
|
||||
}
|
|
@ -1,160 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.InDoubt;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.Row2;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 InDoubtRecord extends TableRecordImpl<InDoubtRecord> implements Record2<String, String> {
|
||||
|
||||
private static final long serialVersionUID = 115858325;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.IN_DOUBT.TRANSACTION</code>.
|
||||
*/
|
||||
public void setTransaction(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.IN_DOUBT.TRANSACTION</code>.
|
||||
*/
|
||||
public String getTransaction() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.IN_DOUBT.STATE</code>.
|
||||
*/
|
||||
public void setState(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.IN_DOUBT.STATE</code>.
|
||||
*/
|
||||
public String getState() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<String, String> fieldsRow() {
|
||||
return (Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<String, String> valuesRow() {
|
||||
return (Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return InDoubt.IN_DOUBT.TRANSACTION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return InDoubt.IN_DOUBT.STATE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getTransaction();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getState();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public InDoubtRecord value1(String value) {
|
||||
setTransaction(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public InDoubtRecord value2(String value) {
|
||||
setState(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public InDoubtRecord values(String value1, String value2) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached InDoubtRecord
|
||||
*/
|
||||
public InDoubtRecord() {
|
||||
super(InDoubt.IN_DOUBT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised InDoubtRecord
|
||||
*/
|
||||
public InDoubtRecord(String transaction, String state) {
|
||||
super(InDoubt.IN_DOUBT);
|
||||
|
||||
setValue(0, transaction);
|
||||
setValue(1, state);
|
||||
}
|
||||
}
|
|
@ -1,939 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Indexes;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record21;
|
||||
import org.jooq.Row21;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 IndexesRecord extends TableRecordImpl<IndexesRecord> implements Record21<String, String, String, Boolean, String, Short, String, Integer, Boolean, String, Boolean, Short, String, Integer, String, String, String, Integer, Integer, String, String> {
|
||||
|
||||
private static final long serialVersionUID = -1683028432;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setTableCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getTableCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.NON_UNIQUE</code>.
|
||||
*/
|
||||
public void setNonUnique(Boolean value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.NON_UNIQUE</code>.
|
||||
*/
|
||||
public Boolean getNonUnique() {
|
||||
return (Boolean) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.INDEX_NAME</code>.
|
||||
*/
|
||||
public void setIndexName(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.INDEX_NAME</code>.
|
||||
*/
|
||||
public String getIndexName() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.ORDINAL_POSITION</code>.
|
||||
*/
|
||||
public void setOrdinalPosition(Short value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.ORDINAL_POSITION</code>.
|
||||
*/
|
||||
public Short getOrdinalPosition() {
|
||||
return (Short) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.COLUMN_NAME</code>.
|
||||
*/
|
||||
public void setColumnName(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.COLUMN_NAME</code>.
|
||||
*/
|
||||
public String getColumnName() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.CARDINALITY</code>.
|
||||
*/
|
||||
public void setCardinality(Integer value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.CARDINALITY</code>.
|
||||
*/
|
||||
public Integer getCardinality() {
|
||||
return (Integer) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.PRIMARY_KEY</code>.
|
||||
*/
|
||||
public void setPrimaryKey_(Boolean value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.PRIMARY_KEY</code>.
|
||||
*/
|
||||
public Boolean getPrimaryKey_() {
|
||||
return (Boolean) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.INDEX_TYPE_NAME</code>.
|
||||
*/
|
||||
public void setIndexTypeName(String value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.INDEX_TYPE_NAME</code>.
|
||||
*/
|
||||
public String getIndexTypeName() {
|
||||
return (String) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.IS_GENERATED</code>.
|
||||
*/
|
||||
public void setIsGenerated(Boolean value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.IS_GENERATED</code>.
|
||||
*/
|
||||
public Boolean getIsGenerated() {
|
||||
return (Boolean) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.INDEX_TYPE</code>.
|
||||
*/
|
||||
public void setIndexType(Short value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.INDEX_TYPE</code>.
|
||||
*/
|
||||
public Short getIndexType() {
|
||||
return (Short) getValue(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.ASC_OR_DESC</code>.
|
||||
*/
|
||||
public void setAscOrDesc(String value) {
|
||||
setValue(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.ASC_OR_DESC</code>.
|
||||
*/
|
||||
public String getAscOrDesc() {
|
||||
return (String) getValue(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.PAGES</code>.
|
||||
*/
|
||||
public void setPages(Integer value) {
|
||||
setValue(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.PAGES</code>.
|
||||
*/
|
||||
public Integer getPages() {
|
||||
return (Integer) getValue(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.FILTER_CONDITION</code>.
|
||||
*/
|
||||
public void setFilterCondition(String value) {
|
||||
setValue(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.FILTER_CONDITION</code>.
|
||||
*/
|
||||
public String getFilterCondition() {
|
||||
return (String) getValue(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(15, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.SQL</code>.
|
||||
*/
|
||||
public void setSql(String value) {
|
||||
setValue(16, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.SQL</code>.
|
||||
*/
|
||||
public String getSql() {
|
||||
return (String) getValue(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(17, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(17);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.SORT_TYPE</code>.
|
||||
*/
|
||||
public void setSortType(Integer value) {
|
||||
setValue(18, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.SORT_TYPE</code>.
|
||||
*/
|
||||
public Integer getSortType() {
|
||||
return (Integer) getValue(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.CONSTRAINT_NAME</code>.
|
||||
*/
|
||||
public void setConstraintName(String value) {
|
||||
setValue(19, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.CONSTRAINT_NAME</code>.
|
||||
*/
|
||||
public String getConstraintName() {
|
||||
return (String) getValue(19);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.INDEXES.INDEX_CLASS</code>.
|
||||
*/
|
||||
public void setIndexClass(String value) {
|
||||
setValue(20, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.INDEXES.INDEX_CLASS</code>.
|
||||
*/
|
||||
public String getIndexClass() {
|
||||
return (String) getValue(20);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record21 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row21<String, String, String, Boolean, String, Short, String, Integer, Boolean, String, Boolean, Short, String, Integer, String, String, String, Integer, Integer, String, String> fieldsRow() {
|
||||
return (Row21) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row21<String, String, String, Boolean, String, Short, String, Integer, Boolean, String, Boolean, Short, String, Integer, String, String, String, Integer, Integer, String, String> valuesRow() {
|
||||
return (Row21) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Indexes.INDEXES.TABLE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Indexes.INDEXES.TABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Indexes.INDEXES.TABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field4() {
|
||||
return Indexes.INDEXES.NON_UNIQUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Indexes.INDEXES.INDEX_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field6() {
|
||||
return Indexes.INDEXES.ORDINAL_POSITION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return Indexes.INDEXES.COLUMN_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field8() {
|
||||
return Indexes.INDEXES.CARDINALITY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field9() {
|
||||
return Indexes.INDEXES.PRIMARY_KEY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field10() {
|
||||
return Indexes.INDEXES.INDEX_TYPE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field11() {
|
||||
return Indexes.INDEXES.IS_GENERATED;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field12() {
|
||||
return Indexes.INDEXES.INDEX_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field13() {
|
||||
return Indexes.INDEXES.ASC_OR_DESC;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field14() {
|
||||
return Indexes.INDEXES.PAGES;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field15() {
|
||||
return Indexes.INDEXES.FILTER_CONDITION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field16() {
|
||||
return Indexes.INDEXES.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field17() {
|
||||
return Indexes.INDEXES.SQL;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field18() {
|
||||
return Indexes.INDEXES.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field19() {
|
||||
return Indexes.INDEXES.SORT_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field20() {
|
||||
return Indexes.INDEXES.CONSTRAINT_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field21() {
|
||||
return Indexes.INDEXES.INDEX_CLASS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getTableCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getTableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getTableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value4() {
|
||||
return getNonUnique();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getIndexName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value6() {
|
||||
return getOrdinalPosition();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getColumnName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value8() {
|
||||
return getCardinality();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value9() {
|
||||
return getPrimaryKey_();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value10() {
|
||||
return getIndexTypeName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value11() {
|
||||
return getIsGenerated();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value12() {
|
||||
return getIndexType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value13() {
|
||||
return getAscOrDesc();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value14() {
|
||||
return getPages();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value15() {
|
||||
return getFilterCondition();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value16() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value17() {
|
||||
return getSql();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value18() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value19() {
|
||||
return getSortType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value20() {
|
||||
return getConstraintName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value21() {
|
||||
return getIndexClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value1(String value) {
|
||||
setTableCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value2(String value) {
|
||||
setTableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value3(String value) {
|
||||
setTableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value4(Boolean value) {
|
||||
setNonUnique(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value5(String value) {
|
||||
setIndexName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value6(Short value) {
|
||||
setOrdinalPosition(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value7(String value) {
|
||||
setColumnName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value8(Integer value) {
|
||||
setCardinality(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value9(Boolean value) {
|
||||
setPrimaryKey_(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value10(String value) {
|
||||
setIndexTypeName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value11(Boolean value) {
|
||||
setIsGenerated(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value12(Short value) {
|
||||
setIndexType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value13(String value) {
|
||||
setAscOrDesc(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value14(Integer value) {
|
||||
setPages(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value15(String value) {
|
||||
setFilterCondition(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value16(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value17(String value) {
|
||||
setSql(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value18(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value19(Integer value) {
|
||||
setSortType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value20(String value) {
|
||||
setConstraintName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord value21(String value) {
|
||||
setIndexClass(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public IndexesRecord values(String value1, String value2, String value3, Boolean value4, String value5, Short value6, String value7, Integer value8, Boolean value9, String value10, Boolean value11, Short value12, String value13, Integer value14, String value15, String value16, String value17, Integer value18, Integer value19, String value20, String value21) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
value13(value13);
|
||||
value14(value14);
|
||||
value15(value15);
|
||||
value16(value16);
|
||||
value17(value17);
|
||||
value18(value18);
|
||||
value19(value19);
|
||||
value20(value20);
|
||||
value21(value21);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached IndexesRecord
|
||||
*/
|
||||
public IndexesRecord() {
|
||||
super(Indexes.INDEXES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised IndexesRecord
|
||||
*/
|
||||
public IndexesRecord(String tableCatalog, String tableSchema, String tableName, Boolean nonUnique, String indexName, Short ordinalPosition, String columnName, Integer cardinality, Boolean primaryKey, String indexTypeName, Boolean isGenerated, Short indexType, String ascOrDesc, Integer pages, String filterCondition, String remarks, String sql, Integer id, Integer sortType, String constraintName, String indexClass) {
|
||||
super(Indexes.INDEXES);
|
||||
|
||||
setValue(0, tableCatalog);
|
||||
setValue(1, tableSchema);
|
||||
setValue(2, tableName);
|
||||
setValue(3, nonUnique);
|
||||
setValue(4, indexName);
|
||||
setValue(5, ordinalPosition);
|
||||
setValue(6, columnName);
|
||||
setValue(7, cardinality);
|
||||
setValue(8, primaryKey);
|
||||
setValue(9, indexTypeName);
|
||||
setValue(10, isGenerated);
|
||||
setValue(11, indexType);
|
||||
setValue(12, ascOrDesc);
|
||||
setValue(13, pages);
|
||||
setValue(14, filterCondition);
|
||||
setValue(15, remarks);
|
||||
setValue(16, sql);
|
||||
setValue(17, id);
|
||||
setValue(18, sortType);
|
||||
setValue(19, constraintName);
|
||||
setValue(20, indexClass);
|
||||
}
|
||||
}
|
|
@ -1,242 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Locks;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 LocksRecord extends TableRecordImpl<LocksRecord> implements Record4<String, String, Integer, String> {
|
||||
|
||||
private static final long serialVersionUID = 1548907854;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.LOCKS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.LOCKS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.LOCKS.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.LOCKS.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.LOCKS.SESSION_ID</code>.
|
||||
*/
|
||||
public void setSessionId(Integer value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.LOCKS.SESSION_ID</code>.
|
||||
*/
|
||||
public Integer getSessionId() {
|
||||
return (Integer) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.LOCKS.LOCK_TYPE</code>.
|
||||
*/
|
||||
public void setLockType(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.LOCKS.LOCK_TYPE</code>.
|
||||
*/
|
||||
public String getLockType() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row4<String, String, Integer, String> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row4<String, String, Integer, String> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Locks.LOCKS.TABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Locks.LOCKS.TABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return Locks.LOCKS.SESSION_ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Locks.LOCKS.LOCK_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getTableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getTableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getSessionId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getLockType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public LocksRecord value1(String value) {
|
||||
setTableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public LocksRecord value2(String value) {
|
||||
setTableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public LocksRecord value3(Integer value) {
|
||||
setSessionId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public LocksRecord value4(String value) {
|
||||
setLockType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public LocksRecord values(String value1, String value2, Integer value3, String value4) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LocksRecord
|
||||
*/
|
||||
public LocksRecord() {
|
||||
super(Locks.LOCKS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LocksRecord
|
||||
*/
|
||||
public LocksRecord(String tableSchema, String tableName, Integer sessionId, String lockType) {
|
||||
super(Locks.LOCKS);
|
||||
|
||||
setValue(0, tableSchema);
|
||||
setValue(1, tableName);
|
||||
setValue(2, sessionId);
|
||||
setValue(3, lockType);
|
||||
}
|
||||
}
|
|
@ -1,570 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.QueryStatistics;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record12;
|
||||
import org.jooq.Row12;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 QueryStatisticsRecord extends TableRecordImpl<QueryStatisticsRecord> implements Record12<String, Integer, Long, Long, Long, Double, Double, Integer, Integer, Long, Double, Double> {
|
||||
|
||||
private static final long serialVersionUID = -1608090322;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.SQL_STATEMENT</code>.
|
||||
*/
|
||||
public void setSqlStatement(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.SQL_STATEMENT</code>.
|
||||
*/
|
||||
public String getSqlStatement() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.EXECUTION_COUNT</code>.
|
||||
*/
|
||||
public void setExecutionCount(Integer value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.EXECUTION_COUNT</code>.
|
||||
*/
|
||||
public Integer getExecutionCount() {
|
||||
return (Integer) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public void setMinExecutionTime(Long value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public Long getMinExecutionTime() {
|
||||
return (Long) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public void setMaxExecutionTime(Long value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public Long getMaxExecutionTime() {
|
||||
return (Long) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public void setCumulativeExecutionTime(Long value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public Long getCumulativeExecutionTime() {
|
||||
return (Long) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public void setAverageExecutionTime(Double value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public Double getAverageExecutionTime() {
|
||||
return (Double) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public void setStdDevExecutionTime(Double value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_EXECUTION_TIME</code>.
|
||||
*/
|
||||
public Double getStdDevExecutionTime() {
|
||||
return (Double) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_ROW_COUNT</code>.
|
||||
*/
|
||||
public void setMinRowCount(Integer value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_ROW_COUNT</code>.
|
||||
*/
|
||||
public Integer getMinRowCount() {
|
||||
return (Integer) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_ROW_COUNT</code>.
|
||||
*/
|
||||
public void setMaxRowCount(Integer value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_ROW_COUNT</code>.
|
||||
*/
|
||||
public Integer getMaxRowCount() {
|
||||
return (Integer) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_ROW_COUNT</code>.
|
||||
*/
|
||||
public void setCumulativeRowCount(Long value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_ROW_COUNT</code>.
|
||||
*/
|
||||
public Long getCumulativeRowCount() {
|
||||
return (Long) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_ROW_COUNT</code>.
|
||||
*/
|
||||
public void setAverageRowCount(Double value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_ROW_COUNT</code>.
|
||||
*/
|
||||
public Double getAverageRowCount() {
|
||||
return (Double) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_ROW_COUNT</code>.
|
||||
*/
|
||||
public void setStdDevRowCount(Double value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_ROW_COUNT</code>.
|
||||
*/
|
||||
public Double getStdDevRowCount() {
|
||||
return (Double) getValue(11);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record12 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row12<String, Integer, Long, Long, Long, Double, Double, Integer, Integer, Long, Double, Double> fieldsRow() {
|
||||
return (Row12) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row12<String, Integer, Long, Long, Long, Double, Double, Integer, Integer, Long, Double, Double> valuesRow() {
|
||||
return (Row12) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return QueryStatistics.QUERY_STATISTICS.SQL_STATEMENT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return QueryStatistics.QUERY_STATISTICS.EXECUTION_COUNT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field3() {
|
||||
return QueryStatistics.QUERY_STATISTICS.MIN_EXECUTION_TIME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field4() {
|
||||
return QueryStatistics.QUERY_STATISTICS.MAX_EXECUTION_TIME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field5() {
|
||||
return QueryStatistics.QUERY_STATISTICS.CUMULATIVE_EXECUTION_TIME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Double> field6() {
|
||||
return QueryStatistics.QUERY_STATISTICS.AVERAGE_EXECUTION_TIME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Double> field7() {
|
||||
return QueryStatistics.QUERY_STATISTICS.STD_DEV_EXECUTION_TIME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field8() {
|
||||
return QueryStatistics.QUERY_STATISTICS.MIN_ROW_COUNT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field9() {
|
||||
return QueryStatistics.QUERY_STATISTICS.MAX_ROW_COUNT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field10() {
|
||||
return QueryStatistics.QUERY_STATISTICS.CUMULATIVE_ROW_COUNT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Double> field11() {
|
||||
return QueryStatistics.QUERY_STATISTICS.AVERAGE_ROW_COUNT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Double> field12() {
|
||||
return QueryStatistics.QUERY_STATISTICS.STD_DEV_ROW_COUNT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getSqlStatement();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getExecutionCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value3() {
|
||||
return getMinExecutionTime();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value4() {
|
||||
return getMaxExecutionTime();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value5() {
|
||||
return getCumulativeExecutionTime();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Double value6() {
|
||||
return getAverageExecutionTime();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Double value7() {
|
||||
return getStdDevExecutionTime();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value8() {
|
||||
return getMinRowCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value9() {
|
||||
return getMaxRowCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value10() {
|
||||
return getCumulativeRowCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Double value11() {
|
||||
return getAverageRowCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Double value12() {
|
||||
return getStdDevRowCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value1(String value) {
|
||||
setSqlStatement(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value2(Integer value) {
|
||||
setExecutionCount(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value3(Long value) {
|
||||
setMinExecutionTime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value4(Long value) {
|
||||
setMaxExecutionTime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value5(Long value) {
|
||||
setCumulativeExecutionTime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value6(Double value) {
|
||||
setAverageExecutionTime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value7(Double value) {
|
||||
setStdDevExecutionTime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value8(Integer value) {
|
||||
setMinRowCount(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value9(Integer value) {
|
||||
setMaxRowCount(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value10(Long value) {
|
||||
setCumulativeRowCount(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value11(Double value) {
|
||||
setAverageRowCount(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord value12(Double value) {
|
||||
setStdDevRowCount(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public QueryStatisticsRecord values(String value1, Integer value2, Long value3, Long value4, Long value5, Double value6, Double value7, Integer value8, Integer value9, Long value10, Double value11, Double value12) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached QueryStatisticsRecord
|
||||
*/
|
||||
public QueryStatisticsRecord() {
|
||||
super(QueryStatistics.QUERY_STATISTICS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised QueryStatisticsRecord
|
||||
*/
|
||||
public QueryStatisticsRecord(String sqlStatement, Integer executionCount, Long minExecutionTime, Long maxExecutionTime, Long cumulativeExecutionTime, Double averageExecutionTime, Double stdDevExecutionTime, Integer minRowCount, Integer maxRowCount, Long cumulativeRowCount, Double averageRowCount, Double stdDevRowCount) {
|
||||
super(QueryStatistics.QUERY_STATISTICS);
|
||||
|
||||
setValue(0, sqlStatement);
|
||||
setValue(1, executionCount);
|
||||
setValue(2, minExecutionTime);
|
||||
setValue(3, maxExecutionTime);
|
||||
setValue(4, cumulativeExecutionTime);
|
||||
setValue(5, averageExecutionTime);
|
||||
setValue(6, stdDevExecutionTime);
|
||||
setValue(7, minRowCount);
|
||||
setValue(8, maxRowCount);
|
||||
setValue(9, cumulativeRowCount);
|
||||
setValue(10, averageRowCount);
|
||||
setValue(11, stdDevRowCount);
|
||||
}
|
||||
}
|
|
@ -1,365 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Rights;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record7;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 RightsRecord extends TableRecordImpl<RightsRecord> implements Record7<String, String, String, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 269610816;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.RIGHTS.GRANTEE</code>.
|
||||
*/
|
||||
public void setGrantee(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.RIGHTS.GRANTEE</code>.
|
||||
*/
|
||||
public String getGrantee() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.RIGHTS.GRANTEETYPE</code>.
|
||||
*/
|
||||
public void setGranteetype(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.RIGHTS.GRANTEETYPE</code>.
|
||||
*/
|
||||
public String getGranteetype() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.RIGHTS.GRANTEDROLE</code>.
|
||||
*/
|
||||
public void setGrantedrole(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.RIGHTS.GRANTEDROLE</code>.
|
||||
*/
|
||||
public String getGrantedrole() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.RIGHTS.RIGHTS</code>.
|
||||
*/
|
||||
public void setRights(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.RIGHTS.RIGHTS</code>.
|
||||
*/
|
||||
public String getRights() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.RIGHTS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.RIGHTS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.RIGHTS.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.RIGHTS.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.RIGHTS.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.RIGHTS.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row7<String, String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row7<String, String, String, String, String, String, Integer> valuesRow() {
|
||||
return (Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Rights.RIGHTS.GRANTEE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Rights.RIGHTS.GRANTEETYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Rights.RIGHTS.GRANTEDROLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Rights.RIGHTS.RIGHTS_;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Rights.RIGHTS.TABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return Rights.RIGHTS.TABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return Rights.RIGHTS.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getGrantee();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getGranteetype();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getGrantedrole();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getRights();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getTableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getTableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RightsRecord value1(String value) {
|
||||
setGrantee(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RightsRecord value2(String value) {
|
||||
setGranteetype(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RightsRecord value3(String value) {
|
||||
setGrantedrole(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RightsRecord value4(String value) {
|
||||
setRights(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RightsRecord value5(String value) {
|
||||
setTableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RightsRecord value6(String value) {
|
||||
setTableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RightsRecord value7(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RightsRecord values(String value1, String value2, String value3, String value4, String value5, String value6, Integer value7) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached RightsRecord
|
||||
*/
|
||||
public RightsRecord() {
|
||||
super(Rights.RIGHTS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised RightsRecord
|
||||
*/
|
||||
public RightsRecord(String grantee, String granteetype, String grantedrole, String rights, String tableSchema, String tableName, Integer id) {
|
||||
super(Rights.RIGHTS);
|
||||
|
||||
setValue(0, grantee);
|
||||
setValue(1, granteetype);
|
||||
setValue(2, grantedrole);
|
||||
setValue(3, rights);
|
||||
setValue(4, tableSchema);
|
||||
setValue(5, tableName);
|
||||
setValue(6, id);
|
||||
}
|
||||
}
|
|
@ -1,201 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Roles;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 RolesRecord extends TableRecordImpl<RolesRecord> implements Record3<String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = -579805711;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.ROLES.NAME</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.ROLES.NAME</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.ROLES.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.ROLES.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.ROLES.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.ROLES.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row3<String, String, Integer> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row3<String, String, Integer> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Roles.ROLES.NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Roles.ROLES.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return Roles.ROLES.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RolesRecord value1(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RolesRecord value2(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RolesRecord value3(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RolesRecord values(String value1, String value2, Integer value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached RolesRecord
|
||||
*/
|
||||
public RolesRecord() {
|
||||
super(Roles.ROLES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised RolesRecord
|
||||
*/
|
||||
public RolesRecord(String name, String remarks, Integer id) {
|
||||
super(Roles.ROLES);
|
||||
|
||||
setValue(0, name);
|
||||
setValue(1, remarks);
|
||||
setValue(2, id);
|
||||
}
|
||||
}
|
|
@ -1,406 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Schemata;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record8;
|
||||
import org.jooq.Row8;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 SchemataRecord extends TableRecordImpl<SchemataRecord> implements Record8<String, String, String, String, String, Boolean, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = -163519189;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SCHEMATA.CATALOG_NAME</code>.
|
||||
*/
|
||||
public void setCatalogName(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SCHEMATA.CATALOG_NAME</code>.
|
||||
*/
|
||||
public String getCatalogName() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SCHEMATA.SCHEMA_NAME</code>.
|
||||
*/
|
||||
public void setSchemaName(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SCHEMATA.SCHEMA_NAME</code>.
|
||||
*/
|
||||
public String getSchemaName() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SCHEMATA.SCHEMA_OWNER</code>.
|
||||
*/
|
||||
public void setSchemaOwner(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SCHEMATA.SCHEMA_OWNER</code>.
|
||||
*/
|
||||
public String getSchemaOwner() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SCHEMATA.DEFAULT_CHARACTER_SET_NAME</code>.
|
||||
*/
|
||||
public void setDefaultCharacterSetName(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SCHEMATA.DEFAULT_CHARACTER_SET_NAME</code>.
|
||||
*/
|
||||
public String getDefaultCharacterSetName() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SCHEMATA.DEFAULT_COLLATION_NAME</code>.
|
||||
*/
|
||||
public void setDefaultCollationName(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SCHEMATA.DEFAULT_COLLATION_NAME</code>.
|
||||
*/
|
||||
public String getDefaultCollationName() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SCHEMATA.IS_DEFAULT</code>.
|
||||
*/
|
||||
public void setIsDefault(Boolean value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SCHEMATA.IS_DEFAULT</code>.
|
||||
*/
|
||||
public Boolean getIsDefault() {
|
||||
return (Boolean) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SCHEMATA.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SCHEMATA.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SCHEMATA.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SCHEMATA.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record8 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row8<String, String, String, String, String, Boolean, String, Integer> fieldsRow() {
|
||||
return (Row8) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row8<String, String, String, String, String, Boolean, String, Integer> valuesRow() {
|
||||
return (Row8) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Schemata.SCHEMATA.CATALOG_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Schemata.SCHEMATA.SCHEMA_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Schemata.SCHEMATA.SCHEMA_OWNER;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Schemata.SCHEMATA.DEFAULT_CHARACTER_SET_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Schemata.SCHEMATA.DEFAULT_COLLATION_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field6() {
|
||||
return Schemata.SCHEMATA.IS_DEFAULT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return Schemata.SCHEMATA.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field8() {
|
||||
return Schemata.SCHEMATA.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getCatalogName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getSchemaName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getSchemaOwner();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getDefaultCharacterSetName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getDefaultCollationName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value6() {
|
||||
return getIsDefault();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value8() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SchemataRecord value1(String value) {
|
||||
setCatalogName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SchemataRecord value2(String value) {
|
||||
setSchemaName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SchemataRecord value3(String value) {
|
||||
setSchemaOwner(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SchemataRecord value4(String value) {
|
||||
setDefaultCharacterSetName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SchemataRecord value5(String value) {
|
||||
setDefaultCollationName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SchemataRecord value6(Boolean value) {
|
||||
setIsDefault(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SchemataRecord value7(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SchemataRecord value8(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SchemataRecord values(String value1, String value2, String value3, String value4, String value5, Boolean value6, String value7, Integer value8) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SchemataRecord
|
||||
*/
|
||||
public SchemataRecord() {
|
||||
super(Schemata.SCHEMATA);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SchemataRecord
|
||||
*/
|
||||
public SchemataRecord(String catalogName, String schemaName, String schemaOwner, String defaultCharacterSetName, String defaultCollationName, Boolean isDefault, String remarks, Integer id) {
|
||||
super(Schemata.SCHEMATA);
|
||||
|
||||
setValue(0, catalogName);
|
||||
setValue(1, schemaName);
|
||||
setValue(2, schemaOwner);
|
||||
setValue(3, defaultCharacterSetName);
|
||||
setValue(4, defaultCollationName);
|
||||
setValue(5, isDefault);
|
||||
setValue(6, remarks);
|
||||
setValue(7, id);
|
||||
}
|
||||
}
|
|
@ -1,570 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Sequences;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record12;
|
||||
import org.jooq.Row12;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 SequencesRecord extends TableRecordImpl<SequencesRecord> implements Record12<String, String, String, Long, Long, Boolean, String, Long, Long, Long, Boolean, Integer> {
|
||||
|
||||
private static final long serialVersionUID = -1861251627;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_CATALOG</code>.
|
||||
*/
|
||||
public void setSequenceCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_CATALOG</code>.
|
||||
*/
|
||||
public String getSequenceCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_SCHEMA</code>.
|
||||
*/
|
||||
public void setSequenceSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_SCHEMA</code>.
|
||||
*/
|
||||
public String getSequenceSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_NAME</code>.
|
||||
*/
|
||||
public void setSequenceName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_NAME</code>.
|
||||
*/
|
||||
public String getSequenceName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.CURRENT_VALUE</code>.
|
||||
*/
|
||||
public void setCurrentValue(Long value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.CURRENT_VALUE</code>.
|
||||
*/
|
||||
public Long getCurrentValue() {
|
||||
return (Long) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.INCREMENT</code>.
|
||||
*/
|
||||
public void setIncrement(Long value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.INCREMENT</code>.
|
||||
*/
|
||||
public Long getIncrement() {
|
||||
return (Long) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.IS_GENERATED</code>.
|
||||
*/
|
||||
public void setIsGenerated(Boolean value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.IS_GENERATED</code>.
|
||||
*/
|
||||
public Boolean getIsGenerated() {
|
||||
return (Boolean) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.CACHE</code>.
|
||||
*/
|
||||
public void setCache(Long value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.CACHE</code>.
|
||||
*/
|
||||
public Long getCache() {
|
||||
return (Long) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.MIN_VALUE</code>.
|
||||
*/
|
||||
public void setMinValue(Long value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.MIN_VALUE</code>.
|
||||
*/
|
||||
public Long getMinValue() {
|
||||
return (Long) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.MAX_VALUE</code>.
|
||||
*/
|
||||
public void setMaxValue(Long value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.MAX_VALUE</code>.
|
||||
*/
|
||||
public Long getMaxValue() {
|
||||
return (Long) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.IS_CYCLE</code>.
|
||||
*/
|
||||
public void setIsCycle(Boolean value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.IS_CYCLE</code>.
|
||||
*/
|
||||
public Boolean getIsCycle() {
|
||||
return (Boolean) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SEQUENCES.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SEQUENCES.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(11);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record12 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row12<String, String, String, Long, Long, Boolean, String, Long, Long, Long, Boolean, Integer> fieldsRow() {
|
||||
return (Row12) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row12<String, String, String, Long, Long, Boolean, String, Long, Long, Long, Boolean, Integer> valuesRow() {
|
||||
return (Row12) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Sequences.SEQUENCES.SEQUENCE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Sequences.SEQUENCES.SEQUENCE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Sequences.SEQUENCES.SEQUENCE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field4() {
|
||||
return Sequences.SEQUENCES.CURRENT_VALUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field5() {
|
||||
return Sequences.SEQUENCES.INCREMENT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field6() {
|
||||
return Sequences.SEQUENCES.IS_GENERATED;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return Sequences.SEQUENCES.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field8() {
|
||||
return Sequences.SEQUENCES.CACHE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field9() {
|
||||
return Sequences.SEQUENCES.MIN_VALUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field10() {
|
||||
return Sequences.SEQUENCES.MAX_VALUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field11() {
|
||||
return Sequences.SEQUENCES.IS_CYCLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field12() {
|
||||
return Sequences.SEQUENCES.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getSequenceCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getSequenceSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getSequenceName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value4() {
|
||||
return getCurrentValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value5() {
|
||||
return getIncrement();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value6() {
|
||||
return getIsGenerated();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value8() {
|
||||
return getCache();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value9() {
|
||||
return getMinValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value10() {
|
||||
return getMaxValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value11() {
|
||||
return getIsCycle();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value12() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value1(String value) {
|
||||
setSequenceCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value2(String value) {
|
||||
setSequenceSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value3(String value) {
|
||||
setSequenceName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value4(Long value) {
|
||||
setCurrentValue(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value5(Long value) {
|
||||
setIncrement(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value6(Boolean value) {
|
||||
setIsGenerated(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value7(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value8(Long value) {
|
||||
setCache(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value9(Long value) {
|
||||
setMinValue(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value10(Long value) {
|
||||
setMaxValue(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value11(Boolean value) {
|
||||
setIsCycle(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord value12(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SequencesRecord values(String value1, String value2, String value3, Long value4, Long value5, Boolean value6, String value7, Long value8, Long value9, Long value10, Boolean value11, Integer value12) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SequencesRecord
|
||||
*/
|
||||
public SequencesRecord() {
|
||||
super(Sequences.SEQUENCES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SequencesRecord
|
||||
*/
|
||||
public SequencesRecord(String sequenceCatalog, String sequenceSchema, String sequenceName, Long currentValue, Long increment, Boolean isGenerated, String remarks, Long cache, Long minValue, Long maxValue, Boolean isCycle, Integer id) {
|
||||
super(Sequences.SEQUENCES);
|
||||
|
||||
setValue(0, sequenceCatalog);
|
||||
setValue(1, sequenceSchema);
|
||||
setValue(2, sequenceName);
|
||||
setValue(3, currentValue);
|
||||
setValue(4, increment);
|
||||
setValue(5, isGenerated);
|
||||
setValue(6, remarks);
|
||||
setValue(7, cache);
|
||||
setValue(8, minValue);
|
||||
setValue(9, maxValue);
|
||||
setValue(10, isCycle);
|
||||
setValue(11, id);
|
||||
}
|
||||
}
|
|
@ -1,160 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.SessionState;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.Row2;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 SessionStateRecord extends TableRecordImpl<SessionStateRecord> implements Record2<String, String> {
|
||||
|
||||
private static final long serialVersionUID = -1306764107;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SESSION_STATE.KEY</code>.
|
||||
*/
|
||||
public void setKey(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SESSION_STATE.KEY</code>.
|
||||
*/
|
||||
public String getKey() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SESSION_STATE.SQL</code>.
|
||||
*/
|
||||
public void setSql(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SESSION_STATE.SQL</code>.
|
||||
*/
|
||||
public String getSql() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<String, String> fieldsRow() {
|
||||
return (Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<String, String> valuesRow() {
|
||||
return (Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return SessionState.SESSION_STATE.KEY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return SessionState.SESSION_STATE.SQL;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getKey();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getSql();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionStateRecord value1(String value) {
|
||||
setKey(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionStateRecord value2(String value) {
|
||||
setSql(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionStateRecord values(String value1, String value2) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SessionStateRecord
|
||||
*/
|
||||
public SessionStateRecord() {
|
||||
super(SessionState.SESSION_STATE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SessionStateRecord
|
||||
*/
|
||||
public SessionStateRecord(String key, String sql) {
|
||||
super(SessionState.SESSION_STATE);
|
||||
|
||||
setValue(0, key);
|
||||
setValue(1, sql);
|
||||
}
|
||||
}
|
|
@ -1,324 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Sessions;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 SessionsRecord extends TableRecordImpl<SessionsRecord> implements Record6<Integer, String, String, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = -457271018;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SESSIONS.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SESSIONS.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SESSIONS.USER_NAME</code>.
|
||||
*/
|
||||
public void setUserName(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SESSIONS.USER_NAME</code>.
|
||||
*/
|
||||
public String getUserName() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SESSIONS.SESSION_START</code>.
|
||||
*/
|
||||
public void setSessionStart(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SESSIONS.SESSION_START</code>.
|
||||
*/
|
||||
public String getSessionStart() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SESSIONS.STATEMENT</code>.
|
||||
*/
|
||||
public void setStatement(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SESSIONS.STATEMENT</code>.
|
||||
*/
|
||||
public String getStatement() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SESSIONS.STATEMENT_START</code>.
|
||||
*/
|
||||
public void setStatementStart(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SESSIONS.STATEMENT_START</code>.
|
||||
*/
|
||||
public String getStatementStart() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SESSIONS.CONTAINS_UNCOMMITTED</code>.
|
||||
*/
|
||||
public void setContainsUncommitted(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SESSIONS.CONTAINS_UNCOMMITTED</code>.
|
||||
*/
|
||||
public String getContainsUncommitted() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row6<Integer, String, String, String, String, String> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row6<Integer, String, String, String, String, String> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return Sessions.SESSIONS.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Sessions.SESSIONS.USER_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Sessions.SESSIONS.SESSION_START;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Sessions.SESSIONS.STATEMENT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Sessions.SESSIONS.STATEMENT_START;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return Sessions.SESSIONS.CONTAINS_UNCOMMITTED;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getUserName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getSessionStart();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getStatement();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getStatementStart();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getContainsUncommitted();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionsRecord value1(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionsRecord value2(String value) {
|
||||
setUserName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionsRecord value3(String value) {
|
||||
setSessionStart(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionsRecord value4(String value) {
|
||||
setStatement(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionsRecord value5(String value) {
|
||||
setStatementStart(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionsRecord value6(String value) {
|
||||
setContainsUncommitted(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SessionsRecord values(Integer value1, String value2, String value3, String value4, String value5, String value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SessionsRecord
|
||||
*/
|
||||
public SessionsRecord() {
|
||||
super(Sessions.SESSIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SessionsRecord
|
||||
*/
|
||||
public SessionsRecord(Integer id, String userName, String sessionStart, String statement, String statementStart, String containsUncommitted) {
|
||||
super(Sessions.SESSIONS);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, userName);
|
||||
setValue(2, sessionStart);
|
||||
setValue(3, statement);
|
||||
setValue(4, statementStart);
|
||||
setValue(5, containsUncommitted);
|
||||
}
|
||||
}
|
|
@ -1,160 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Settings;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.Row2;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 SettingsRecord extends TableRecordImpl<SettingsRecord> implements Record2<String, String> {
|
||||
|
||||
private static final long serialVersionUID = -1656452632;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SETTINGS.NAME</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SETTINGS.NAME</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.SETTINGS.VALUE</code>.
|
||||
*/
|
||||
public void setValue(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.SETTINGS.VALUE</code>.
|
||||
*/
|
||||
public String getValue() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<String, String> fieldsRow() {
|
||||
return (Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<String, String> valuesRow() {
|
||||
return (Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Settings.SETTINGS.NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Settings.SETTINGS.VALUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SettingsRecord value1(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SettingsRecord value2(String value) {
|
||||
setValue(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public SettingsRecord values(String value1, String value2) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SettingsRecord
|
||||
*/
|
||||
public SettingsRecord() {
|
||||
super(Settings.SETTINGS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SettingsRecord
|
||||
*/
|
||||
public SettingsRecord(String name, String value) {
|
||||
super(Settings.SETTINGS);
|
||||
|
||||
setValue(0, name);
|
||||
setValue(1, value);
|
||||
}
|
||||
}
|
|
@ -1,365 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.TablePrivileges;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record7;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 TablePrivilegesRecord extends TableRecordImpl<TablePrivilegesRecord> implements Record7<String, String, String, String, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1595034957;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTOR</code>.
|
||||
*/
|
||||
public void setGrantor(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTOR</code>.
|
||||
*/
|
||||
public String getGrantor() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTEE</code>.
|
||||
*/
|
||||
public void setGrantee(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTEE</code>.
|
||||
*/
|
||||
public String getGrantee() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setTableCatalog(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getTableCatalog() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.PRIVILEGE_TYPE</code>.
|
||||
*/
|
||||
public void setPrivilegeType(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.PRIVILEGE_TYPE</code>.
|
||||
*/
|
||||
public String getPrivilegeType() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.IS_GRANTABLE</code>.
|
||||
*/
|
||||
public void setIsGrantable(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLE_PRIVILEGES.IS_GRANTABLE</code>.
|
||||
*/
|
||||
public String getIsGrantable() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row7<String, String, String, String, String, String, String> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row7<String, String, String, String, String, String, String> valuesRow() {
|
||||
return (Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return TablePrivileges.TABLE_PRIVILEGES.GRANTOR;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return TablePrivileges.TABLE_PRIVILEGES.GRANTEE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TablePrivileges.TABLE_PRIVILEGES.TABLE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TablePrivileges.TABLE_PRIVILEGES.TABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TablePrivileges.TABLE_PRIVILEGES.TABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return TablePrivileges.TABLE_PRIVILEGES.PRIVILEGE_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return TablePrivileges.TABLE_PRIVILEGES.IS_GRANTABLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getGrantor();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getGrantee();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getTableCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getTableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getTableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getPrivilegeType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getIsGrantable();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablePrivilegesRecord value1(String value) {
|
||||
setGrantor(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablePrivilegesRecord value2(String value) {
|
||||
setGrantee(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablePrivilegesRecord value3(String value) {
|
||||
setTableCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablePrivilegesRecord value4(String value) {
|
||||
setTableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablePrivilegesRecord value5(String value) {
|
||||
setTableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablePrivilegesRecord value6(String value) {
|
||||
setPrivilegeType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablePrivilegesRecord value7(String value) {
|
||||
setIsGrantable(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablePrivilegesRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TablePrivilegesRecord
|
||||
*/
|
||||
public TablePrivilegesRecord() {
|
||||
super(TablePrivileges.TABLE_PRIVILEGES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TablePrivilegesRecord
|
||||
*/
|
||||
public TablePrivilegesRecord(String grantor, String grantee, String tableCatalog, String tableSchema, String tableName, String privilegeType, String isGrantable) {
|
||||
super(TablePrivileges.TABLE_PRIVILEGES);
|
||||
|
||||
setValue(0, grantor);
|
||||
setValue(1, grantee);
|
||||
setValue(2, tableCatalog);
|
||||
setValue(3, tableSchema);
|
||||
setValue(4, tableName);
|
||||
setValue(5, privilegeType);
|
||||
setValue(6, isGrantable);
|
||||
}
|
||||
}
|
|
@ -1,119 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.TableTypes;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Row1;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 TableTypesRecord extends TableRecordImpl<TableTypesRecord> implements Record1<String> {
|
||||
|
||||
private static final long serialVersionUID = -645264739;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLE_TYPES.TYPE</code>.
|
||||
*/
|
||||
public void setType(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLE_TYPES.TYPE</code>.
|
||||
*/
|
||||
public String getType() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record1 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row1<String> fieldsRow() {
|
||||
return (Row1) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row1<String> valuesRow() {
|
||||
return (Row1) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return TableTypes.TABLE_TYPES.TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TableTypesRecord value1(String value) {
|
||||
setType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TableTypesRecord values(String value1) {
|
||||
value1(value1);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TableTypesRecord
|
||||
*/
|
||||
public TableTypesRecord() {
|
||||
super(TableTypes.TABLE_TYPES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TableTypesRecord
|
||||
*/
|
||||
public TableTypesRecord(String type) {
|
||||
super(TableTypes.TABLE_TYPES);
|
||||
|
||||
setValue(0, type);
|
||||
}
|
||||
}
|
|
@ -1,570 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Tables;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record12;
|
||||
import org.jooq.Row12;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 TablesRecord extends TableRecordImpl<TablesRecord> implements Record12<String, String, String, String, String, String, String, Long, Integer, String, String, Long> {
|
||||
|
||||
private static final long serialVersionUID = 850052084;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setTableCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getTableCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.TABLE_TYPE</code>.
|
||||
*/
|
||||
public void setTableType(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.TABLE_TYPE</code>.
|
||||
*/
|
||||
public String getTableType() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.STORAGE_TYPE</code>.
|
||||
*/
|
||||
public void setStorageType(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.STORAGE_TYPE</code>.
|
||||
*/
|
||||
public String getStorageType() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.SQL</code>.
|
||||
*/
|
||||
public void setSql(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.SQL</code>.
|
||||
*/
|
||||
public String getSql() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION</code>.
|
||||
*/
|
||||
public void setLastModification(Long value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION</code>.
|
||||
*/
|
||||
public Long getLastModification() {
|
||||
return (Long) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.TYPE_NAME</code>.
|
||||
*/
|
||||
public void setTypeName(String value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.TYPE_NAME</code>.
|
||||
*/
|
||||
public String getTypeName() {
|
||||
return (String) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.TABLE_CLASS</code>.
|
||||
*/
|
||||
public void setTableClass(String value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.TABLE_CLASS</code>.
|
||||
*/
|
||||
public String getTableClass() {
|
||||
return (String) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TABLES.ROW_COUNT_ESTIMATE</code>.
|
||||
*/
|
||||
public void setRowCountEstimate(Long value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TABLES.ROW_COUNT_ESTIMATE</code>.
|
||||
*/
|
||||
public Long getRowCountEstimate() {
|
||||
return (Long) getValue(11);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record12 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row12<String, String, String, String, String, String, String, Long, Integer, String, String, Long> fieldsRow() {
|
||||
return (Row12) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row12<String, String, String, String, String, String, String, Long, Integer, String, String, Long> valuesRow() {
|
||||
return (Row12) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Tables.TABLES.TABLE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Tables.TABLES.TABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Tables.TABLES.TABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Tables.TABLES.TABLE_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Tables.TABLES.STORAGE_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return Tables.TABLES.SQL;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return Tables.TABLES.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field8() {
|
||||
return Tables.TABLES.LAST_MODIFICATION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field9() {
|
||||
return Tables.TABLES.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field10() {
|
||||
return Tables.TABLES.TYPE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field11() {
|
||||
return Tables.TABLES.TABLE_CLASS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Long> field12() {
|
||||
return Tables.TABLES.ROW_COUNT_ESTIMATE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getTableCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getTableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getTableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getTableType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getStorageType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getSql();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value8() {
|
||||
return getLastModification();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value9() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value10() {
|
||||
return getTypeName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value11() {
|
||||
return getTableClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Long value12() {
|
||||
return getRowCountEstimate();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value1(String value) {
|
||||
setTableCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value2(String value) {
|
||||
setTableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value3(String value) {
|
||||
setTableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value4(String value) {
|
||||
setTableType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value5(String value) {
|
||||
setStorageType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value6(String value) {
|
||||
setSql(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value7(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value8(Long value) {
|
||||
setLastModification(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value9(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value10(String value) {
|
||||
setTypeName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value11(String value) {
|
||||
setTableClass(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord value12(Long value) {
|
||||
setRowCountEstimate(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TablesRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, Long value8, Integer value9, String value10, String value11, Long value12) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TablesRecord
|
||||
*/
|
||||
public TablesRecord() {
|
||||
super(Tables.TABLES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TablesRecord
|
||||
*/
|
||||
public TablesRecord(String tableCatalog, String tableSchema, String tableName, String tableType, String storageType, String sql, String remarks, Long lastModification, Integer id, String typeName, String tableClass, Long rowCountEstimate) {
|
||||
super(Tables.TABLES);
|
||||
|
||||
setValue(0, tableCatalog);
|
||||
setValue(1, tableSchema);
|
||||
setValue(2, tableName);
|
||||
setValue(3, tableType);
|
||||
setValue(4, storageType);
|
||||
setValue(5, sql);
|
||||
setValue(6, remarks);
|
||||
setValue(7, lastModification);
|
||||
setValue(8, id);
|
||||
setValue(9, typeName);
|
||||
setValue(10, tableClass);
|
||||
setValue(11, rowCountEstimate);
|
||||
}
|
||||
}
|
|
@ -1,652 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Triggers;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record14;
|
||||
import org.jooq.Row14;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 TriggersRecord extends TableRecordImpl<TriggersRecord> implements Record14<String, String, String, String, String, String, String, Boolean, String, Integer, Boolean, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 344875511;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_CATALOG</code>.
|
||||
*/
|
||||
public void setTriggerCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_CATALOG</code>.
|
||||
*/
|
||||
public String getTriggerCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_SCHEMA</code>.
|
||||
*/
|
||||
public void setTriggerSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_SCHEMA</code>.
|
||||
*/
|
||||
public String getTriggerSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_NAME</code>.
|
||||
*/
|
||||
public void setTriggerName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_NAME</code>.
|
||||
*/
|
||||
public String getTriggerName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_TYPE</code>.
|
||||
*/
|
||||
public void setTriggerType(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.TRIGGER_TYPE</code>.
|
||||
*/
|
||||
public String getTriggerType() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setTableCatalog(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getTableCatalog() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.BEFORE</code>.
|
||||
*/
|
||||
public void setBefore(Boolean value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.BEFORE</code>.
|
||||
*/
|
||||
public Boolean getBefore() {
|
||||
return (Boolean) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.JAVA_CLASS</code>.
|
||||
*/
|
||||
public void setJavaClass(String value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.JAVA_CLASS</code>.
|
||||
*/
|
||||
public String getJavaClass() {
|
||||
return (String) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.QUEUE_SIZE</code>.
|
||||
*/
|
||||
public void setQueueSize(Integer value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.QUEUE_SIZE</code>.
|
||||
*/
|
||||
public Integer getQueueSize() {
|
||||
return (Integer) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.NO_WAIT</code>.
|
||||
*/
|
||||
public void setNoWait(Boolean value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.NO_WAIT</code>.
|
||||
*/
|
||||
public Boolean getNoWait() {
|
||||
return (Boolean) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.SQL</code>.
|
||||
*/
|
||||
public void setSql(String value) {
|
||||
setValue(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.SQL</code>.
|
||||
*/
|
||||
public String getSql() {
|
||||
return (String) getValue(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TRIGGERS.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TRIGGERS.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(13);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record14 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row14<String, String, String, String, String, String, String, Boolean, String, Integer, Boolean, String, String, Integer> fieldsRow() {
|
||||
return (Row14) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row14<String, String, String, String, String, String, String, Boolean, String, Integer, Boolean, String, String, Integer> valuesRow() {
|
||||
return (Row14) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Triggers.TRIGGERS.TRIGGER_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Triggers.TRIGGERS.TRIGGER_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Triggers.TRIGGERS.TRIGGER_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Triggers.TRIGGERS.TRIGGER_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Triggers.TRIGGERS.TABLE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return Triggers.TRIGGERS.TABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return Triggers.TRIGGERS.TABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field8() {
|
||||
return Triggers.TRIGGERS.BEFORE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field9() {
|
||||
return Triggers.TRIGGERS.JAVA_CLASS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field10() {
|
||||
return Triggers.TRIGGERS.QUEUE_SIZE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field11() {
|
||||
return Triggers.TRIGGERS.NO_WAIT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field12() {
|
||||
return Triggers.TRIGGERS.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field13() {
|
||||
return Triggers.TRIGGERS.SQL;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field14() {
|
||||
return Triggers.TRIGGERS.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getTriggerCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getTriggerSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getTriggerName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getTriggerType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getTableCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getTableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getTableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value8() {
|
||||
return getBefore();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value9() {
|
||||
return getJavaClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value10() {
|
||||
return getQueueSize();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value11() {
|
||||
return getNoWait();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value12() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value13() {
|
||||
return getSql();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value14() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value1(String value) {
|
||||
setTriggerCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value2(String value) {
|
||||
setTriggerSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value3(String value) {
|
||||
setTriggerName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value4(String value) {
|
||||
setTriggerType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value5(String value) {
|
||||
setTableCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value6(String value) {
|
||||
setTableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value7(String value) {
|
||||
setTableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value8(Boolean value) {
|
||||
setBefore(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value9(String value) {
|
||||
setJavaClass(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value10(Integer value) {
|
||||
setQueueSize(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value11(Boolean value) {
|
||||
setNoWait(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value12(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value13(String value) {
|
||||
setSql(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord value14(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TriggersRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, Boolean value8, String value9, Integer value10, Boolean value11, String value12, String value13, Integer value14) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
value13(value13);
|
||||
value14(value14);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TriggersRecord
|
||||
*/
|
||||
public TriggersRecord() {
|
||||
super(Triggers.TRIGGERS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TriggersRecord
|
||||
*/
|
||||
public TriggersRecord(String triggerCatalog, String triggerSchema, String triggerName, String triggerType, String tableCatalog, String tableSchema, String tableName, Boolean before, String javaClass, Integer queueSize, Boolean noWait, String remarks, String sql, Integer id) {
|
||||
super(Triggers.TRIGGERS);
|
||||
|
||||
setValue(0, triggerCatalog);
|
||||
setValue(1, triggerSchema);
|
||||
setValue(2, triggerName);
|
||||
setValue(3, triggerType);
|
||||
setValue(4, tableCatalog);
|
||||
setValue(5, tableSchema);
|
||||
setValue(6, tableName);
|
||||
setValue(7, before);
|
||||
setValue(8, javaClass);
|
||||
setValue(9, queueSize);
|
||||
setValue(10, noWait);
|
||||
setValue(11, remarks);
|
||||
setValue(12, sql);
|
||||
setValue(13, id);
|
||||
}
|
||||
}
|
|
@ -1,652 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.TypeInfo;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record14;
|
||||
import org.jooq.Row14;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 TypeInfoRecord extends TableRecordImpl<TypeInfoRecord> implements Record14<String, Integer, Integer, String, String, String, Boolean, Short, Short, Integer, Integer, Boolean, Short, Short> {
|
||||
|
||||
private static final long serialVersionUID = -1463889309;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.TYPE_NAME</code>.
|
||||
*/
|
||||
public void setTypeName(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.TYPE_NAME</code>.
|
||||
*/
|
||||
public String getTypeName() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.DATA_TYPE</code>.
|
||||
*/
|
||||
public void setDataType(Integer value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.DATA_TYPE</code>.
|
||||
*/
|
||||
public Integer getDataType() {
|
||||
return (Integer) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.PRECISION</code>.
|
||||
*/
|
||||
public void setPrecision(Integer value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.PRECISION</code>.
|
||||
*/
|
||||
public Integer getPrecision() {
|
||||
return (Integer) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.PREFIX</code>.
|
||||
*/
|
||||
public void setPrefix(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.PREFIX</code>.
|
||||
*/
|
||||
public String getPrefix() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.SUFFIX</code>.
|
||||
*/
|
||||
public void setSuffix(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.SUFFIX</code>.
|
||||
*/
|
||||
public String getSuffix() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.PARAMS</code>.
|
||||
*/
|
||||
public void setParams(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.PARAMS</code>.
|
||||
*/
|
||||
public String getParams() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.AUTO_INCREMENT</code>.
|
||||
*/
|
||||
public void setAutoIncrement(Boolean value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.AUTO_INCREMENT</code>.
|
||||
*/
|
||||
public Boolean getAutoIncrement() {
|
||||
return (Boolean) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.MINIMUM_SCALE</code>.
|
||||
*/
|
||||
public void setMinimumScale(Short value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.MINIMUM_SCALE</code>.
|
||||
*/
|
||||
public Short getMinimumScale() {
|
||||
return (Short) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.MAXIMUM_SCALE</code>.
|
||||
*/
|
||||
public void setMaximumScale(Short value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.MAXIMUM_SCALE</code>.
|
||||
*/
|
||||
public Short getMaximumScale() {
|
||||
return (Short) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.RADIX</code>.
|
||||
*/
|
||||
public void setRadix(Integer value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.RADIX</code>.
|
||||
*/
|
||||
public Integer getRadix() {
|
||||
return (Integer) getValue(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.POS</code>.
|
||||
*/
|
||||
public void setPos(Integer value) {
|
||||
setValue(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.POS</code>.
|
||||
*/
|
||||
public Integer getPos() {
|
||||
return (Integer) getValue(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.CASE_SENSITIVE</code>.
|
||||
*/
|
||||
public void setCaseSensitive(Boolean value) {
|
||||
setValue(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.CASE_SENSITIVE</code>.
|
||||
*/
|
||||
public Boolean getCaseSensitive() {
|
||||
return (Boolean) getValue(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.NULLABLE</code>.
|
||||
*/
|
||||
public void setNullable(Short value) {
|
||||
setValue(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.NULLABLE</code>.
|
||||
*/
|
||||
public Short getNullable() {
|
||||
return (Short) getValue(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.TYPE_INFO.SEARCHABLE</code>.
|
||||
*/
|
||||
public void setSearchable(Short value) {
|
||||
setValue(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.TYPE_INFO.SEARCHABLE</code>.
|
||||
*/
|
||||
public Short getSearchable() {
|
||||
return (Short) getValue(13);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record14 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row14<String, Integer, Integer, String, String, String, Boolean, Short, Short, Integer, Integer, Boolean, Short, Short> fieldsRow() {
|
||||
return (Row14) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row14<String, Integer, Integer, String, String, String, Boolean, Short, Short, Integer, Integer, Boolean, Short, Short> valuesRow() {
|
||||
return (Row14) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return TypeInfo.TYPE_INFO.TYPE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TypeInfo.TYPE_INFO.DATA_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return TypeInfo.TYPE_INFO.PRECISION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TypeInfo.TYPE_INFO.PREFIX;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TypeInfo.TYPE_INFO.SUFFIX;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return TypeInfo.TYPE_INFO.PARAMS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field7() {
|
||||
return TypeInfo.TYPE_INFO.AUTO_INCREMENT;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field8() {
|
||||
return TypeInfo.TYPE_INFO.MINIMUM_SCALE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field9() {
|
||||
return TypeInfo.TYPE_INFO.MAXIMUM_SCALE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field10() {
|
||||
return TypeInfo.TYPE_INFO.RADIX;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field11() {
|
||||
return TypeInfo.TYPE_INFO.POS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Boolean> field12() {
|
||||
return TypeInfo.TYPE_INFO.CASE_SENSITIVE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field13() {
|
||||
return TypeInfo.TYPE_INFO.NULLABLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Short> field14() {
|
||||
return TypeInfo.TYPE_INFO.SEARCHABLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getTypeName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getDataType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getPrecision();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getPrefix();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getSuffix();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getParams();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value7() {
|
||||
return getAutoIncrement();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value8() {
|
||||
return getMinimumScale();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value9() {
|
||||
return getMaximumScale();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value10() {
|
||||
return getRadix();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value11() {
|
||||
return getPos();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Boolean value12() {
|
||||
return getCaseSensitive();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value13() {
|
||||
return getNullable();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Short value14() {
|
||||
return getSearchable();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value1(String value) {
|
||||
setTypeName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value2(Integer value) {
|
||||
setDataType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value3(Integer value) {
|
||||
setPrecision(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value4(String value) {
|
||||
setPrefix(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value5(String value) {
|
||||
setSuffix(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value6(String value) {
|
||||
setParams(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value7(Boolean value) {
|
||||
setAutoIncrement(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value8(Short value) {
|
||||
setMinimumScale(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value9(Short value) {
|
||||
setMaximumScale(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value10(Integer value) {
|
||||
setRadix(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value11(Integer value) {
|
||||
setPos(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value12(Boolean value) {
|
||||
setCaseSensitive(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value13(Short value) {
|
||||
setNullable(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord value14(Short value) {
|
||||
setSearchable(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TypeInfoRecord values(String value1, Integer value2, Integer value3, String value4, String value5, String value6, Boolean value7, Short value8, Short value9, Integer value10, Integer value11, Boolean value12, Short value13, Short value14) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
value10(value10);
|
||||
value11(value11);
|
||||
value12(value12);
|
||||
value13(value13);
|
||||
value14(value14);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TypeInfoRecord
|
||||
*/
|
||||
public TypeInfoRecord() {
|
||||
super(TypeInfo.TYPE_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TypeInfoRecord
|
||||
*/
|
||||
public TypeInfoRecord(String typeName, Integer dataType, Integer precision, String prefix, String suffix, String params, Boolean autoIncrement, Short minimumScale, Short maximumScale, Integer radix, Integer pos, Boolean caseSensitive, Short nullable, Short searchable) {
|
||||
super(TypeInfo.TYPE_INFO);
|
||||
|
||||
setValue(0, typeName);
|
||||
setValue(1, dataType);
|
||||
setValue(2, precision);
|
||||
setValue(3, prefix);
|
||||
setValue(4, suffix);
|
||||
setValue(5, params);
|
||||
setValue(6, autoIncrement);
|
||||
setValue(7, minimumScale);
|
||||
setValue(8, maximumScale);
|
||||
setValue(9, radix);
|
||||
setValue(10, pos);
|
||||
setValue(11, caseSensitive);
|
||||
setValue(12, nullable);
|
||||
setValue(13, searchable);
|
||||
}
|
||||
}
|
|
@ -1,242 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Users;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 UsersRecord extends TableRecordImpl<UsersRecord> implements Record4<String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = -592508392;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.USERS.NAME</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.USERS.NAME</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.USERS.ADMIN</code>.
|
||||
*/
|
||||
public void setAdmin(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.USERS.ADMIN</code>.
|
||||
*/
|
||||
public String getAdmin() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.USERS.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.USERS.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.USERS.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.USERS.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row4<String, String, String, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row4<String, String, String, Integer> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Users.USERS.NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Users.USERS.ADMIN;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Users.USERS.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return Users.USERS.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getAdmin();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public UsersRecord value1(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public UsersRecord value2(String value) {
|
||||
setAdmin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public UsersRecord value3(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public UsersRecord value4(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public UsersRecord values(String value1, String value2, String value3, Integer value4) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UsersRecord
|
||||
*/
|
||||
public UsersRecord() {
|
||||
super(Users.USERS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UsersRecord
|
||||
*/
|
||||
public UsersRecord(String name, String admin, String remarks, Integer id) {
|
||||
super(Users.USERS);
|
||||
|
||||
setValue(0, name);
|
||||
setValue(1, admin);
|
||||
setValue(2, remarks);
|
||||
setValue(3, id);
|
||||
}
|
||||
}
|
|
@ -1,447 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.information_schema.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.information_schema.tables.Views;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record9;
|
||||
import org.jooq.Row9;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 ViewsRecord extends TableRecordImpl<ViewsRecord> implements Record9<String, String, String, String, String, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = -1380031738;
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.VIEWS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public void setTableCatalog(String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.VIEWS.TABLE_CATALOG</code>.
|
||||
*/
|
||||
public String getTableCatalog() {
|
||||
return (String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.VIEWS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public void setTableSchema(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.VIEWS.TABLE_SCHEMA</code>.
|
||||
*/
|
||||
public String getTableSchema() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.VIEWS.TABLE_NAME</code>.
|
||||
*/
|
||||
public void setTableName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.VIEWS.TABLE_NAME</code>.
|
||||
*/
|
||||
public String getTableName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.VIEWS.VIEW_DEFINITION</code>.
|
||||
*/
|
||||
public void setViewDefinition(String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.VIEWS.VIEW_DEFINITION</code>.
|
||||
*/
|
||||
public String getViewDefinition() {
|
||||
return (String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.VIEWS.CHECK_OPTION</code>.
|
||||
*/
|
||||
public void setCheckOption(String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.VIEWS.CHECK_OPTION</code>.
|
||||
*/
|
||||
public String getCheckOption() {
|
||||
return (String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.VIEWS.IS_UPDATABLE</code>.
|
||||
*/
|
||||
public void setIsUpdatable(String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.VIEWS.IS_UPDATABLE</code>.
|
||||
*/
|
||||
public String getIsUpdatable() {
|
||||
return (String) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.VIEWS.STATUS</code>.
|
||||
*/
|
||||
public void setStatus(String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.VIEWS.STATUS</code>.
|
||||
*/
|
||||
public String getStatus() {
|
||||
return (String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.VIEWS.REMARKS</code>.
|
||||
*/
|
||||
public void setRemarks(String value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.VIEWS.REMARKS</code>.
|
||||
*/
|
||||
public String getRemarks() {
|
||||
return (String) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>INFORMATION_SCHEMA.VIEWS.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>INFORMATION_SCHEMA.VIEWS.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(8);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record9 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row9<String, String, String, String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row9) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row9<String, String, String, String, String, String, String, String, Integer> valuesRow() {
|
||||
return (Row9) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return Views.VIEWS.TABLE_CATALOG;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Views.VIEWS.TABLE_SCHEMA;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Views.VIEWS.TABLE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Views.VIEWS.VIEW_DEFINITION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return Views.VIEWS.CHECK_OPTION;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return Views.VIEWS.IS_UPDATABLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return Views.VIEWS.STATUS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return Views.VIEWS.REMARKS;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field9() {
|
||||
return Views.VIEWS.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value1() {
|
||||
return getTableCatalog();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getTableSchema();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getTableName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value4() {
|
||||
return getViewDefinition();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value5() {
|
||||
return getCheckOption();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value6() {
|
||||
return getIsUpdatable();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value7() {
|
||||
return getStatus();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value8() {
|
||||
return getRemarks();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value9() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord value1(String value) {
|
||||
setTableCatalog(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord value2(String value) {
|
||||
setTableSchema(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord value3(String value) {
|
||||
setTableName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord value4(String value) {
|
||||
setViewDefinition(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord value5(String value) {
|
||||
setCheckOption(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord value6(String value) {
|
||||
setIsUpdatable(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord value7(String value) {
|
||||
setStatus(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord value8(String value) {
|
||||
setRemarks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord value9(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ViewsRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, Integer value9) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewsRecord
|
||||
*/
|
||||
public ViewsRecord() {
|
||||
super(Views.VIEWS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewsRecord
|
||||
*/
|
||||
public ViewsRecord(String tableCatalog, String tableSchema, String tableName, String viewDefinition, String checkOption, String isUpdatable, String status, String remarks, Integer id) {
|
||||
super(Views.VIEWS);
|
||||
|
||||
setValue(0, tableCatalog);
|
||||
setValue(1, tableSchema);
|
||||
setValue(2, tableName);
|
||||
setValue(3, viewDefinition);
|
||||
setValue(4, checkOption);
|
||||
setValue(5, isUpdatable);
|
||||
setValue(6, status);
|
||||
setValue(7, remarks);
|
||||
setValue(8, id);
|
||||
}
|
||||
}
|
|
@ -1,69 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.public_;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.Author;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.AuthorBook;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.Book;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.records.AuthorBookRecord;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.records.AuthorRecord;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.records.BookRecord;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.AbstractKeys;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships between tables of the <code>PUBLIC</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
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<AuthorRecord> CONSTRAINT_7 = UniqueKeys0.CONSTRAINT_7;
|
||||
public static final UniqueKey<BookRecord> CONSTRAINT_1 = UniqueKeys0.CONSTRAINT_1;
|
||||
public static final UniqueKey<AuthorBookRecord> CONSTRAINT_A = UniqueKeys0.CONSTRAINT_A;
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final ForeignKey<AuthorBookRecord, AuthorRecord> FK_AB_AUTHOR = ForeignKeys0.FK_AB_AUTHOR;
|
||||
public static final ForeignKey<AuthorBookRecord, BookRecord> FK_AB_BOOK = ForeignKeys0.FK_AB_BOOK;
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// [#1459] distribute members to avoid static initialisers > 64kb
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
private static class UniqueKeys0 extends AbstractKeys {
|
||||
public static final UniqueKey<AuthorRecord> CONSTRAINT_7 = createUniqueKey(Author.AUTHOR, Author.AUTHOR.ID);
|
||||
public static final UniqueKey<BookRecord> CONSTRAINT_1 = createUniqueKey(Book.BOOK, Book.BOOK.ID);
|
||||
public static final UniqueKey<AuthorBookRecord> CONSTRAINT_A = createUniqueKey(AuthorBook.AUTHOR_BOOK, AuthorBook.AUTHOR_BOOK.AUTHOR_ID, AuthorBook.AUTHOR_BOOK.BOOK_ID);
|
||||
}
|
||||
|
||||
private static class ForeignKeys0 extends AbstractKeys {
|
||||
public static final ForeignKey<AuthorBookRecord, AuthorRecord> FK_AB_AUTHOR = createForeignKey(com.baeldung.jooq.introduction.db.public_.Keys.CONSTRAINT_7, AuthorBook.AUTHOR_BOOK, AuthorBook.AUTHOR_BOOK.AUTHOR_ID);
|
||||
public static final ForeignKey<AuthorBookRecord, BookRecord> FK_AB_BOOK = createForeignKey(com.baeldung.jooq.introduction.db.public_.Keys.CONSTRAINT_1, AuthorBook.AUTHOR_BOOK, AuthorBook.AUTHOR_BOOK.BOOK_ID);
|
||||
}
|
||||
}
|
|
@ -1,61 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.public_;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.Author;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.AuthorBook;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.Book;
|
||||
|
||||
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 Public extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1806497150;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>PUBLIC</code>
|
||||
*/
|
||||
public static final Public PUBLIC = new Public();
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Public() {
|
||||
super("PUBLIC");
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
List result = new ArrayList();
|
||||
result.addAll(getTables0());
|
||||
return result;
|
||||
}
|
||||
|
||||
private final List<Table<?>> getTables0() {
|
||||
return Arrays.<Table<?>>asList(
|
||||
Author.AUTHOR,
|
||||
Book.BOOK,
|
||||
AuthorBook.AUTHOR_BOOK);
|
||||
}
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.public_;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.Author;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.AuthorBook;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.Book;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in PUBLIC
|
||||
*/
|
||||
@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 PUBLIC.AUTHOR
|
||||
*/
|
||||
public static final Author AUTHOR = com.baeldung.jooq.introduction.db.public_.tables.Author.AUTHOR;
|
||||
|
||||
/**
|
||||
* The table PUBLIC.BOOK
|
||||
*/
|
||||
public static final Book BOOK = com.baeldung.jooq.introduction.db.public_.tables.Book.BOOK;
|
||||
|
||||
/**
|
||||
* The table PUBLIC.AUTHOR_BOOK
|
||||
*/
|
||||
public static final AuthorBook AUTHOR_BOOK = com.baeldung.jooq.introduction.db.public_.tables.AuthorBook.AUTHOR_BOOK;
|
||||
}
|
|
@ -1,118 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.public_.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.public_.Keys;
|
||||
import com.baeldung.jooq.introduction.db.public_.Public;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.records.AuthorRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
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 Author extends TableImpl<AuthorRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1121046490;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>PUBLIC.AUTHOR</code>
|
||||
*/
|
||||
public static final Author AUTHOR = new Author();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AuthorRecord> getRecordType() {
|
||||
return AuthorRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR.ID</code>.
|
||||
*/
|
||||
public final TableField<AuthorRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR.FIRST_NAME</code>.
|
||||
*/
|
||||
public final TableField<AuthorRecord, String> FIRST_NAME = createField("FIRST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR.LAST_NAME</code>.
|
||||
*/
|
||||
public final TableField<AuthorRecord, String> LAST_NAME = createField("LAST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>PUBLIC.AUTHOR</code> table reference
|
||||
*/
|
||||
public Author() {
|
||||
this("AUTHOR", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>PUBLIC.AUTHOR</code> table reference
|
||||
*/
|
||||
public Author(String alias) {
|
||||
this(alias, AUTHOR);
|
||||
}
|
||||
|
||||
private Author(String alias, Table<AuthorRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Author(String alias, Table<AuthorRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, Public.PUBLIC, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public UniqueKey<AuthorRecord> getPrimaryKey() {
|
||||
return Keys.CONSTRAINT_7;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public List<UniqueKey<AuthorRecord>> getKeys() {
|
||||
return Arrays.<UniqueKey<AuthorRecord>>asList(Keys.CONSTRAINT_7);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Author as(String alias) {
|
||||
return new Author(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Author rename(String name) {
|
||||
return new Author(name, null);
|
||||
}
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.public_.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.public_.Keys;
|
||||
import com.baeldung.jooq.introduction.db.public_.Public;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.records.AuthorBookRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
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 AuthorBook extends TableImpl<AuthorBookRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1609247069;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>PUBLIC.AUTHOR_BOOK</code>
|
||||
*/
|
||||
public static final AuthorBook AUTHOR_BOOK = new AuthorBook();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AuthorBookRecord> getRecordType() {
|
||||
return AuthorBookRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR_BOOK.AUTHOR_ID</code>.
|
||||
*/
|
||||
public final TableField<AuthorBookRecord, Integer> AUTHOR_ID = createField("AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR_BOOK.BOOK_ID</code>.
|
||||
*/
|
||||
public final TableField<AuthorBookRecord, Integer> BOOK_ID = createField("BOOK_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>PUBLIC.AUTHOR_BOOK</code> table reference
|
||||
*/
|
||||
public AuthorBook() {
|
||||
this("AUTHOR_BOOK", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>PUBLIC.AUTHOR_BOOK</code> table reference
|
||||
*/
|
||||
public AuthorBook(String alias) {
|
||||
this(alias, AUTHOR_BOOK);
|
||||
}
|
||||
|
||||
private AuthorBook(String alias, Table<AuthorBookRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private AuthorBook(String alias, Table<AuthorBookRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, Public.PUBLIC, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public UniqueKey<AuthorBookRecord> getPrimaryKey() {
|
||||
return Keys.CONSTRAINT_A;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public List<UniqueKey<AuthorBookRecord>> getKeys() {
|
||||
return Arrays.<UniqueKey<AuthorBookRecord>>asList(Keys.CONSTRAINT_A);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public List<ForeignKey<AuthorBookRecord, ?>> getReferences() {
|
||||
return Arrays.<ForeignKey<AuthorBookRecord, ?>>asList(Keys.FK_AB_AUTHOR, Keys.FK_AB_BOOK);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AuthorBook as(String alias) {
|
||||
return new AuthorBook(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public AuthorBook rename(String name) {
|
||||
return new AuthorBook(name, null);
|
||||
}
|
||||
}
|
|
@ -1,113 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.public_.tables;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.public_.Keys;
|
||||
import com.baeldung.jooq.introduction.db.public_.Public;
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.records.BookRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
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 Book extends TableImpl<BookRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1685336167;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>PUBLIC.BOOK</code>
|
||||
*/
|
||||
public static final Book BOOK = new Book();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<BookRecord> getRecordType() {
|
||||
return BookRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK.ID</code>.
|
||||
*/
|
||||
public final TableField<BookRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK.TITLE</code>.
|
||||
*/
|
||||
public final TableField<BookRecord, String> TITLE = createField("TITLE", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>PUBLIC.BOOK</code> table reference
|
||||
*/
|
||||
public Book() {
|
||||
this("BOOK", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>PUBLIC.BOOK</code> table reference
|
||||
*/
|
||||
public Book(String alias) {
|
||||
this(alias, BOOK);
|
||||
}
|
||||
|
||||
private Book(String alias, Table<BookRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Book(String alias, Table<BookRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, Public.PUBLIC, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public UniqueKey<BookRecord> getPrimaryKey() {
|
||||
return Keys.CONSTRAINT_1;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public List<UniqueKey<BookRecord>> getKeys() {
|
||||
return Arrays.<UniqueKey<BookRecord>>asList(Keys.CONSTRAINT_1);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Book as(String alias) {
|
||||
return new Book(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public Book rename(String name) {
|
||||
return new Book(name, null);
|
||||
}
|
||||
}
|
|
@ -1,172 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.public_.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.AuthorBook;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.Row2;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 AuthorBookRecord extends UpdatableRecordImpl<AuthorBookRecord> implements Record2<Integer, Integer> {
|
||||
|
||||
private static final long serialVersionUID = -1057354033;
|
||||
|
||||
/**
|
||||
* Setter for <code>PUBLIC.AUTHOR_BOOK.AUTHOR_ID</code>.
|
||||
*/
|
||||
public void setAuthorId(Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>PUBLIC.AUTHOR_BOOK.AUTHOR_ID</code>.
|
||||
*/
|
||||
public Integer getAuthorId() {
|
||||
return (Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>PUBLIC.AUTHOR_BOOK.BOOK_ID</code>.
|
||||
*/
|
||||
public void setBookId(Integer value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>PUBLIC.AUTHOR_BOOK.BOOK_ID</code>.
|
||||
*/
|
||||
public Integer getBookId() {
|
||||
return (Integer) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Record2<Integer, Integer> key() {
|
||||
return (Record2) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<Integer, Integer> fieldsRow() {
|
||||
return (Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<Integer, Integer> valuesRow() {
|
||||
return (Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return AuthorBook.AUTHOR_BOOK.AUTHOR_ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return AuthorBook.AUTHOR_BOOK.BOOK_ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getAuthorId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getBookId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AuthorBookRecord value1(Integer value) {
|
||||
setAuthorId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AuthorBookRecord value2(Integer value) {
|
||||
setBookId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AuthorBookRecord values(Integer value1, Integer value2) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AuthorBookRecord
|
||||
*/
|
||||
public AuthorBookRecord() {
|
||||
super(AuthorBook.AUTHOR_BOOK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AuthorBookRecord
|
||||
*/
|
||||
public AuthorBookRecord(Integer authorId, Integer bookId) {
|
||||
super(AuthorBook.AUTHOR_BOOK);
|
||||
|
||||
setValue(0, authorId);
|
||||
setValue(1, bookId);
|
||||
}
|
||||
}
|
|
@ -1,214 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.public_.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.Author;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 AuthorRecord extends UpdatableRecordImpl<AuthorRecord> implements Record3<Integer, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 253757039;
|
||||
|
||||
/**
|
||||
* Setter for <code>PUBLIC.AUTHOR.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>PUBLIC.AUTHOR.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>PUBLIC.AUTHOR.FIRST_NAME</code>.
|
||||
*/
|
||||
public void setFirstName(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>PUBLIC.AUTHOR.FIRST_NAME</code>.
|
||||
*/
|
||||
public String getFirstName() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>PUBLIC.AUTHOR.LAST_NAME</code>.
|
||||
*/
|
||||
public void setLastName(String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>PUBLIC.AUTHOR.LAST_NAME</code>.
|
||||
*/
|
||||
public String getLastName() {
|
||||
return (String) getValue(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row3<Integer, String, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row3<Integer, String, String> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return Author.AUTHOR.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Author.AUTHOR.FIRST_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Author.AUTHOR.LAST_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getFirstName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value3() {
|
||||
return getLastName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AuthorRecord value1(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AuthorRecord value2(String value) {
|
||||
setFirstName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AuthorRecord value3(String value) {
|
||||
setLastName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AuthorRecord values(Integer value1, String value2, String value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AuthorRecord
|
||||
*/
|
||||
public AuthorRecord() {
|
||||
super(Author.AUTHOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AuthorRecord
|
||||
*/
|
||||
public AuthorRecord(Integer id, String firstName, String lastName) {
|
||||
super(Author.AUTHOR);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, firstName);
|
||||
setValue(2, lastName);
|
||||
}
|
||||
}
|
|
@ -1,173 +0,0 @@
|
|||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package com.baeldung.jooq.introduction.db.public_.tables.records;
|
||||
|
||||
|
||||
import com.baeldung.jooq.introduction.db.public_.tables.Book;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.Row2;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* 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 BookRecord extends UpdatableRecordImpl<BookRecord> implements Record2<Integer, String> {
|
||||
|
||||
private static final long serialVersionUID = -434165872;
|
||||
|
||||
/**
|
||||
* Setter for <code>PUBLIC.BOOK.ID</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>PUBLIC.BOOK.ID</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>PUBLIC.BOOK.TITLE</code>.
|
||||
*/
|
||||
public void setTitle(String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>PUBLIC.BOOK.TITLE</code>.
|
||||
*/
|
||||
public String getTitle() {
|
||||
return (String) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<Integer, String> fieldsRow() {
|
||||
return (Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Row2<Integer, String> valuesRow() {
|
||||
return (Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return Book.BOOK.ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Book.BOOK.TITLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String value2() {
|
||||
return getTitle();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public BookRecord value1(Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public BookRecord value2(String value) {
|
||||
setTitle(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public BookRecord values(Integer value1, String value2) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached BookRecord
|
||||
*/
|
||||
public BookRecord() {
|
||||
super(Book.BOOK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised BookRecord
|
||||
*/
|
||||
public BookRecord(Integer id, String title) {
|
||||
super(Book.BOOK);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, title);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue