/** This class is generated by jOOQ. */ @javax.annotation.Generated( value = {"http://www.jooq.org", "3.3.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"}) public class AccountTable extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.AccountRecord> { private static final long serialVersionUID = -816306637; /** The singleton instance of <code>cattle.account</code> */ public static final io.cattle.platform.core.model.tables.AccountTable ACCOUNT = new io.cattle.platform.core.model.tables.AccountTable(); /** The class holding records for this type */ @Override public java.lang.Class<io.cattle.platform.core.model.tables.records.AccountRecord> getRecordType() { return io.cattle.platform.core.model.tables.records.AccountRecord.class; } /** The column <code>cattle.account.id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long> ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** The column <code>cattle.account.name</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** The column <code>cattle.account.kind</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String> KIND = createField( "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, ""); /** The column <code>cattle.account.uuid</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String> UUID = createField( "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** The column <code>cattle.account.description</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String> DESCRIPTION = createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, ""); /** The column <code>cattle.account.state</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String> STATE = createField( "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** The column <code>cattle.account.created</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date> CREATED = createField( "created", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType( new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** The column <code>cattle.account.removed</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date> REMOVED = createField( "removed", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType( new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** The column <code>cattle.account.remove_time</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date> REMOVE_TIME = createField( "remove_time", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType( new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** The column <code>cattle.account.data</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Map<String, Object>> DATA = createField( "data", org.jooq.impl.SQLDataType.CLOB .length(16777215) .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()), this, ""); /** The column <code>cattle.account.external_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String> EXTERNAL_ID = createField("external_id", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** The column <code>cattle.account.external_id_type</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String> EXTERNAL_ID_TYPE = createField("external_id_type", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, ""); /** The column <code>cattle.account.health_state</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String> HEALTH_STATE = createField("health_state", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, ""); /** The column <code>cattle.account.project_template_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long> PROJECT_TEMPLATE_ID = createField("project_template_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** The column <code>cattle.account.default_network_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long> DEFAULT_NETWORK_ID = createField("default_network_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** The column <code>cattle.account.version</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String> VERSION = createField("version", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, ""); /** Create a <code>cattle.account</code> table reference */ public AccountTable() { this("account", null); } /** Create an aliased <code>cattle.account</code> table reference */ public AccountTable(java.lang.String alias) { this(alias, io.cattle.platform.core.model.tables.AccountTable.ACCOUNT); } private AccountTable( java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountRecord> aliased) { this(alias, aliased, null); } private AccountTable( java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountRecord> aliased, org.jooq.Field<?>[] parameters) { super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, ""); } /** {@inheritDoc} */ @Override public org.jooq.Identity< io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long> getIdentity() { return io.cattle.platform.core.model.Keys.IDENTITY_ACCOUNT; } /** {@inheritDoc} */ @Override public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord> getPrimaryKey() { return io.cattle.platform.core.model.Keys.KEY_ACCOUNT_PRIMARY; } /** {@inheritDoc} */ @Override public java.util.List< org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>> getKeys() { return java.util.Arrays .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>>asList( io.cattle.platform.core.model.Keys.KEY_ACCOUNT_PRIMARY, io.cattle.platform.core.model.Keys.KEY_ACCOUNT_IDX_ACCOUNT_UUID); } /** {@inheritDoc} */ @Override public java.util.List< org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountRecord, ?>> getReferences() { return java.util.Arrays .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountRecord, ?>>asList( io.cattle.platform.core.model.Keys.FK_ACCOUNT__PROJECT_TEMPLATE_ID); } /** {@inheritDoc} */ @Override public io.cattle.platform.core.model.tables.AccountTable as(java.lang.String alias) { return new io.cattle.platform.core.model.tables.AccountTable(alias, this); } /** Rename this table */ public io.cattle.platform.core.model.tables.AccountTable rename(java.lang.String name) { return new io.cattle.platform.core.model.tables.AccountTable(name, null); } }
/** General log */ @javax.annotation.Generated( value = {"http://www.jooq.org", "jOOQ version:3.5.4"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"}) public class GeneralLog extends org.jooq.impl.TableImpl< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord> { private static final long serialVersionUID = 1434121968; /** The reference instance of <code>mysql.general_log</code> */ public static final com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog GENERAL_LOG = new com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog(); /** The class holding records for this type */ @Override public java.lang.Class< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord> getRecordType() { return com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord.class; } /** The column <code>mysql.general_log.event_time</code>. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord, java.sql.Timestamp> EVENT_TIME = createField( "event_time", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); /** The column <code>mysql.general_log.user_host</code>. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord, java.lang.String> USER_HOST = createField( "user_host", org.jooq.impl.SQLDataType.CLOB.length(16777215).nullable(false), this, ""); /** The column <code>mysql.general_log.thread_id</code>. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord, org.jooq.types.ULong> THREAD_ID = createField( "thread_id", org.jooq.impl.SQLDataType.BIGINTUNSIGNED.nullable(false), this, ""); /** The column <code>mysql.general_log.server_id</code>. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord, org.jooq.types.UInteger> SERVER_ID = createField( "server_id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); /** The column <code>mysql.general_log.command_type</code>. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord, java.lang.String> COMMAND_TYPE = createField( "command_type", org.jooq.impl.SQLDataType.VARCHAR.length(64).nullable(false), this, ""); /** The column <code>mysql.general_log.argument</code>. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord, java.lang.String> ARGUMENT = createField( "argument", org.jooq.impl.SQLDataType.CLOB.length(16777215).nullable(false), this, ""); /** Create a <code>mysql.general_log</code> table reference */ public GeneralLog() { this("general_log", null); } /** Create an aliased <code>mysql.general_log</code> table reference */ public GeneralLog(java.lang.String alias) { this(alias, com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog.GENERAL_LOG); } private GeneralLog( java.lang.String alias, org.jooq.Table<com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord> aliased) { this(alias, aliased, null); } private GeneralLog( java.lang.String alias, org.jooq.Table<com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord> aliased, org.jooq.Field<?>[] parameters) { super( alias, com.davidm.mykindlenews.generated.jooq.mysql.Mysql.MYSQL, aliased, parameters, "General log"); } /** {@inheritDoc} */ @Override public com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog as(java.lang.String alias) { return new com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog(alias, this); } /** Rename this table */ public com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog rename( java.lang.String name) { return new com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog(name, null); } }
/** Master Information */ @javax.annotation.Generated( value = {"http://www.jooq.org", "jOOQ version:3.5.4"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"}) public class SlaveMasterInfo extends org.jooq.impl.TableImpl< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord> { private static final long serialVersionUID = -1917844042; /** The reference instance of <code>mysql.slave_master_info</code> */ public static final com.davidm.mykindlenews.generated.jooq.mysql.tables.SlaveMasterInfo SLAVE_MASTER_INFO = new com.davidm.mykindlenews.generated.jooq.mysql.tables.SlaveMasterInfo(); /** The class holding records for this type */ @Override public java.lang.Class< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord> getRecordType() { return com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord.class; } /** * The column <code>mysql.slave_master_info.Number_of_lines</code>. Number of lines in the file. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, org.jooq.types.UInteger> NUMBER_OF_LINES = createField( "Number_of_lines", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "Number of lines in the file."); /** * The column <code>mysql.slave_master_info.Master_log_name</code>. The name of the master binary * log currently being read from the master. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> MASTER_LOG_NAME = createField( "Master_log_name", org.jooq.impl.SQLDataType.CLOB.length(65535).nullable(false), this, "The name of the master binary log currently being read from the master."); /** * The column <code>mysql.slave_master_info.Master_log_pos</code>. The master log position of the * last read event. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, org.jooq.types.ULong> MASTER_LOG_POS = createField( "Master_log_pos", org.jooq.impl.SQLDataType.BIGINTUNSIGNED.nullable(false), this, "The master log position of the last read event."); /** The column <code>mysql.slave_master_info.Host</code>. The host name of the master. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> HOST = createField( "Host", org.jooq.impl.SQLDataType.CHAR.length(255).nullable(false).defaulted(true), this, "The host name of the master."); /** * The column <code>mysql.slave_master_info.User_name</code>. The user name used to connect to the * master. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> USER_NAME = createField( "User_name", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The user name used to connect to the master."); /** * The column <code>mysql.slave_master_info.User_password</code>. The password used to connect to * the master. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> USER_PASSWORD = createField( "User_password", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The password used to connect to the master."); /** * The column <code>mysql.slave_master_info.Port</code>. The network port used to connect to the * master. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, org.jooq.types.UInteger> PORT = createField( "Port", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "The network port used to connect to the master."); /** * The column <code>mysql.slave_master_info.Connect_retry</code>. The period (in seconds) that the * slave will wait before trying to reconnect to the master. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, org.jooq.types.UInteger> CONNECT_RETRY = createField( "Connect_retry", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "The period (in seconds) that the slave will wait before trying to reconnect to the master."); /** * The column <code>mysql.slave_master_info.Enabled_ssl</code>. Indicates whether the server * supports SSL connections. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.Byte> ENABLED_SSL = createField( "Enabled_ssl", org.jooq.impl.SQLDataType.TINYINT.nullable(false), this, "Indicates whether the server supports SSL connections."); /** * The column <code>mysql.slave_master_info.Ssl_ca</code>. The file used for the Certificate * Authority (CA) certificate. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> SSL_CA = createField( "Ssl_ca", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The file used for the Certificate Authority (CA) certificate."); /** * The column <code>mysql.slave_master_info.Ssl_capath</code>. The path to the Certificate * Authority (CA) certificates. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> SSL_CAPATH = createField( "Ssl_capath", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The path to the Certificate Authority (CA) certificates."); /** * The column <code>mysql.slave_master_info.Ssl_cert</code>. The name of the SSL certificate file. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> SSL_CERT = createField( "Ssl_cert", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The name of the SSL certificate file."); /** * The column <code>mysql.slave_master_info.Ssl_cipher</code>. The name of the cipher in use for * the SSL connection. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> SSL_CIPHER = createField( "Ssl_cipher", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The name of the cipher in use for the SSL connection."); /** The column <code>mysql.slave_master_info.Ssl_key</code>. The name of the SSL key file. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> SSL_KEY = createField( "Ssl_key", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The name of the SSL key file."); /** * The column <code>mysql.slave_master_info.Ssl_verify_server_cert</code>. Whether to verify the * server certificate. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.Byte> SSL_VERIFY_SERVER_CERT = createField( "Ssl_verify_server_cert", org.jooq.impl.SQLDataType.TINYINT.nullable(false), this, "Whether to verify the server certificate."); /** The column <code>mysql.slave_master_info.Heartbeat</code>. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.Double> HEARTBEAT = createField("Heartbeat", org.jooq.impl.SQLDataType.FLOAT.nullable(false), this, ""); /** * The column <code>mysql.slave_master_info.Bind</code>. Displays which interface is employed when * connecting to the MySQL server */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> BIND = createField( "Bind", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "Displays which interface is employed when connecting to the MySQL server"); /** * The column <code>mysql.slave_master_info.Ignored_server_ids</code>. The number of server IDs to * be ignored, followed by the actual server IDs */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> IGNORED_SERVER_IDS = createField( "Ignored_server_ids", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The number of server IDs to be ignored, followed by the actual server IDs"); /** The column <code>mysql.slave_master_info.Uuid</code>. The master server uuid. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> UUID = createField( "Uuid", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The master server uuid."); /** * The column <code>mysql.slave_master_info.Retry_count</code>. Number of reconnect attempts, to * the master, before giving up. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, org.jooq.types.ULong> RETRY_COUNT = createField( "Retry_count", org.jooq.impl.SQLDataType.BIGINTUNSIGNED.nullable(false), this, "Number of reconnect attempts, to the master, before giving up."); /** * The column <code>mysql.slave_master_info.Ssl_crl</code>. The file used for the Certificate * Revocation List (CRL) */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> SSL_CRL = createField( "Ssl_crl", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The file used for the Certificate Revocation List (CRL)"); /** * The column <code>mysql.slave_master_info.Ssl_crlpath</code>. The path used for Certificate * Revocation List (CRL) files */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.String> SSL_CRLPATH = createField( "Ssl_crlpath", org.jooq.impl.SQLDataType.CLOB.length(65535), this, "The path used for Certificate Revocation List (CRL) files"); /** * The column <code>mysql.slave_master_info.Enabled_auto_position</code>. Indicates whether GTIDs * will be used to retrieve events from the master. */ public final org.jooq.TableField< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord, java.lang.Byte> ENABLED_AUTO_POSITION = createField( "Enabled_auto_position", org.jooq.impl.SQLDataType.TINYINT.nullable(false), this, "Indicates whether GTIDs will be used to retrieve events from the master."); /** Create a <code>mysql.slave_master_info</code> table reference */ public SlaveMasterInfo() { this("slave_master_info", null); } /** Create an aliased <code>mysql.slave_master_info</code> table reference */ public SlaveMasterInfo(java.lang.String alias) { this( alias, com.davidm.mykindlenews.generated.jooq.mysql.tables.SlaveMasterInfo.SLAVE_MASTER_INFO); } private SlaveMasterInfo( java.lang.String alias, org.jooq.Table< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord> aliased) { this(alias, aliased, null); } private SlaveMasterInfo( java.lang.String alias, org.jooq.Table< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord> aliased, org.jooq.Field<?>[] parameters) { super( alias, com.davidm.mykindlenews.generated.jooq.mysql.Mysql.MYSQL, aliased, parameters, "Master Information"); } /** {@inheritDoc} */ @Override public org.jooq.UniqueKey< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord> getPrimaryKey() { return com.davidm.mykindlenews.generated.jooq.mysql.Keys.KEY_SLAVE_MASTER_INFO_PRIMARY; } /** {@inheritDoc} */ @Override public java.util.List< org.jooq.UniqueKey< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord>> getKeys() { return java.util.Arrays .<org.jooq.UniqueKey< com.davidm.mykindlenews.generated.jooq.mysql.tables.records.SlaveMasterInfoRecord>> asList(com.davidm.mykindlenews.generated.jooq.mysql.Keys.KEY_SLAVE_MASTER_INFO_PRIMARY); } /** {@inheritDoc} */ @Override public com.davidm.mykindlenews.generated.jooq.mysql.tables.SlaveMasterInfo as( java.lang.String alias) { return new com.davidm.mykindlenews.generated.jooq.mysql.tables.SlaveMasterInfo(alias, this); } /** Rename this table */ public com.davidm.mykindlenews.generated.jooq.mysql.tables.SlaveMasterInfo rename( java.lang.String name) { return new com.davidm.mykindlenews.generated.jooq.mysql.tables.SlaveMasterInfo(name, null); } }
/** This class is generated by jOOQ. */ @javax.annotation.Generated( value = {"http://www.jooq.org", "3.3.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"}) public class CredentialTable extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.CredentialRecord> { private static final long serialVersionUID = 1760963263; /** The singleton instance of <code>cattle.credential</code> */ public static final io.cattle.platform.core.model.tables.CredentialTable CREDENTIAL = new io.cattle.platform.core.model.tables.CredentialTable(); /** The class holding records for this type */ @Override public java.lang.Class<io.cattle.platform.core.model.tables.records.CredentialRecord> getRecordType() { return io.cattle.platform.core.model.tables.records.CredentialRecord.class; } /** The column <code>cattle.credential.id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long> ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** The column <code>cattle.credential.name</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** The column <code>cattle.credential.account_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long> ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** The column <code>cattle.credential.kind</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String> KIND = createField( "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, ""); /** The column <code>cattle.credential.uuid</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String> UUID = createField( "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** The column <code>cattle.credential.description</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String> DESCRIPTION = createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, ""); /** The column <code>cattle.credential.state</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String> STATE = createField( "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** The column <code>cattle.credential.created</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Date> CREATED = createField( "created", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType( new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** The column <code>cattle.credential.removed</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Date> REMOVED = createField( "removed", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType( new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** The column <code>cattle.credential.remove_time</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Date> REMOVE_TIME = createField( "remove_time", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType( new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** The column <code>cattle.credential.data</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Map<String, Object>> DATA = createField( "data", org.jooq.impl.SQLDataType.CLOB .length(65535) .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()), this, ""); /** The column <code>cattle.credential.public_value</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String> PUBLIC_VALUE = createField("public_value", org.jooq.impl.SQLDataType.VARCHAR.length(4096), this, ""); /** The column <code>cattle.credential.secret_value</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String> SECRET_VALUE = createField("secret_value", org.jooq.impl.SQLDataType.VARCHAR.length(4096), this, ""); /** The column <code>cattle.credential.registry_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long> REGISTRY_ID = createField("registry_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** Create a <code>cattle.credential</code> table reference */ public CredentialTable() { this("credential", null); } /** Create an aliased <code>cattle.credential</code> table reference */ public CredentialTable(java.lang.String alias) { this(alias, io.cattle.platform.core.model.tables.CredentialTable.CREDENTIAL); } private CredentialTable( java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.CredentialRecord> aliased) { this(alias, aliased, null); } private CredentialTable( java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.CredentialRecord> aliased, org.jooq.Field<?>[] parameters) { super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, ""); } /** {@inheritDoc} */ @Override public org.jooq.Identity< io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long> getIdentity() { return io.cattle.platform.core.model.Keys.IDENTITY_CREDENTIAL; } /** {@inheritDoc} */ @Override public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.CredentialRecord> getPrimaryKey() { return io.cattle.platform.core.model.Keys.KEY_CREDENTIAL_PRIMARY; } /** {@inheritDoc} */ @Override public java.util.List< org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.CredentialRecord>> getKeys() { return java.util.Arrays .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.CredentialRecord>>asList( io.cattle.platform.core.model.Keys.KEY_CREDENTIAL_PRIMARY, io.cattle.platform.core.model.Keys.KEY_CREDENTIAL_IDX_CREDENTIAL_UUID); } /** {@inheritDoc} */ @Override public java.util.List< org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.CredentialRecord, ?>> getReferences() { return java.util.Arrays .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.CredentialRecord, ?>> asList( io.cattle.platform.core.model.Keys.FK_CREDENTIAL__ACCOUNT_ID, io.cattle.platform.core.model.Keys.FK_CREDENTIAL__REGISTRY_ID); } /** {@inheritDoc} */ @Override public io.cattle.platform.core.model.tables.CredentialTable as(java.lang.String alias) { return new io.cattle.platform.core.model.tables.CredentialTable(alias, this); } /** Rename this table */ public io.cattle.platform.core.model.tables.CredentialTable rename(java.lang.String name) { return new io.cattle.platform.core.model.tables.CredentialTable(name, null); } }
/** This class is generated by jOOQ. */ @java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"}) public class VBook extends org.jooq.impl.TableImpl< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord> { private static final long serialVersionUID = 2022029023; /** The singleton instance of <code>dbo.v_book</code> */ public static final org.jooq.test.sqlserver.generatedclasses.tables.VBook V_BOOK = new org.jooq.test.sqlserver.generatedclasses.tables.VBook(); /** The class holding records for this type */ @Override public java.lang.Class<org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord> getRecordType() { return org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord.class; } /** The column <code>dbo.v_book.ID</code>. */ public final org.jooq.TableField< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord, java.lang.Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>dbo.v_book.AUTHOR_ID</code>. */ public final org.jooq.TableField< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord, java.lang.Integer> AUTHOR_ID = createField("AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>dbo.v_book.CO_AUTHOR_ID</code>. */ public final org.jooq.TableField< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord, java.lang.Integer> CO_AUTHOR_ID = createField("CO_AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>dbo.v_book.DETAILS_ID</code>. */ public final org.jooq.TableField< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord, java.lang.Integer> DETAILS_ID = createField("DETAILS_ID", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>dbo.v_book.TITLE</code>. */ public final org.jooq.TableField< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord, java.lang.String> TITLE = createField("TITLE", org.jooq.impl.SQLDataType.VARCHAR.length(400), this); /** The column <code>dbo.v_book.PUBLISHED_IN</code>. */ public final org.jooq.TableField< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord, java.lang.Integer> PUBLISHED_IN = createField("PUBLISHED_IN", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>dbo.v_book.LANGUAGE_ID</code>. */ public final org.jooq.TableField< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord, java.lang.Integer> LANGUAGE_ID = createField("LANGUAGE_ID", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>dbo.v_book.CONTENT_TEXT</code>. */ public final org.jooq.TableField< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord, java.lang.String> CONTENT_TEXT = createField("CONTENT_TEXT", org.jooq.impl.SQLDataType.CLOB.length(2147483647), this); /** The column <code>dbo.v_book.CONTENT_PDF</code>. */ public final org.jooq.TableField< org.jooq.test.sqlserver.generatedclasses.tables.records.VBookRecord, byte[]> CONTENT_PDF = createField("CONTENT_PDF", org.jooq.impl.SQLDataType.VARBINARY, this); /** Create a <code>dbo.v_book</code> table reference */ public VBook() { super("v_book", org.jooq.test.sqlserver.generatedclasses.Dbo.DBO); } /** Create an aliased <code>dbo.v_book</code> table reference */ public VBook(java.lang.String alias) { super( alias, org.jooq.test.sqlserver.generatedclasses.Dbo.DBO, org.jooq.test.sqlserver.generatedclasses.tables.VBook.V_BOOK); } /** {@inheritDoc} */ @Override public org.jooq.test.sqlserver.generatedclasses.tables.VBook as(java.lang.String alias) { return new org.jooq.test.sqlserver.generatedclasses.tables.VBook(alias); } }
/** This class is generated by jOOQ. */ @javax.annotation.Generated( value = {"http://www.jooq.org", "3.3.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"}) public class StoragePoolTable extends org.jooq.impl.TableImpl< io.cattle.platform.core.model.tables.records.StoragePoolRecord> { private static final long serialVersionUID = 645893858; /** The singleton instance of <code>cattle.storage_pool</code> */ public static final io.cattle.platform.core.model.tables.StoragePoolTable STORAGE_POOL = new io.cattle.platform.core.model.tables.StoragePoolTable(); /** The class holding records for this type */ @Override public java.lang.Class<io.cattle.platform.core.model.tables.records.StoragePoolRecord> getRecordType() { return io.cattle.platform.core.model.tables.records.StoragePoolRecord.class; } /** The column <code>cattle.storage_pool.id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long> ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** The column <code>cattle.storage_pool.name</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** The column <code>cattle.storage_pool.account_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long> ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** The column <code>cattle.storage_pool.kind</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String> KIND = createField( "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, ""); /** The column <code>cattle.storage_pool.uuid</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String> UUID = createField( "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** The column <code>cattle.storage_pool.description</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String> DESCRIPTION = createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, ""); /** The column <code>cattle.storage_pool.state</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String> STATE = createField( "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** The column <code>cattle.storage_pool.created</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Date> CREATED = createField( "created", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType( new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** The column <code>cattle.storage_pool.removed</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Date> REMOVED = createField( "removed", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType( new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** The column <code>cattle.storage_pool.remove_time</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Date> REMOVE_TIME = createField( "remove_time", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType( new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** The column <code>cattle.storage_pool.data</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Map<String, Object>> DATA = createField( "data", org.jooq.impl.SQLDataType.CLOB .length(16777215) .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()), this, ""); /** The column <code>cattle.storage_pool.physical_total_size_mb</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long> PHYSICAL_TOTAL_SIZE_MB = createField("physical_total_size_mb", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** The column <code>cattle.storage_pool.virtual_total_size_mb</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long> VIRTUAL_TOTAL_SIZE_MB = createField("virtual_total_size_mb", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** The column <code>cattle.storage_pool.external</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Boolean> EXTERNAL = createField( "external", org.jooq.impl.SQLDataType.BIT.nullable(false).defaulted(true), this, ""); /** The column <code>cattle.storage_pool.agent_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long> AGENT_ID = createField("agent_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** The column <code>cattle.storage_pool.zone_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long> ZONE_ID = createField("zone_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** The column <code>cattle.storage_pool.external_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String> EXTERNAL_ID = createField("external_id", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, ""); /** The column <code>cattle.storage_pool.driver_name</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String> DRIVER_NAME = createField("driver_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** The column <code>cattle.storage_pool.volume_access_mode</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String> VOLUME_ACCESS_MODE = createField( "volume_access_mode", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** The column <code>cattle.storage_pool.storage_driver_id</code>. */ public final org.jooq.TableField< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long> STORAGE_DRIVER_ID = createField("storage_driver_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** Create a <code>cattle.storage_pool</code> table reference */ public StoragePoolTable() { this("storage_pool", null); } /** Create an aliased <code>cattle.storage_pool</code> table reference */ public StoragePoolTable(java.lang.String alias) { this(alias, io.cattle.platform.core.model.tables.StoragePoolTable.STORAGE_POOL); } private StoragePoolTable( java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.StoragePoolRecord> aliased) { this(alias, aliased, null); } private StoragePoolTable( java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.StoragePoolRecord> aliased, org.jooq.Field<?>[] parameters) { super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, ""); } /** {@inheritDoc} */ @Override public org.jooq.Identity< io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long> getIdentity() { return io.cattle.platform.core.model.Keys.IDENTITY_STORAGE_POOL; } /** {@inheritDoc} */ @Override public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord> getPrimaryKey() { return io.cattle.platform.core.model.Keys.KEY_STORAGE_POOL_PRIMARY; } /** {@inheritDoc} */ @Override public java.util.List< org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord>> getKeys() { return java.util.Arrays .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord>>asList( io.cattle.platform.core.model.Keys.KEY_STORAGE_POOL_PRIMARY, io.cattle.platform.core.model.Keys.KEY_STORAGE_POOL_IDX_STORAGE_POOL_UUID); } /** {@inheritDoc} */ @Override public java.util.List< org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord, ?>> getReferences() { return java.util.Arrays .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord, ?>> asList( io.cattle.platform.core.model.Keys.FK_STORAGE_POOL__ACCOUNT_ID, io.cattle.platform.core.model.Keys.FK_STORAGE_POOL__AGENT_ID, io.cattle.platform.core.model.Keys.FK_STORAGE_POOL__ZONE_ID, io.cattle.platform.core.model.Keys.FK_STORAGE_DRIVER__ID); } /** {@inheritDoc} */ @Override public io.cattle.platform.core.model.tables.StoragePoolTable as(java.lang.String alias) { return new io.cattle.platform.core.model.tables.StoragePoolTable(alias, this); } /** Rename this table */ public io.cattle.platform.core.model.tables.StoragePoolTable rename(java.lang.String name) { return new io.cattle.platform.core.model.tables.StoragePoolTable(name, null); } }
/** * This class is generated by jOOQ. * * <p>VIEW */ @java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"}) public class VBook extends org.jooq.impl.TableImpl< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord> { private static final long serialVersionUID = 902848983; /** The singleton instance of <code>test2.v_book</code> */ public static final org.jooq.test.mysql2.generatedclasses.tables.VBook V_BOOK = new org.jooq.test.mysql2.generatedclasses.tables.VBook(); /** The class holding records for this type */ @Override public java.lang.Class<org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord> getRecordType() { return org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord.class; } /** The column <code>test2.v_book.ID</code>. The book ID */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, java.lang.Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this); /** The column <code>test2.v_book.AUTHOR_ID</code>. The author ID in entity 'author' */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, java.lang.Integer> AUTHOR_ID = createField("AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this); /** The column <code>test2.v_book.co_author_id</code>. */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, java.lang.Integer> CO_AUTHOR_ID = createField("co_author_id", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>test2.v_book.DETAILS_ID</code>. Some more details about the book */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, java.lang.Integer> DETAILS_ID = createField("DETAILS_ID", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>test2.v_book.TITLE</code>. The book's title */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, java.lang.String> TITLE = createField("TITLE", org.jooq.impl.SQLDataType.CLOB.length(65535).nullable(false), this); /** The column <code>test2.v_book.PUBLISHED_IN</code>. The year the book was published in */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, java.lang.Integer> PUBLISHED_IN = createField("PUBLISHED_IN", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this); /** The column <code>test2.v_book.LANGUAGE_ID</code>. The language of the book */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, java.lang.Integer> LANGUAGE_ID = createField("LANGUAGE_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this); /** The column <code>test2.v_book.CONTENT_TEXT</code>. Some textual content of the book */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, java.lang.String> CONTENT_TEXT = createField("CONTENT_TEXT", org.jooq.impl.SQLDataType.CLOB, this); /** The column <code>test2.v_book.CONTENT_PDF</code>. Some binary content of the book */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, byte[]> CONTENT_PDF = createField("CONTENT_PDF", org.jooq.impl.SQLDataType.BLOB, this); /** The column <code>test2.v_book.STATUS</code>. The book's stock status */ public final org.jooq.TableField< org.jooq.test.mysql2.generatedclasses.tables.records.VBookRecord, org.jooq.test.mysql2.generatedclasses.enums.VBookStatus> STATUS = createField( "STATUS", org.jooq.util.mysql.MySQLDataType.VARCHAR.asEnumDataType( org.jooq.test.mysql2.generatedclasses.enums.VBookStatus.class), this); /** Create a <code>test2.v_book</code> table reference */ public VBook() { super("v_book", org.jooq.test.mysql2.generatedclasses.Test2.TEST2); } /** Create an aliased <code>test2.v_book</code> table reference */ public VBook(java.lang.String alias) { super( alias, org.jooq.test.mysql2.generatedclasses.Test2.TEST2, org.jooq.test.mysql2.generatedclasses.tables.VBook.V_BOOK); } /** {@inheritDoc} */ @Override public org.jooq.test.mysql2.generatedclasses.tables.VBook as(java.lang.String alias) { return new org.jooq.test.mysql2.generatedclasses.tables.VBook(alias); } }
/** This class is generated by jOOQ. */ @java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"}) public class TBook extends org.jooq.impl.TableImpl< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord> { private static final long serialVersionUID = -565243360; /** The singleton instance of <code>T_BOOK</code> */ public static final org.jooq.test.firebird.generatedclasses.tables.TBook T_BOOK = new org.jooq.test.firebird.generatedclasses.tables.TBook(); /** The class holding records for this type */ @Override public java.lang.Class<org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord> getRecordType() { return org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord.class; } /** The column <code>T_BOOK.ID</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this); /** The column <code>T_BOOK.AUTHOR_ID</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.Integer> AUTHOR_ID = createField("AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this); /** The column <code>T_BOOK.CO_AUTHOR_ID</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.Integer> CO_AUTHOR_ID = createField("CO_AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>T_BOOK.DETAILS_ID</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.Integer> DETAILS_ID = createField("DETAILS_ID", org.jooq.impl.SQLDataType.INTEGER, this); /** The column <code>T_BOOK.TITLE</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.String> TITLE = createField("TITLE", org.jooq.impl.SQLDataType.VARCHAR.length(400).nullable(false), this); /** The column <code>T_BOOK.PUBLISHED_IN</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.Integer> PUBLISHED_IN = createField("PUBLISHED_IN", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this); /** The column <code>T_BOOK.LANGUAGE_ID</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.Integer> LANGUAGE_ID = createField("LANGUAGE_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this); /** The column <code>T_BOOK.CONTENT_TEXT</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.String> CONTENT_TEXT = createField("CONTENT_TEXT", org.jooq.impl.SQLDataType.CLOB.length(8), this); /** The column <code>T_BOOK.CONTENT_PDF</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, byte[]> CONTENT_PDF = createField("CONTENT_PDF", org.jooq.impl.SQLDataType.BLOB.length(8), this); /** The column <code>T_BOOK.REC_VERSION</code>. */ public final org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.Integer> REC_VERSION = createField("REC_VERSION", org.jooq.impl.SQLDataType.INTEGER, this); /** Create a <code>T_BOOK</code> table reference */ public TBook() { super("T_BOOK", org.jooq.test.firebird.generatedclasses.DefaultSchema.DEFAULT_SCHEMA); } /** Create an aliased <code>T_BOOK</code> table reference */ public TBook(java.lang.String alias) { super( alias, org.jooq.test.firebird.generatedclasses.DefaultSchema.DEFAULT_SCHEMA, org.jooq.test.firebird.generatedclasses.tables.TBook.T_BOOK); } /** {@inheritDoc} */ @Override public org.jooq.UniqueKey<org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord> getPrimaryKey() { return org.jooq.test.firebird.generatedclasses.Keys.PK_T_BOOK; } /** {@inheritDoc} */ @Override public java.util.List< org.jooq.UniqueKey<org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord>> getKeys() { return java.util.Arrays .<org.jooq.UniqueKey<org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord>> asList(org.jooq.test.firebird.generatedclasses.Keys.PK_T_BOOK); } /** {@inheritDoc} */ @Override public java.util.List< org.jooq.ForeignKey< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, ?>> getReferences() { return java.util.Arrays .<org.jooq.ForeignKey< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, ?>> asList( org.jooq.test.firebird.generatedclasses.Keys.FK_T_BOOK_AUTHOR_ID, org.jooq.test.firebird.generatedclasses.Keys.FK_T_BOOK_CO_AUTHOR_ID, org.jooq.test.firebird.generatedclasses.Keys.FK_T_BOOK_LANGUAGE_ID); } /** {@inheritDoc} */ @Override public org.jooq.TableField< org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.Integer> getRecordVersion() { return org.jooq.test.firebird.generatedclasses.tables.TBook.T_BOOK.REC_VERSION; } /** {@inheritDoc} */ @Override public org.jooq.test.firebird.generatedclasses.tables.TBook as(java.lang.String alias) { return new org.jooq.test.firebird.generatedclasses.tables.TBook(alias); } }