/** * 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 ClusterMembershipTable extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord> { private static final long serialVersionUID = -2123889792; /** * The singleton instance of <code>cattle.cluster_membership</code> */ public static final io.cattle.platform.core.model.tables.ClusterMembershipTable CLUSTER_MEMBERSHIP = new io.cattle.platform.core.model.tables.ClusterMembershipTable(); /** * The class holding records for this type */ @Override public java.lang.Class<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord> getRecordType() { return io.cattle.platform.core.model.tables.records.ClusterMembershipRecord.class; } /** * The column <code>cattle.cluster_membership.id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord, java.lang.Long> ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column <code>cattle.cluster_membership.name</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * The column <code>cattle.cluster_membership.uuid</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord, java.lang.String> UUID = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.cluster_membership.heartbeat</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord, java.lang.Long> HEARTBEAT = createField("heartbeat", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.cluster_membership.config</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord, java.lang.String> CONFIG = createField("config", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, ""); /** * The column <code>cattle.cluster_membership.clustered</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord, java.lang.Boolean> CLUSTERED = createField("clustered", org.jooq.impl.SQLDataType.BIT.nullable(false).defaulted(true), this, ""); /** * Create a <code>cattle.cluster_membership</code> table reference */ public ClusterMembershipTable() { this("cluster_membership", null); } /** * Create an aliased <code>cattle.cluster_membership</code> table reference */ public ClusterMembershipTable(java.lang.String alias) { this(alias, io.cattle.platform.core.model.tables.ClusterMembershipTable.CLUSTER_MEMBERSHIP); } private ClusterMembershipTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord> aliased) { this(alias, aliased, null); } private ClusterMembershipTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord> 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.ClusterMembershipRecord, java.lang.Long> getIdentity() { return io.cattle.platform.core.model.Keys.IDENTITY_CLUSTER_MEMBERSHIP; } /** * {@inheritDoc} */ @Override public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord> getPrimaryKey() { return io.cattle.platform.core.model.Keys.KEY_CLUSTER_MEMBERSHIP_PRIMARY; } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord>> getKeys() { return java.util.Arrays.<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.ClusterMembershipRecord>>asList(io.cattle.platform.core.model.Keys.KEY_CLUSTER_MEMBERSHIP_PRIMARY, io.cattle.platform.core.model.Keys.KEY_CLUSTER_MEMBERSHIP_IDX_CLUSTER_MEMBERSHIP_UUID); } /** * {@inheritDoc} */ @Override public io.cattle.platform.core.model.tables.ClusterMembershipTable as(java.lang.String alias) { return new io.cattle.platform.core.model.tables.ClusterMembershipTable(alias, this); } /** * Rename this table */ public io.cattle.platform.core.model.tables.ClusterMembershipTable rename(java.lang.String name) { return new io.cattle.platform.core.model.tables.ClusterMembershipTable(name, null); } }