public class CmdInformationRewrite extends Object implements CmdInformation
NO_UPDATE_COUNT| Constructor and Description |
|---|
CmdInformationRewrite(int expectedSize)
Rewrite information objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStats(int updateCount) |
void |
addStats(int updateCount,
long insertId) |
int |
getCurrentStatNumber() |
ResultSet |
getGeneratedKeys(Protocol protocol)
Return GeneratedKeys containing insert ids.
|
int |
getUpdateCount() |
int[] |
getUpdateCounts() |
boolean |
isCurrentUpdateCount() |
boolean |
moreResults() |
public CmdInformationRewrite(int expectedSize)
expectedSize - expected batch size.public void addStats(int updateCount)
addStats in interface CmdInformationpublic void addStats(int updateCount,
long insertId)
addStats in interface CmdInformationpublic int[] getUpdateCounts()
getUpdateCounts in interface CmdInformationpublic int getUpdateCount()
getUpdateCount in interface CmdInformationpublic ResultSet getGeneratedKeys(Protocol protocol)
getGeneratedKeys in interface CmdInformationprotocol - current protocolpublic int getCurrentStatNumber()
getCurrentStatNumber in interface CmdInformationpublic boolean moreResults()
moreResults in interface CmdInformationpublic boolean isCurrentUpdateCount()
isCurrentUpdateCount in interface CmdInformationCopyright © 2016. All rights reserved.