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.DeliveryConfig Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package com.netflix.spinnaker.keel.persistence.metamodel.tables;
import com.netflix.spinnaker.jooq.JsonToMapConverter;
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.DeliveryConfigRecord;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Row7;
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 DeliveryConfig extends TableImpl {
private static final long serialVersionUID = 1302625546;
/**
* The reference instance of keel.delivery_config
*/
public static final DeliveryConfig DELIVERY_CONFIG = new DeliveryConfig();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return DeliveryConfigRecord.class;
}
/**
* The column keel.delivery_config.uid
.
*/
public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* The column keel.delivery_config.name
.
*/
public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.delivery_config.application
.
*/
public final TableField APPLICATION = createField(DSL.name("application"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.delivery_config.service_account
.
*/
public final TableField SERVICE_ACCOUNT = createField(DSL.name("service_account"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.delivery_config.api_version
.
*/
public final TableField API_VERSION = createField(DSL.name("api_version"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false).defaultValue(org.jooq.impl.DSL.inline("delivery.config.spinnaker.netflix.com/v1", org.jooq.impl.SQLDataType.VARCHAR)), this, "");
/**
* The column keel.delivery_config.metadata
.
*/
public final TableField> METADATA = createField(DSL.name("metadata"), org.jooq.impl.SQLDataType.JSON, this, "", new JsonToMapConverter());
/**
* The column keel.delivery_config.raw_config
.
*/
public final TableField RAW_CONFIG = createField(DSL.name("raw_config"), org.jooq.impl.SQLDataType.CLOB, this, "");
/**
* Create a keel.delivery_config
table reference
*/
public DeliveryConfig() {
this(DSL.name("delivery_config"), null);
}
/**
* Create an aliased keel.delivery_config
table reference
*/
public DeliveryConfig(String alias) {
this(DSL.name(alias), DELIVERY_CONFIG);
}
/**
* Create an aliased keel.delivery_config
table reference
*/
public DeliveryConfig(Name alias) {
this(alias, DELIVERY_CONFIG);
}
private DeliveryConfig(Name alias, Table aliased) {
this(alias, aliased, null);
}
private DeliveryConfig(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public DeliveryConfig(Table child, ForeignKey key) {
super(child, key, DELIVERY_CONFIG);
}
@Override
public Schema getSchema() {
return Keel.KEEL;
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_DELIVERY_CONFIG_PRIMARY;
}
@Override
public List> getKeys() {
return Arrays.>asList(Keys.KEY_DELIVERY_CONFIG_PRIMARY, Keys.KEY_DELIVERY_CONFIG_NAME, Keys.KEY_DELIVERY_CONFIG_DELIVERY_CONFIG_APPLICATION_IDX);
}
@Override
public DeliveryConfig as(String alias) {
return new DeliveryConfig(DSL.name(alias), this);
}
@Override
public DeliveryConfig as(Name alias) {
return new DeliveryConfig(alias, this);
}
/**
* Rename this table
*/
@Override
public DeliveryConfig rename(String name) {
return new DeliveryConfig(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public DeliveryConfig rename(Name name) {
return new DeliveryConfig(name, null);
}
// -------------------------------------------------------------------------
// Row7 type methods
// -------------------------------------------------------------------------
@Override
public Row7, String> fieldsRow() {
return (Row7) super.fieldsRow();
}
}