Interface SpiUpdate<T>

All Superinterfaces:
Update<T>
All Known Implementing Classes:
DefaultOrmUpdate

public interface SpiUpdate<T> extends Update<T>
Internal extension to the Update interface.
  • Method Details

    • beanType

      Class<?> beanType()
      Return the type of bean being updated.
    • label

      String label()
      Return the label (for metrics collection).
    • ormUpdateType

      SpiUpdate.OrmUpdateType ormUpdateType()
      Return the type of this - insert, update or delete.
    • baseTable

      String baseTable()
      Return the name of the table being modified.
    • updateStatement

      String updateStatement()
      Return the update statement. This could be either sql or an orm update with bean types and property names.
    • timeout

      int timeout()
      Return the timeout in seconds.
    • isNotifyCache

      boolean isNotifyCache()
      Return true if the cache should be notified to invalidate objects.
    • bindParams

      BindParams bindParams()
      Return the bind parameters.
    • setGeneratedSql

      void setGeneratedSql(String sql)
      Set the generated sql used.