/** * This class is generated by jOOQ */ package io.cattle.platform.core.model.tables; /** * 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 ExternalEventTable extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.ExternalEventRecord> { private static final long serialVersionUID = 696985601; /** * The singleton instance of <code>cattle.external_event</code> */ public static final io.cattle.platform.core.model.tables.ExternalEventTable EXTERNAL_EVENT = new io.cattle.platform.core.model.tables.ExternalEventTable(); /** * The class holding records for this type */ @Override public java.lang.Class<io.cattle.platform.core.model.tables.records.ExternalEventRecord> getRecordType() { return io.cattle.platform.core.model.tables.records.ExternalEventRecord.class; } /** * The column <code>cattle.external_event.id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, java.lang.Long> ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column <code>cattle.external_event.account_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, java.lang.Long> ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.external_event.kind</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, java.lang.String> KIND = createField("kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, ""); /** * The column <code>cattle.external_event.uuid</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, java.lang.String> UUID = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.external_event.state</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, java.lang.String> STATE = createField("state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.external_event.created</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, 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.external_event.data</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, 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.external_event.external_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, java.lang.String> EXTERNAL_ID = createField("external_id", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * The column <code>cattle.external_event.event_type</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, java.lang.String> EVENT_TYPE = createField("event_type", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * The column <code>cattle.external_event.reported_account_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ExternalEventRecord, java.lang.Long> REPORTED_ACCOUNT_ID = createField("reported_account_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * Create a <code>cattle.external_event</code> table reference */ public ExternalEventTable() { this("external_event", null); } /** * Create an aliased <code>cattle.external_event</code> table reference */ public ExternalEventTable(java.lang.String alias) { this(alias, io.cattle.platform.core.model.tables.ExternalEventTable.EXTERNAL_EVENT); } private ExternalEventTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.ExternalEventRecord> aliased) { this(alias, aliased, null); } private ExternalEventTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.ExternalEventRecord> 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.ExternalEventRecord, java.lang.Long> getIdentity() { return io.cattle.platform.core.model.Keys.IDENTITY_EXTERNAL_EVENT; } /** * {@inheritDoc} */ @Override public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.ExternalEventRecord> getPrimaryKey() { return io.cattle.platform.core.model.Keys.KEY_EXTERNAL_EVENT_PRIMARY; } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.ExternalEventRecord>> getKeys() { return java.util.Arrays.<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.ExternalEventRecord>>asList(io.cattle.platform.core.model.Keys.KEY_EXTERNAL_EVENT_PRIMARY, io.cattle.platform.core.model.Keys.KEY_EXTERNAL_EVENT_IDX_EXTERNAL_EVENT_UUID); } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.ExternalEventRecord, ?>> getReferences() { return java.util.Arrays.<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.ExternalEventRecord, ?>>asList(io.cattle.platform.core.model.Keys.FK_EXTERNAL_EVENT__ACCOUNT_ID, io.cattle.platform.core.model.Keys.FK_EXTERNAL_EVENT__REPORTED_ACCOUNT_ID); } /** * {@inheritDoc} */ @Override public io.cattle.platform.core.model.tables.ExternalEventTable as(java.lang.String alias) { return new io.cattle.platform.core.model.tables.ExternalEventTable(alias, this); } /** * Rename this table */ public io.cattle.platform.core.model.tables.ExternalEventTable rename(java.lang.String name) { return new io.cattle.platform.core.model.tables.ExternalEventTable(name, null); } }