Annotation Type IgnoreSave
When placed on an entity field, the field will not be written to the datastore.
It will, however, be loaded normally. This is particularly useful in concert with
@OnLoad
and @OnSave
to transform your data.
If passed one or more classes that implement the If
interface, the
value will be ignored only if it tests positive for any of the conditions. This
is a convenient way to prevent storing of default values, potentially saving
a significant amount of storage and indexing cost.
- Author:
- Jeff Schnitzer invalid input: '<'[email protected]>
-
Optional Element Summary
-
Element Details
-
value
- Default:
{com.googlecode.objectify.condition.Always.class}
-