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.DeliveryArtifact Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package com.netflix.spinnaker.keel.persistence.metamodel.tables;
import com.netflix.spinnaker.keel.persistence.metamodel.Indexes;
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.DeliveryArtifactRecord;
import java.util.Arrays;
import java.util.List;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Index;
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 DeliveryArtifact extends TableImpl {
private static final long serialVersionUID = -434889384;
/**
* The reference instance of keel.delivery_artifact
*/
public static final DeliveryArtifact DELIVERY_ARTIFACT = new DeliveryArtifact();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return DeliveryArtifactRecord.class;
}
/**
* The column keel.delivery_artifact.uid
.
*/
public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* The column keel.delivery_artifact.fingerprint
.
*/
public final TableField FINGERPRINT = createField(DSL.name("fingerprint"), org.jooq.impl.SQLDataType.CHAR(40).nullable(false), this, "");
/**
* The column keel.delivery_artifact.name
.
*/
public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.delivery_artifact.type
.
*/
public final TableField TYPE = createField(DSL.name("type"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.delivery_artifact.delivery_config_name
.
*/
public final TableField DELIVERY_CONFIG_NAME = createField(DSL.name("delivery_config_name"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.delivery_artifact.reference
.
*/
public final TableField REFERENCE = createField(DSL.name("reference"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.delivery_artifact.details
.
*/
public final TableField DETAILS = createField(DSL.name("details"), org.jooq.impl.SQLDataType.LONGVARCHAR, this, "");
/**
* Create a keel.delivery_artifact
table reference
*/
public DeliveryArtifact() {
this(DSL.name("delivery_artifact"), null);
}
/**
* Create an aliased keel.delivery_artifact
table reference
*/
public DeliveryArtifact(String alias) {
this(DSL.name(alias), DELIVERY_ARTIFACT);
}
/**
* Create an aliased keel.delivery_artifact
table reference
*/
public DeliveryArtifact(Name alias) {
this(alias, DELIVERY_ARTIFACT);
}
private DeliveryArtifact(Name alias, Table aliased) {
this(alias, aliased, null);
}
private DeliveryArtifact(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public DeliveryArtifact(Table child, ForeignKey key) {
super(child, key, DELIVERY_ARTIFACT);
}
@Override
public Schema getSchema() {
return Keel.KEEL;
}
@Override
public List getIndexes() {
return Arrays.asList(Indexes.DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_NAME_TYPE_IDX);
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_DELIVERY_ARTIFACT_PRIMARY;
}
@Override
public List> getKeys() {
return Arrays.>asList(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, Keys.KEY_DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_FINGERPRINT_IDX, Keys.KEY_DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_BYREF_IDX);
}
@Override
public DeliveryArtifact as(String alias) {
return new DeliveryArtifact(DSL.name(alias), this);
}
@Override
public DeliveryArtifact as(Name alias) {
return new DeliveryArtifact(alias, this);
}
/**
* Rename this table
*/
@Override
public DeliveryArtifact rename(String name) {
return new DeliveryArtifact(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public DeliveryArtifact rename(Name name) {
return new DeliveryArtifact(name, null);
}
// -------------------------------------------------------------------------
// Row7 type methods
// -------------------------------------------------------------------------
@Override
public Row7 fieldsRow() {
return (Row7) super.fieldsRow();
}
}