| /** |
| * 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_MONITERED_INSTANCE = "GET_MONITERED_INSTANCE"; |
| public static final String DELETE_MONITORED_INSTANCES = "DELETE_MONITORED_INSTANCES"; |
| public static final String GET_ALL_MONITORING_ENTITY_FOR_TYPE = "GET_ALL_MONITORING_ENTITY_FOR_TYPE"; |
| 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_INSTANCES_FOR_ENTITY = "DELETE_ALL_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"; |
| public static final String GET_ENTITY_ALERTS = "GET_ENTITY_ALERTS"; |
| public static final String GET_ALL_ENTITY_ALERTS = "GET_ALL_ENTITY_ALERTS"; |
| public 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 GET_ALL_MONITORING_ENTITY = "GET_ALL_MONITORING_ENTITY"; |
| } |