org.apache.oozie.executor.jpa
Class SLARegistrationQueryExecutor
java.lang.Object
org.apache.oozie.executor.jpa.QueryExecutor<SLARegistrationBean,SLARegistrationQueryExecutor.SLARegQuery>
org.apache.oozie.executor.jpa.SLARegistrationQueryExecutor
public class SLARegistrationQueryExecutor
- extends QueryExecutor<SLARegistrationBean,SLARegistrationQueryExecutor.SLARegQuery>
Query Executor for SLA Event
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static QueryExecutor<SLARegistrationBean,SLARegistrationQueryExecutor.SLARegQuery> getInstance()
getUpdateQuery
public javax.persistence.Query getUpdateQuery(SLARegistrationQueryExecutor.SLARegQuery namedQuery,
SLARegistrationBean bean,
javax.persistence.EntityManager em)
throws JPAExecutorException
- Specified by:
getUpdateQuery in class QueryExecutor<SLARegistrationBean,SLARegistrationQueryExecutor.SLARegQuery>
- Throws:
JPAExecutorException
getSelectQuery
public javax.persistence.Query getSelectQuery(SLARegistrationQueryExecutor.SLARegQuery namedQuery,
javax.persistence.EntityManager em,
Object... parameters)
throws JPAExecutorException
- Specified by:
getSelectQuery in class QueryExecutor<SLARegistrationBean,SLARegistrationQueryExecutor.SLARegQuery>
- Throws:
JPAExecutorException
executeUpdate
public int executeUpdate(SLARegistrationQueryExecutor.SLARegQuery namedQuery,
SLARegistrationBean jobBean)
throws JPAExecutorException
- Specified by:
executeUpdate in class QueryExecutor<SLARegistrationBean,SLARegistrationQueryExecutor.SLARegQuery>
- Throws:
JPAExecutorException
get
public SLARegistrationBean get(SLARegistrationQueryExecutor.SLARegQuery namedQuery,
Object... parameters)
throws JPAExecutorException
- Specified by:
get in class QueryExecutor<SLARegistrationBean,SLARegistrationQueryExecutor.SLARegQuery>
- Throws:
JPAExecutorException
getList
public List<SLARegistrationBean> getList(SLARegistrationQueryExecutor.SLARegQuery namedQuery,
Object... parameters)
throws JPAExecutorException
- Specified by:
getList in class QueryExecutor<SLARegistrationBean,SLARegistrationQueryExecutor.SLARegQuery>
- Throws:
JPAExecutorException
getSingleValue
public Object getSingleValue(SLARegistrationQueryExecutor.SLARegQuery namedQuery,
Object... parameters)
throws JPAExecutorException
- Specified by:
getSingleValue in class QueryExecutor<SLARegistrationBean,SLARegistrationQueryExecutor.SLARegQuery>
- Throws:
JPAExecutorException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.