public class IntelliDMLConfig extends BatchDMLConfig
BatchDMLConfig.BatchDMLColumnValues
DMLConfig.DMLColumnValues, DMLConfig.SimpleDataModel
限定符和类型 | 字段和说明 |
---|---|
protected DeleteConfig |
deleteConfig |
protected InsertConfig |
insertConfig |
protected java.util.Map |
pstmtMap |
protected UpdateConfig |
updateConfig |
BATCH_SIZE, XML_TAG
columnConfigList, condition, dialect, evaledTable, KEY, P_TAG, submitJobList, table
构造器和说明 |
---|
IntelliDMLConfig() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
closeStatement(java.sql.Connection conn)
关闭对应conn中的statment
|
protected void |
copyConfig(BatchDMLConfig dmlConfig) |
protected int |
dmlSubmit(java.sql.Connection conn,
Calculator ca,
java.lang.Object[] columnValues,
java.util.Map kvMap)
数据和数据库的交互操作
|
protected int |
dmlSubmitBatch(int index,
java.sql.Connection conn,
Calculator ca,
java.lang.Object[] columnValues,
java.util.Map kvMap)
批量提交
|
protected int |
dmlSubmitBatchNew(java.sql.Connection conn,
Calculator ca,
java.util.List<ColumnValuesEntry> columnValuesList) |
protected boolean |
isIgnoreUpdate(Calculator ca) |
calSuccessCount, execute, executeAndFeedback, extractByValues2ColumnBatch, generateColumnValuesEntryMapByWhere, generateWhereNew, getTotalTimes, setColumnConfigList, setSubmitJobList, setTotalTimes
addColumnConfig, addSubmitJob, clearColumnConfigs, clearSubmitJobs, clone, dealWithException, dealWithIllegal, extractByValues2Column, generateWhere, getColumnConfig, getColumnConfigCount, getColumnDefValue, getColumnName, getColumnType, getCondition, getDialect, getOriTable, getRelatedColumnRows, getRelatedColumnRows, getSubmitJob, getSubmitJobCount, getTable, getTable, isUpdateSelected, readXML, setCondition, setDialect, setTable, setUpdateSelected, toString, writeXML
protected InsertConfig insertConfig
protected java.util.Map pstmtMap
protected DeleteConfig deleteConfig
protected UpdateConfig updateConfig
protected int dmlSubmit(java.sql.Connection conn, Calculator ca, java.lang.Object[] columnValues, java.util.Map kvMap)
DMLConfig
protected int dmlSubmitBatch(int index, java.sql.Connection conn, Calculator ca, java.lang.Object[] columnValues, java.util.Map kvMap)
DMLConfig
dmlSubmitBatch
在类中 DMLConfig
index
- 数据索引conn
- 数据连接ca
- 算子columnValues
- 要入库的列的值kvMap
- 插入时是否需要以这个Map里的值填充protected int dmlSubmitBatchNew(java.sql.Connection conn, Calculator ca, java.util.List<ColumnValuesEntry> columnValuesList) throws java.sql.SQLException
dmlSubmitBatchNew
在类中 BatchDMLConfig
java.sql.SQLException
protected boolean isIgnoreUpdate(Calculator ca)
isIgnoreUpdate
在类中 DMLConfig
protected void closeStatement(java.sql.Connection conn) throws java.sql.SQLException
DMLConfig
closeStatement
在类中 DMLConfig
java.sql.SQLException
protected void copyConfig(BatchDMLConfig dmlConfig)