public class CmdInformationSingle extends Object implements CmdInformation
NO_UPDATE_COUNT
Constructor and Description |
---|
CmdInformationSingle(long insertId,
int updateCount) |
Modifier and Type | Method and Description |
---|---|
void |
addStats(int updateCount) |
void |
addStats(int updateCount,
long insertId) |
int |
getCurrentStatNumber() |
ResultSet |
getGeneratedKeys(Protocol protocol)
Get generated Keys.
|
int |
getUpdateCount() |
int[] |
getUpdateCounts() |
boolean |
isCurrentUpdateCount() |
boolean |
moreResults() |
public int[] getUpdateCounts()
getUpdateCounts
in interface CmdInformation
public int getUpdateCount()
getUpdateCount
in interface CmdInformation
public void addStats(int updateCount, long insertId)
addStats
in interface CmdInformation
public void addStats(int updateCount)
addStats
in interface CmdInformation
public ResultSet getGeneratedKeys(Protocol protocol)
getGeneratedKeys
in interface CmdInformation
protocol
- current protocolpublic int getCurrentStatNumber()
getCurrentStatNumber
in interface CmdInformation
public boolean moreResults()
moreResults
in interface CmdInformation
public boolean isCurrentUpdateCount()
isCurrentUpdateCount
in interface CmdInformation
Copyright © 2016. All rights reserved.