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