public class HiveTranService extends AbstractBatchService
| 构造器和说明 |
|---|
HiveTranService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(BatchContext batchContext) |
void |
executeByPage(BatchContext batchContext) |
protected void |
executeSingleRecord(BatchContext batchContext,
Map<String,Object> stmtMap,
com.bstek.urule.model.GeneralEntity data,
Map<String,BatchItemResult> resultMap) |
protected void |
executeSqlBatchs(Statement stmt,
Map<String,Object> stmtMap,
BatchDataResolver dataResolver,
Map<String,BatchItemResult> resultMap,
boolean forceCommit) |
void |
executeTotal(BatchContext batchContext) |
protected Map<String,Object> |
prepareStmts(BatchDataResolver resolver) |
protected void |
sumWriterCount(Batch batch,
BatchResult batchResult,
Map<String,BatchItemResult> writerResults) |
beforeExecute, closeConnection, getBatchStatus, getPageSize, getReadDataSource, getRuleProcessor, getTotleRows, getWriteDataSource, loadDatas, prepareItemResult, rollbackConnection, sumFilterCount, sumFilterCount, sumSubResults, sumSubResultsprotected void executeSingleRecord(BatchContext batchContext, Map<String,Object> stmtMap, com.bstek.urule.model.GeneralEntity data, Map<String,BatchItemResult> resultMap) throws Exception
Exceptionpublic void execute(BatchContext batchContext)
public void executeByPage(BatchContext batchContext)
protected Map<String,Object> prepareStmts(BatchDataResolver resolver) throws SQLException
SQLExceptionprotected void executeSqlBatchs(Statement stmt, Map<String,Object> stmtMap, BatchDataResolver dataResolver, Map<String,BatchItemResult> resultMap, boolean forceCommit) throws SQLException
SQLExceptionpublic void executeTotal(BatchContext batchContext)
protected void sumWriterCount(Batch batch, BatchResult batchResult, Map<String,BatchItemResult> writerResults)
Copyright © 2023 Bstek. All rights reserved.