- All Superinterfaces:
Update<T>
- All Known Implementing Classes:
DefaultOrmUpdate
Internal extension to the Update interface.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe type of the update request. -
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the table being modified.Class<?> beanType()Return the type of bean being updated.Return the bind parameters.booleanReturn true if the cache should be notified to invalidate objects.label()Return the label (for metrics collection).Return the type of this - insert, update or delete.voidsetGeneratedSql(String sql) Set the generated sql used.inttimeout()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
Set the generated sql used.
-