All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.netflix.spinnaker.keel.persistence.metamodel.tables.Environment Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package com.netflix.spinnaker.keel.persistence.metamodel.tables;
import com.netflix.spinnaker.keel.persistence.metamodel.Keel;
import com.netflix.spinnaker.keel.persistence.metamodel.Keys;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentRecord;
import java.util.Arrays;
import java.util.List;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Row9;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"https://www.jooq.org",
"jOOQ version:3.13.6"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Environment extends TableImpl {
private static final long serialVersionUID = 1306248808;
/**
* The reference instance of keel.environment
*/
public static final Environment ENVIRONMENT = new Environment();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return EnvironmentRecord.class;
}
/**
* The column keel.environment.uid
.
*/
public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* The column keel.environment.delivery_config_uid
.
*/
public final TableField DELIVERY_CONFIG_UID = createField(DSL.name("delivery_config_uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* The column keel.environment.name
.
*/
public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.environment.is_preview
.
*/
public final TableField IS_PREVIEW = createField(DSL.name("is_preview"), org.jooq.impl.SQLDataType.BIT.nullable(false).defaultValue(org.jooq.impl.DSL.inline("b'0'", org.jooq.impl.SQLDataType.BIT)), this, "");
/**
* The column keel.environment.constraints
.
*/
public final TableField CONSTRAINTS = createField(DSL.name("constraints"), org.jooq.impl.SQLDataType.LONGVARCHAR.nullable(false), this, "");
/**
* The column keel.environment.verifications
.
*/
public final TableField VERIFICATIONS = createField(DSL.name("verifications"), org.jooq.impl.SQLDataType.LONGVARCHAR.nullable(false), this, "");
/**
* The column keel.environment.notifications
.
*/
public final TableField NOTIFICATIONS = createField(DSL.name("notifications"), org.jooq.impl.SQLDataType.LONGVARCHAR.nullable(false), this, "");
/**
* The column keel.environment.post_deploy_actions
.
*/
public final TableField POST_DEPLOY_ACTIONS = createField(DSL.name("post_deploy_actions"), org.jooq.impl.SQLDataType.LONGVARCHAR.nullable(false), this, "");
/**
* The column keel.environment.metadata
.
*/
public final TableField METADATA = createField(DSL.name("metadata"), org.jooq.impl.SQLDataType.LONGVARCHAR, this, "");
/**
* Create a keel.environment
table reference
*/
public Environment() {
this(DSL.name("environment"), null);
}
/**
* Create an aliased keel.environment
table reference
*/
public Environment(String alias) {
this(DSL.name(alias), ENVIRONMENT);
}
/**
* Create an aliased keel.environment
table reference
*/
public Environment(Name alias) {
this(alias, ENVIRONMENT);
}
private Environment(Name alias, Table aliased) {
this(alias, aliased, null);
}
private Environment(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public Environment(Table child, ForeignKey key) {
super(child, key, ENVIRONMENT);
}
@Override
public Schema getSchema() {
return Keel.KEEL;
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_ENVIRONMENT_PRIMARY;
}
@Override
public List> getKeys() {
return Arrays.>asList(Keys.KEY_ENVIRONMENT_PRIMARY, Keys.KEY_ENVIRONMENT_ENVIRONMENT_DELIVERY_CONFIG_NAME_IDX);
}
@Override
public List> getReferences() {
return Arrays.>asList(Keys.FK_ENVIRONMENT_DELIVERY_CONFIG);
}
public DeliveryConfig deliveryConfig() {
return new DeliveryConfig(this, Keys.FK_ENVIRONMENT_DELIVERY_CONFIG);
}
@Override
public Environment as(String alias) {
return new Environment(DSL.name(alias), this);
}
@Override
public Environment as(Name alias) {
return new Environment(alias, this);
}
/**
* Rename this table
*/
@Override
public Environment rename(String name) {
return new Environment(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Environment rename(Name name) {
return new Environment(name, null);
}
// -------------------------------------------------------------------------
// Row9 type methods
// -------------------------------------------------------------------------
@Override
public Row9 fieldsRow() {
return (Row9) super.fieldsRow();
}
}