java.lang.Object
org.litebridge.db.spi.update.UpdateResult
- Direct Known Subclasses:
InsertResult
Result of an update operation performed on the database.
It encapsulates the number of rows affected by the operation.
This class is a sealed type and only permits a specific subclass: InsertResult.
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateResult(int rowsAffected) Constructs anUpdateResultinstance representing the result of an update operation performed on the database. -
Method Summary
Modifier and TypeMethodDescriptionintRetrieves the number of rows affected by the database update operation.toString()
-
Constructor Details
-
UpdateResult
public UpdateResult(int rowsAffected) Constructs anUpdateResultinstance representing the result of an update operation performed on the database.- Parameters:
rowsAffected- The number of rows affected by the update operation.
-
-
Method Details