org.apache.oozie.executor.jpa
Class BatchQueryExecutor
java.lang.Object
org.apache.oozie.executor.jpa.BatchQueryExecutor
public class BatchQueryExecutor
- extends Object
Query Executor that provides API to run multiple update/insert queries in one
transaction. This guarantees entire change to be rolled back when one of
queries fails.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static BatchQueryExecutor getInstance()
executeBatchInsertUpdateDelete
public void executeBatchInsertUpdateDelete(Collection<JsonBean> insertList,
Collection<BatchQueryExecutor.UpdateEntry> updateList,
Collection<JsonBean> deleteList)
throws JPAExecutorException
- Throws:
JPAExecutorException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.