Class EntityConverter

All Implemented Interfaces:
Serializable

public class EntityConverter extends Converter
A subclass of Converter that allows specifying keys to be deleted.

When a Converter is used with an entity class, secondary keys cannot be automatically deleted based on field deletion, because field Deleter objects are not used in conjunction with a Converter mutation. The EntityConverter can be used instead of a plain Converter to specify the key names to be deleted.

It is not currently possible to rename or insert secondary keys when using a Converter mutation with an entity class.

See Also:
  • Constructor Details

    • EntityConverter

      public EntityConverter(String entityClassName, int classVersion, Conversion conversion, Set<String> deletedKeys)
      Creates a mutation for converting all instances of the given entity class version to the current version of the class.
  • Method Details