public class UpdateResult extends ModifyQueryResult
isClosed, prepareResult| Constructor and Description |
|---|
UpdateResult(long updateCount,
short warnings,
String message,
long insertId)
Create Update result object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addResult(AbstractQueryResult other)
When using rewrite statement, there can be many insert/update command send to database, according to max_allowed_packet size.
|
ColumnInformation[] |
getColumnInformation() |
long |
getInsertId() |
String |
getMessage() |
ResultSetType |
getResultSetType() |
int |
getRows() |
long |
getUpdateCount() |
short |
getWarnings() |
close, getFailureObject, isClosed, setFailureObjectpublic UpdateResult(long updateCount,
short warnings,
String message,
long insertId)
updateCount - updateCountwarnings - warningsmessage - messageinsertId - insertIdpublic void addResult(AbstractQueryResult other)
addResult in class AbstractQueryResultother - other AbstractQueryResult.public long getUpdateCount()
getUpdateCount in class ModifyQueryResultpublic ResultSetType getResultSetType()
getResultSetType in class AbstractQueryResultpublic short getWarnings()
getWarnings in class AbstractQueryResultpublic String getMessage()
getMessage in class ModifyQueryResultpublic ColumnInformation[] getColumnInformation()
getColumnInformation in class AbstractQueryResultpublic int getRows()
getRows in class AbstractQueryResultpublic long getInsertId()
getInsertId in class ModifyQueryResultCopyright © 2015. All rights reserved.