blob: 1e6a04b2d565ba907df3fcc77a6f71b4a46a6a16 [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.falcon.persistence;
/**
* The name of queries to be used as constants accross the packages.
*/
public final class PersistenceConstants {
private PersistenceConstants(){
}
public static final String GET_MONITORED_ENTITY = "GET_MONITORED_ENTITY";
public static final String DELETE_MONITORED_ENTITIES = "DELETE_MONITORED_ENTITIES";
public static final String GET_ALL_MONITORING_ENTITIES_FOR_TYPE = "GET_ALL_MONITORING_ENTITIES_FOR_TYPE";
public static final String GET_ALL_MONITORING_ENTITY = "GET_ALL_MONITORING_ENTITY";
public static final String UPDATE_LAST_MONITORED_TIME = "UPDATE_LAST_MONITORED_TIME";
public static final String GET_PENDING_INSTANCES = "GET_PENDING_INSTANCES";
public static final String GET_PENDING_INSTANCE = "GET_PENDING_INSTANCE";
public static final String DELETE_PENDING_NOMINAL_INSTANCES = "DELETE_PENDING_NOMINAL_INSTANCES";
public static final String DELETE_ALL_PENDING_INSTANCES_FOR_ENTITY = "DELETE_ALL_PENDING_INSTANCES_FOR_ENTITY";
public static final String GET_DATE_FOR_PENDING_INSTANCES = "GET_DATE_FOR_PENDING_INSTANCES";
public static final String GET_ALL_PENDING_INSTANCES = "GET_ALL_PENDING_INSTANCES";
public static final String GET_ENTITY = "GET_ENTITY";
public static final String GET_ENTITY_FOR_STATE = "GET_ENTITY_FOR_STATE";
public static final String UPDATE_ENTITY = "UPDATE_ENTITY";
public static final String GET_ENTITIES_FOR_TYPE = "GET_ENTITIES_FOR_TYPE";
public static final String GET_ENTITIES = "GET_ENTITIES";
public static final String DELETE_ENTITY = "DELETE_ENTITY";
public static final String DELETE_ENTITIES = "DELETE_ENTITIES";
public static final String GET_INSTANCE = "GET_INSTANCE";
public static final String GET_INSTANCE_FOR_EXTERNAL_ID = "GET_INSTANCE_FOR_EXTERNAL_ID";
public static final String DELETE_INSTANCE = "DELETE_INSTANCE";
public static final String DELETE_INSTANCE_FOR_ENTITY = "DELETE_INSTANCE_FOR_ENTITY";
public static final String UPDATE_INSTANCE = "UPDATE_INSTANCE";
public static final String GET_INSTANCES_FOR_ENTITY_CLUSTER = "GET_INSTANCES_FOR_ENTITY_CLUSTER";
public static final String GET_INSTANCES_FOR_ENTITY_CLUSTER_FOR_STATES =
"GET_INSTANCES_FOR_ENTITY_CLUSTER_FOR_STATES";
public static final String GET_INSTANCES_FOR_ENTITY_FOR_STATES = "GET_INSTANCES_FOR_ENTITY_FOR_STATES";
public static final String GET_INSTANCES_FOR_ENTITY_CLUSTER_FOR_STATES_WITH_RANGE =
"GET_INSTANCES_FOR_ENTITY_CLUSTER_FOR_STATES_WITH_RANGE";
public static final String GET_LAST_INSTANCE_FOR_ENTITY_CLUSTER = "GET_LAST_INSTANCE_FOR_ENTITY_CLUSTER";
public static final String DELETE_INSTANCES_TABLE = "DELETE_INSTANCES_TABLE";
public static final String GET_INSTANCE_SUMMARY_BY_STATE_WITH_RANGE = "GET_INSTANCE_SUMMARY_BY_STATE_WITH_RANGE";
public static final String GET_LATEST_INSTANCE_TIME = "GET_LATEST_INSTANCE_TIME";
static final String GET_ENTITY_ALERTS = "GET_ENTITY_ALERTS";
static final String GET_ALL_ENTITY_ALERTS = "GET_ALL_ENTITY_ALERTS";
static final String GET_SLA_HIGH_CANDIDATES = "GET_SLA_HIGH_CANDIDATES";
public static final String UPDATE_SLA_HIGH = "UPDATE_SLA_HIGH";
public static final String GET_ENTITY_ALERT_INSTANCE = "GET_ENTITY_ALERT_INSTANCE";
public static final String DELETE_ENTITY_ALERT_INSTANCE = "DELETE_ENTITY_ALERT_INSTANCE";
public static final String DELETE_BACKLOG_METRIC_INSTANCE = "DELETE_BACKLOG_METRIC_INSTANCE";
public static final String GET_ALL_BACKLOG_INSTANCES = "GET_ALL_BACKLOG_INSTANCES";
public static final String DELETE_ALL_BACKLOG_ENTITY_INSTANCES ="DELETE_ALL_BACKLOG_ENTITY_INSTANCES";
public static final String GET_ALL_EXTENSIONS = "GET_ALL_EXTENSIONS";
public static final String DELETE_EXTENSIONS_OF_TYPE = "DELETE_EXTENSIONS_OF_TYPE";
public static final String DELETE_EXTENSION = "DELETE_EXTENSION";
public static final String GET_EXTENSION = "GET_EXTENSION";
public static final String CHANGE_EXTENSION_STATUS = "CHANGE_EXTENSION_STATUS";
public static final String GET_ALL_EXTENSION_JOBS = "GET_ALL_EXTENSION_JOBS";
public static final String DELETE_EXTENSION_JOB = "DELETE_EXTENSION_JOB";
public static final String GET_EXTENSION_JOB = "GET_EXTENSION_JOB";
public static final String GET_JOBS_FOR_AN_EXTENSION = "GET_JOBS_FOR_AN_EXTENSION";
public static final String GET_ALL_PROCESS_INFO_INSTANCES = "GET_ALL_PROCESS_INFO_INSTANCES";
}