public class CmdInformationBatch extends Object implements CmdInformation
RESULT_SET_VALUE| 构造器和说明 |
|---|
CmdInformationBatch(int expectedSize,
int autoIncrement)
CmdInformationBatch is similar to CmdInformationMultiple, but knowing it's for batch, doesn't
take take of moreResult.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addErrorStat() |
void |
addResultSetStat() |
void |
addSuccessStat(long updateCount,
long insertId) |
void |
addSuccessStat(long updateCount,
long insertId,
boolean containOnDuplicateKey,
String serverInfo) |
ResultSet |
getBatchGeneratedKeys(Protocol protocol) |
int |
getCurrentStatNumber() |
ResultSet |
getGeneratedKeys(Protocol protocol,
String sql)
Return GeneratedKeys containing insert ids.
|
long |
getLargeUpdateCount() |
long[] |
getLargeUpdateCounts() |
boolean |
getRewrite() |
String |
getServerInfo() |
int[] |
getServerUpdateCounts() |
int |
getUpdateCount() |
int[] |
getUpdateCounts() |
boolean |
isCurrentUpdateCount() |
boolean |
moreResults() |
void |
reset()
Clear error state, used for clear exception after first batch query, when fall back to
per-query execution.
|
void |
setRewrite(boolean rewritten) |
public CmdInformationBatch(int expectedSize,
int autoIncrement)
expectedSize - expected batch size.autoIncrement - connection auto increment value.public void addErrorStat()
addErrorStat 在接口中 CmdInformationpublic void reset()
reset 在接口中 CmdInformationpublic void addResultSetStat()
addResultSetStat 在接口中 CmdInformationpublic void addSuccessStat(long updateCount,
long insertId)
addSuccessStat 在接口中 CmdInformationpublic void addSuccessStat(long updateCount,
long insertId,
boolean containOnDuplicateKey,
String serverInfo)
addSuccessStat 在接口中 CmdInformationpublic int[] getUpdateCounts()
getUpdateCounts 在接口中 CmdInformationpublic int[] getServerUpdateCounts()
getServerUpdateCounts 在接口中 CmdInformationpublic long[] getLargeUpdateCounts()
getLargeUpdateCounts 在接口中 CmdInformationpublic int getUpdateCount()
getUpdateCount 在接口中 CmdInformationpublic long getLargeUpdateCount()
getLargeUpdateCount 在接口中 CmdInformationpublic String getServerInfo()
getServerInfo 在接口中 CmdInformationpublic ResultSet getBatchGeneratedKeys(Protocol protocol)
getBatchGeneratedKeys 在接口中 CmdInformationpublic ResultSet getGeneratedKeys(Protocol protocol, String sql)
getGeneratedKeys 在接口中 CmdInformationprotocol - current protocolsql - SQL commandpublic int getCurrentStatNumber()
getCurrentStatNumber 在接口中 CmdInformationpublic boolean moreResults()
moreResults 在接口中 CmdInformationpublic boolean isCurrentUpdateCount()
isCurrentUpdateCount 在接口中 CmdInformationpublic void setRewrite(boolean rewritten)
setRewrite 在接口中 CmdInformationpublic boolean getRewrite()
getRewrite 在接口中 CmdInformationCopyright © 2024 oceanbase.com. All rights reserved.