public class UpdateResult extends AbstractQueryResult
isClosed| Constructor and Description |
|---|
UpdateResult(long updateCount,
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() |
ResultSetType |
getResultSetType() |
int |
getRows() |
long |
getUpdateCount() |
close, isClosedpublic UpdateResult(long updateCount,
long insertId)
updateCount - updateCountinsertId - insertIdpublic void addResult(AbstractQueryResult other)
addResult in class AbstractQueryResultother - other AbstractQueryResult.public long getUpdateCount()
public ResultSetType getResultSetType()
getResultSetType in class AbstractQueryResultpublic ColumnInformation[] getColumnInformation()
getColumnInformation in class AbstractQueryResultpublic int getRows()
getRows in class AbstractQueryResultpublic long getInsertId()
Copyright © 2016. All rights reserved.