All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.spinnaker.keel.persistence.metamodel.Indexes Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
/*
 * This file is generated by jOOQ.
 */
package com.netflix.spinnaker.keel.persistence.metamodel;


import com.netflix.spinnaker.keel.persistence.metamodel.tables.ArtifactLastChecked;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.ArtifactVersions;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.CurrentConstraint;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.DeliveryArtifact;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.DeliveryConfigLastChecked;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.DismissibleNotification;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentArtifactConstraint;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentArtifactQueuedApproval;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentArtifactVersions;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentDeletion;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentLease;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.Event;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.LifecycleEvent;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.LifecycleMonitor;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.Resource;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.ResourceLastChecked;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.WorkQueue;

import javax.annotation.processing.Generated;

import org.jooq.Index;
import org.jooq.OrderField;
import org.jooq.impl.Internal;


/**
 * A class modelling indexes of tables of the keel schema.
 */
@Generated(
    value = {
        "https://www.jooq.org",
        "jOOQ version:3.13.6"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Indexes {

    // -------------------------------------------------------------------------
    // INDEX definitions
    // -------------------------------------------------------------------------

    public static final Index ARTIFACT_LAST_CHECKED_ARTIFACT_LAST_CHECKED_AT_IDX = Indexes0.ARTIFACT_LAST_CHECKED_ARTIFACT_LAST_CHECKED_AT_IDX;
    public static final Index ARTIFACT_VERSIONS_ARTIFACT_VERSIONS_NAME_TYPE_VERSION_RELEASE_STATUS_IDX = Indexes0.ARTIFACT_VERSIONS_ARTIFACT_VERSIONS_NAME_TYPE_VERSION_RELEASE_STATUS_IDX;
    public static final Index CURRENT_CONSTRAINT_CURRENT_CONSTRAINT_UID_IDX = Indexes0.CURRENT_CONSTRAINT_CURRENT_CONSTRAINT_UID_IDX;
    public static final Index DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_NAME_TYPE_IDX = Indexes0.DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_NAME_TYPE_IDX;
    public static final Index DELIVERY_CONFIG_LAST_CHECKED_DELIVERY_CONFIG_LAST_CHECKED_AT_LEASED_BY_LEASED_AT_IDX = Indexes0.DELIVERY_CONFIG_LAST_CHECKED_DELIVERY_CONFIG_LAST_CHECKED_AT_LEASED_BY_LEASED_AT_IDX;
    public static final Index DISMISSIBLE_NOTIFICATION_DISMISSIBLE_NOTIFICATION_APPLICATION_IDX = Indexes0.DISMISSIBLE_NOTIFICATION_DISMISSIBLE_NOTIFICATION_APPLICATION_IDX;
    public static final Index DISMISSIBLE_NOTIFICATION_DISMISSIBLE_NOTIFICATION_UID_TRIGGERED_AT_IS_ACTIVE_IDX = Indexes0.DISMISSIBLE_NOTIFICATION_DISMISSIBLE_NOTIFICATION_UID_TRIGGERED_AT_IS_ACTIVE_IDX;
    public static final Index ENVIRONMENT_ARTIFACT_VERSIONS_EAV_STATUS_IDX = Indexes0.ENVIRONMENT_ARTIFACT_VERSIONS_EAV_STATUS_IDX;
    public static final Index ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL_ENV_ARTIFACT_REFERENCE_IDX = Indexes0.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL_ENV_ARTIFACT_REFERENCE_IDX;
    public static final Index ENVIRONMENT_ARTIFACT_CONSTRAINT_ENV_VERSION_REFERENCE_IDX = Indexes0.ENVIRONMENT_ARTIFACT_CONSTRAINT_ENV_VERSION_REFERENCE_IDX;
    public static final Index ENVIRONMENT_ARTIFACT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT_JUDGED_AT_IDX = Indexes0.ENVIRONMENT_ARTIFACT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT_JUDGED_AT_IDX;
    public static final Index ENVIRONMENT_ARTIFACT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT_UID_STATUS_IDX = Indexes0.ENVIRONMENT_ARTIFACT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT_UID_STATUS_IDX;
    public static final Index ENVIRONMENT_ARTIFACT_VERSIONS_ENVIRONMENT_ARTIFACT_VERSIONS_APPROVED_AT_IDX = Indexes0.ENVIRONMENT_ARTIFACT_VERSIONS_ENVIRONMENT_ARTIFACT_VERSIONS_APPROVED_AT_IDX;
    public static final Index ENVIRONMENT_ARTIFACT_VERSIONS_ENVIRONMENT_ARTIFACT_VERSIONS_DEPLOYED_AT_IDX = Indexes0.ENVIRONMENT_ARTIFACT_VERSIONS_ENVIRONMENT_ARTIFACT_VERSIONS_DEPLOYED_AT_IDX;
    public static final Index ENVIRONMENT_DELETION_ENVIRONMENT_DELETION_LAST_CHECKED_AT_IDX = Indexes0.ENVIRONMENT_DELETION_ENVIRONMENT_DELETION_LAST_CHECKED_AT_IDX;
    public static final Index ENVIRONMENT_LEASE_ENVIRONMENT_LEASE_ENVIRONMENT_UID_IDX = Indexes0.ENVIRONMENT_LEASE_ENVIRONMENT_LEASE_ENVIRONMENT_UID_IDX;
    public static final Index EVENT_EVENT_SCOPE_APPLICATION_TIMESTAMP_IDX = Indexes0.EVENT_EVENT_SCOPE_APPLICATION_TIMESTAMP_IDX;
    public static final Index EVENT_EVENT_SCOPE_REF_TIMESTAMP_IDX = Indexes0.EVENT_EVENT_SCOPE_REF_TIMESTAMP_IDX;
    public static final Index EVENT_EVENT_UID_TIMESTAMP_IDX = Indexes0.EVENT_EVENT_UID_TIMESTAMP_IDX;
    public static final Index LIFECYCLE_MONITOR_LIFECYCLE_MONITOR_TYPE_LAST_CHECKED_IDX = Indexes0.LIFECYCLE_MONITOR_LIFECYCLE_MONITOR_TYPE_LAST_CHECKED_IDX;
    public static final Index LIFECYCLE_EVENT_LIFECYCLE_REF_VERSION_IDX = Indexes0.LIFECYCLE_EVENT_LIFECYCLE_REF_VERSION_IDX;
    public static final Index RESOURCE_RESOURCE_APPLICATION_IDX = Indexes0.RESOURCE_RESOURCE_APPLICATION_IDX;
    public static final Index RESOURCE_LAST_CHECKED_RESOURCE_LAST_CHECKED_AT_IDX = Indexes0.RESOURCE_LAST_CHECKED_RESOURCE_LAST_CHECKED_AT_IDX;
    public static final Index WORK_QUEUE_WORK_QUEUE_FIRST_SEEN_TYPE_IDX = Indexes0.WORK_QUEUE_WORK_QUEUE_FIRST_SEEN_TYPE_IDX;

    // -------------------------------------------------------------------------
    // [#1459] distribute members to avoid static initialisers > 64kb
    // -------------------------------------------------------------------------

    private static class Indexes0 {
        public static Index ARTIFACT_LAST_CHECKED_ARTIFACT_LAST_CHECKED_AT_IDX = Internal.createIndex("artifact_last_checked_at_idx", ArtifactLastChecked.ARTIFACT_LAST_CHECKED, new OrderField[] { ArtifactLastChecked.ARTIFACT_LAST_CHECKED.AT }, false);
        public static Index ARTIFACT_VERSIONS_ARTIFACT_VERSIONS_NAME_TYPE_VERSION_RELEASE_STATUS_IDX = Internal.createIndex("artifact_versions_name_type_version_release_status_idx", ArtifactVersions.ARTIFACT_VERSIONS, new OrderField[] { ArtifactVersions.ARTIFACT_VERSIONS.NAME, ArtifactVersions.ARTIFACT_VERSIONS.TYPE, ArtifactVersions.ARTIFACT_VERSIONS.RELEASE_STATUS }, false);
        public static Index CURRENT_CONSTRAINT_CURRENT_CONSTRAINT_UID_IDX = Internal.createIndex("current_constraint_uid_idx", CurrentConstraint.CURRENT_CONSTRAINT, new OrderField[] { CurrentConstraint.CURRENT_CONSTRAINT.CONSTRAINT_UID }, false);
        public static Index DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_NAME_TYPE_IDX = Internal.createIndex("delivery_artifact_name_type_idx", DeliveryArtifact.DELIVERY_ARTIFACT, new OrderField[] { DeliveryArtifact.DELIVERY_ARTIFACT.NAME, DeliveryArtifact.DELIVERY_ARTIFACT.TYPE }, false);
        public static Index DELIVERY_CONFIG_LAST_CHECKED_DELIVERY_CONFIG_LAST_CHECKED_AT_LEASED_BY_LEASED_AT_IDX = Internal.createIndex("delivery_config_last_checked_at_leased_by_leased_at_idx", DeliveryConfigLastChecked.DELIVERY_CONFIG_LAST_CHECKED, new OrderField[] { DeliveryConfigLastChecked.DELIVERY_CONFIG_LAST_CHECKED.AT, DeliveryConfigLastChecked.DELIVERY_CONFIG_LAST_CHECKED.LEASED_BY, DeliveryConfigLastChecked.DELIVERY_CONFIG_LAST_CHECKED.LEASED_AT }, false);
        public static Index DISMISSIBLE_NOTIFICATION_DISMISSIBLE_NOTIFICATION_APPLICATION_IDX = Internal.createIndex("dismissible_notification_application_idx", DismissibleNotification.DISMISSIBLE_NOTIFICATION, new OrderField[] { DismissibleNotification.DISMISSIBLE_NOTIFICATION.APPLICATION }, false);
        public static Index DISMISSIBLE_NOTIFICATION_DISMISSIBLE_NOTIFICATION_UID_TRIGGERED_AT_IS_ACTIVE_IDX = Internal.createIndex("dismissible_notification_uid_triggered_at_is_active_idx", DismissibleNotification.DISMISSIBLE_NOTIFICATION, new OrderField[] { DismissibleNotification.DISMISSIBLE_NOTIFICATION.UID, DismissibleNotification.DISMISSIBLE_NOTIFICATION.TRIGGERED_AT, DismissibleNotification.DISMISSIBLE_NOTIFICATION.IS_ACTIVE }, false);
        public static Index ENVIRONMENT_ARTIFACT_VERSIONS_EAV_STATUS_IDX = Internal.createIndex("eav_status_idx", EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS, new OrderField[] { EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS.PROMOTION_STATUS }, false);
        public static Index ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL_ENV_ARTIFACT_REFERENCE_IDX = Internal.createIndex("env_artifact_reference_idx", EnvironmentArtifactQueuedApproval.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL, new OrderField[] { EnvironmentArtifactQueuedApproval.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL.ENVIRONMENT_UID, EnvironmentArtifactQueuedApproval.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL.ARTIFACT_VERSION, EnvironmentArtifactQueuedApproval.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL.ARTIFACT_REFERENCE }, false);
        public static Index ENVIRONMENT_ARTIFACT_CONSTRAINT_ENV_VERSION_REFERENCE_IDX = Internal.createIndex("env_version_reference_idx", EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT, new OrderField[] { EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.ENVIRONMENT_UID, EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.ARTIFACT_VERSION, EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.ARTIFACT_REFERENCE }, false);
        public static Index ENVIRONMENT_ARTIFACT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT_JUDGED_AT_IDX = Internal.createIndex("environment_artifact_constraint_judged_at_idx", EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT, new OrderField[] { EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.JUDGED_AT }, false);
        public static Index ENVIRONMENT_ARTIFACT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT_UID_STATUS_IDX = Internal.createIndex("environment_artifact_constraint_uid_status_idx", EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT, new OrderField[] { EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.ENVIRONMENT_UID, EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.STATUS }, false);
        public static Index ENVIRONMENT_ARTIFACT_VERSIONS_ENVIRONMENT_ARTIFACT_VERSIONS_APPROVED_AT_IDX = Internal.createIndex("environment_artifact_versions_approved_at_idx", EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS, new OrderField[] { EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS.APPROVED_AT }, false);
        public static Index ENVIRONMENT_ARTIFACT_VERSIONS_ENVIRONMENT_ARTIFACT_VERSIONS_DEPLOYED_AT_IDX = Internal.createIndex("environment_artifact_versions_deployed_at_idx", EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS, new OrderField[] { EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS.DEPLOYED_AT }, false);
        public static Index ENVIRONMENT_DELETION_ENVIRONMENT_DELETION_LAST_CHECKED_AT_IDX = Internal.createIndex("environment_deletion_last_checked_at_idx", EnvironmentDeletion.ENVIRONMENT_DELETION, new OrderField[] { EnvironmentDeletion.ENVIRONMENT_DELETION.LAST_CHECKED_AT }, false);
        public static Index ENVIRONMENT_LEASE_ENVIRONMENT_LEASE_ENVIRONMENT_UID_IDX = Internal.createIndex("environment_lease_environment_uid_idx", EnvironmentLease.ENVIRONMENT_LEASE, new OrderField[] { EnvironmentLease.ENVIRONMENT_LEASE.ENVIRONMENT_UID }, false);
        public static Index EVENT_EVENT_SCOPE_APPLICATION_TIMESTAMP_IDX = Internal.createIndex("event_scope_application_timestamp_idx", Event.EVENT, new OrderField[] { Event.EVENT.SCOPE, Event.EVENT.APPLICATION, Event.EVENT.TIMESTAMP }, false);
        public static Index EVENT_EVENT_SCOPE_REF_TIMESTAMP_IDX = Internal.createIndex("event_scope_ref_timestamp_idx", Event.EVENT, new OrderField[] { Event.EVENT.SCOPE, Event.EVENT.REF, Event.EVENT.TIMESTAMP }, false);
        public static Index EVENT_EVENT_UID_TIMESTAMP_IDX = Internal.createIndex("event_uid_timestamp_idx", Event.EVENT, new OrderField[] { Event.EVENT.UID, Event.EVENT.TIMESTAMP }, false);
        public static Index LIFECYCLE_MONITOR_LIFECYCLE_MONITOR_TYPE_LAST_CHECKED_IDX = Internal.createIndex("lifecycle_monitor_type_last_checked_idx", LifecycleMonitor.LIFECYCLE_MONITOR, new OrderField[] { LifecycleMonitor.LIFECYCLE_MONITOR.TYPE, LifecycleMonitor.LIFECYCLE_MONITOR.LAST_CHECKED }, false);
        public static Index LIFECYCLE_EVENT_LIFECYCLE_REF_VERSION_IDX = Internal.createIndex("lifecycle_ref_version_idx", LifecycleEvent.LIFECYCLE_EVENT, new OrderField[] { LifecycleEvent.LIFECYCLE_EVENT.ARTIFACT_VERSION }, false);
        public static Index RESOURCE_RESOURCE_APPLICATION_IDX = Internal.createIndex("resource_application_idx", Resource.RESOURCE, new OrderField[] { Resource.RESOURCE.APPLICATION }, false);
        public static Index RESOURCE_LAST_CHECKED_RESOURCE_LAST_CHECKED_AT_IDX = Internal.createIndex("resource_last_checked_at_idx", ResourceLastChecked.RESOURCE_LAST_CHECKED, new OrderField[] { ResourceLastChecked.RESOURCE_LAST_CHECKED.AT }, false);
        public static Index WORK_QUEUE_WORK_QUEUE_FIRST_SEEN_TYPE_IDX = Internal.createIndex("work_queue_first_seen_type_idx", WorkQueue.WORK_QUEUE, new OrderField[] { WorkQueue.WORK_QUEUE.FIRST_SEEN, WorkQueue.WORK_QUEUE.TYPE }, false);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy