Class UpdateResult

java.lang.Object
org.litebridgedb.db.spi.update.UpdateResult
Direct Known Subclasses:
InsertResult

public sealed class UpdateResult extends Object permits 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 Details

    • UpdateResult

      public UpdateResult(int rowsAffected)
  • Method Details

    • rowsAffected

      public int rowsAffected()