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, setFailureObject
public UpdateResult(long updateCount, short warnings, String message, long insertId)
updateCount
- updateCountwarnings
- warningsmessage
- messageinsertId
- insertIdpublic void addResult(AbstractQueryResult other)
addResult
in class AbstractQueryResult
other
- other AbstractQueryResult.public long getUpdateCount()
getUpdateCount
in class ModifyQueryResult
public ResultSetType getResultSetType()
getResultSetType
in class AbstractQueryResult
public short getWarnings()
getWarnings
in class AbstractQueryResult
public String getMessage()
getMessage
in class ModifyQueryResult
public ColumnInformation[] getColumnInformation()
getColumnInformation
in class AbstractQueryResult
public int getRows()
getRows
in class AbstractQueryResult
public long getInsertId()
getInsertId
in class ModifyQueryResult
Copyright © 2016. All rights reserved.