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.DeliveryConfigLastChecked Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package com.netflix.spinnaker.keel.persistence.metamodel.tables;
import com.netflix.spinnaker.jooq.LocalDateTimeToInstantConverter;
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.DeliveryConfigLastCheckedRecord;
import java.time.Instant;
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.Row4;
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 DeliveryConfigLastChecked extends TableImpl {
private static final long serialVersionUID = -1339879288;
/**
* The reference instance of keel.delivery_config_last_checked
*/
public static final DeliveryConfigLastChecked DELIVERY_CONFIG_LAST_CHECKED = new DeliveryConfigLastChecked();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return DeliveryConfigLastCheckedRecord.class;
}
/**
* The column keel.delivery_config_last_checked.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.delivery_config_last_checked.at
.
*/
public final TableField AT = createField(DSL.name("at"), org.jooq.impl.SQLDataType.LOCALDATETIME.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP(3)", org.jooq.impl.SQLDataType.LOCALDATETIME)), this, "", new LocalDateTimeToInstantConverter());
/**
* The column keel.delivery_config_last_checked.leased_by
.
*/
public final TableField LEASED_BY = createField(DSL.name("leased_by"), org.jooq.impl.SQLDataType.VARCHAR(64), this, "");
/**
* The column keel.delivery_config_last_checked.leased_at
.
*/
public final TableField LEASED_AT = createField(DSL.name("leased_at"), org.jooq.impl.SQLDataType.LOCALDATETIME, this, "", new LocalDateTimeToInstantConverter());
/**
* Create a keel.delivery_config_last_checked
table reference
*/
public DeliveryConfigLastChecked() {
this(DSL.name("delivery_config_last_checked"), null);
}
/**
* Create an aliased keel.delivery_config_last_checked
table reference
*/
public DeliveryConfigLastChecked(String alias) {
this(DSL.name(alias), DELIVERY_CONFIG_LAST_CHECKED);
}
/**
* Create an aliased keel.delivery_config_last_checked
table reference
*/
public DeliveryConfigLastChecked(Name alias) {
this(alias, DELIVERY_CONFIG_LAST_CHECKED);
}
private DeliveryConfigLastChecked(Name alias, Table aliased) {
this(alias, aliased, null);
}
private DeliveryConfigLastChecked(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public DeliveryConfigLastChecked(Table child, ForeignKey key) {
super(child, key, DELIVERY_CONFIG_LAST_CHECKED);
}
@Override
public Schema getSchema() {
return Keel.KEEL;
}
@Override
public List getIndexes() {
return Arrays.asList(Indexes.DELIVERY_CONFIG_LAST_CHECKED_DELIVERY_CONFIG_LAST_CHECKED_AT_LEASED_BY_LEASED_AT_IDX);
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_DELIVERY_CONFIG_LAST_CHECKED_PRIMARY;
}
@Override
public List> getKeys() {
return Arrays.>asList(Keys.KEY_DELIVERY_CONFIG_LAST_CHECKED_PRIMARY);
}
@Override
public List> getReferences() {
return Arrays.>asList(Keys.FK_DELIVERY_CONFIG_LAST_CHECKED_DELIVERY_CONFIG);
}
public DeliveryConfig deliveryConfig() {
return new DeliveryConfig(this, Keys.FK_DELIVERY_CONFIG_LAST_CHECKED_DELIVERY_CONFIG);
}
@Override
public DeliveryConfigLastChecked as(String alias) {
return new DeliveryConfigLastChecked(DSL.name(alias), this);
}
@Override
public DeliveryConfigLastChecked as(Name alias) {
return new DeliveryConfigLastChecked(alias, this);
}
/**
* Rename this table
*/
@Override
public DeliveryConfigLastChecked rename(String name) {
return new DeliveryConfigLastChecked(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public DeliveryConfigLastChecked rename(Name name) {
return new DeliveryConfigLastChecked(name, null);
}
// -------------------------------------------------------------------------
// Row4 type methods
// -------------------------------------------------------------------------
@Override
public Row4 fieldsRow() {
return (Row4) super.fieldsRow();
}
}