public class UpdateResult extends java.lang.Object implements Result
Modifier and Type | Field and Description |
---|---|
protected StatementExecuteOk |
ok |
Constructor and Description |
---|
UpdateResult(StatementExecuteOk ok)
Create a new result.
|
Modifier and Type | Method and Description |
---|---|
long |
getAffectedItemsCount()
Get the count of affected items from manipulation statements.
|
java.util.Iterator<Warning> |
getWarnings()
Get warnings generated during statement execution.
|
int |
getWarningsCount()
Get the number of warnings generated during statement execution.
|
protected StatementExecuteOk ok
public UpdateResult(StatementExecuteOk ok)
ok
- the response from the serverpublic long getAffectedItemsCount()
Result
getAffectedItemsCount
in interface Result
public int getWarningsCount()
Result
getWarningsCount
in interface Result
public java.util.Iterator<Warning> getWarnings()
Result
getWarnings
in interface Result