public abstract class AbstractBatchService extends Object implements BatchService
| 构造器和说明 |
|---|
AbstractBatchService() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteprotected RuleProcessor getRuleProcessor()
protected boolean beforeExecute(BatchContext context)
public void rollbackConnection(Connection conn)
public void closeConnection(Connection conn)
protected int getPageSize(Batch batchData)
protected Map<String,BatchItemResult> prepareItemResult(BatchDataResolver resolver)
public int getTotleRows(BatchDataProvider dataProvider) throws Exception
Exceptionpublic List<com.bstek.urule.model.GeneralEntity> loadDatas(Connection loadConnection, BatchContext context, int pageIndex) throws Exception
Exceptionprotected int sumFilterCount(BatchResult batchResult, Map<Integer,Integer> filterCountMap)
protected void sumFilterCount(BatchResult batchResult, List<BatchResult> subResults)
protected void sumSubResults(Batch batch, BatchResult batchResult, Map<Integer,Map<String,BatchItemResult>> subResults)
protected void sumSubResults(Batch batch, BatchResult batchResult, List<BatchResult> subResults)
public DataSource getReadDataSource(Batch batch) throws Exception
Exceptionpublic DataSource getWriteDataSource(Batch batch) throws Exception
Exceptionpublic BatchStatus getBatchStatus(Long batchId)
Copyright © 2023 Bstek. All rights reserved.