public class CmdInformationSingle extends Object implements CmdInformation
RESULT_SET_VALUE| 构造器和说明 |
|---|
CmdInformationSingle(long insertId,
long updateCount,
int autoIncrement)
Object containing update / insert ids, optimized for only one result.
|
CmdInformationSingle(long insertId,
long updateCount,
int autoIncrement,
String serverInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
Get generated Keys.
|
long |
getInsertId() |
long |
getLargeUpdateCount() |
long[] |
getLargeUpdateCounts() |
boolean |
getRewrite() |
String |
getServerInfo() |
int[] |
getServerUpdateCounts() |
int |
getUpdateCount() |
int[] |
getUpdateCounts() |
boolean |
isCurrentUpdateCount() |
boolean |
moreResults() |
void |
reset() |
void |
setRewrite(boolean rewritten) |
public CmdInformationSingle(long insertId,
long updateCount,
int autoIncrement)
insertId - auto generated id.updateCount - update countautoIncrement - connection auto increment value.public CmdInformationSingle(long insertId,
long updateCount,
int autoIncrement,
String serverInfo)
public long getInsertId()
public int[] getUpdateCounts()
getUpdateCounts 在接口中 CmdInformationpublic int[] getServerUpdateCounts()
getServerUpdateCounts 在接口中 CmdInformationpublic long[] getLargeUpdateCounts()
getLargeUpdateCounts 在接口中 CmdInformationpublic int getUpdateCount()
getUpdateCount 在接口中 CmdInformationpublic long getLargeUpdateCount()
getLargeUpdateCount 在接口中 CmdInformationpublic String getServerInfo()
getServerInfo 在接口中 CmdInformationpublic void addErrorStat()
addErrorStat 在接口中 CmdInformationpublic void reset()
reset 在接口中 CmdInformationpublic void addResultSetStat()
addResultSetStat 在接口中 CmdInformationpublic ResultSet getGeneratedKeys(Protocol protocol, String sql)
getGeneratedKeys 在接口中 CmdInformationprotocol - current protocolsql - SQL commandpublic ResultSet getBatchGeneratedKeys(Protocol protocol)
getBatchGeneratedKeys 在接口中 CmdInformationpublic int getCurrentStatNumber()
getCurrentStatNumber 在接口中 CmdInformationpublic boolean moreResults()
moreResults 在接口中 CmdInformationpublic boolean isCurrentUpdateCount()
isCurrentUpdateCount 在接口中 CmdInformationpublic void addSuccessStat(long updateCount,
long insertId)
addSuccessStat 在接口中 CmdInformationpublic void addSuccessStat(long updateCount,
long insertId,
boolean containOnDuplicateKey,
String serverInfo)
addSuccessStat 在接口中 CmdInformationpublic void setRewrite(boolean rewritten)
setRewrite 在接口中 CmdInformationpublic boolean getRewrite()
getRewrite 在接口中 CmdInformationCopyright © 2024 oceanbase.com. All rights reserved.