Interface SpiUpdate<T>

All Superinterfaces:
io.ebean.Update<T>
All Known Implementing Classes:
DefaultOrmUpdate

public interface SpiUpdate<T> extends io.ebean.Update<T>
Internal extension to the Update interface.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The type of the update request.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the name of the table being modified.
    Return the type of bean being updated.
    Return the bind parameters.
    boolean
    Return true if the cache should be notified to invalidate objects.
    Return the label (for metrics collection).
    Return the type of this - insert, update or delete.
    void
    Set the generated sql used.
    int
    Return the timeout in seconds.
    Return the update statement.

    Methods inherited from interface io.ebean.Update

    execute, getGeneratedSql, getName, set, set, setLabel, setNotifyCache, setNull, setNull, setNullParameter, setNullParameter, setParameter, setParameter, setTimeout
  • 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.