public interface UpdateSummary
UpdateableDataContext.executeUpdate(UpdateScript)
call.
The amount of information available from an update varies a lot between
different implementations of UpdateableDataContext
. This interface
represents the most common elements of interest, but not all elements may be
available for a given update. For this reason any method call on this
interface should be considered not guaranteed to return a value (so expect
nulls to represent "not known/available").Modifier and Type | Method and Description |
---|---|
Optional<Integer> |
getDeletedRows()
Gets the number of deleted rows, or null if this number is unknown.
|
Optional<Iterable<Object>> |
getGeneratedKeys()
Gets a collection of keys that was generated as part of the update -
typically because INSERTs where executed on an underlying database which
generated record IDs for each insert.
|
Optional<Integer> |
getInsertedRows()
Gets the number of inserted rows, or null if this number is unknown.
|
Optional<Integer> |
getUpdatedRows()
Gets the number of updated rows, or null if this number is unknown.
|
Optional<Integer> getInsertedRows()
Optional<Integer> getUpdatedRows()
Optional<Integer> getDeletedRows()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.