Interface PluggableImportAoEntityHandler

All Superinterfaces:
AoEntityHandler, PluggableImportHandler
All Known Implementing Classes:
AoPartitionHandler, ReferenceAoImport, ReferenceAoPreImport

@ExperimentalSpi public interface PluggableImportAoEntityHandler extends PluggableImportHandler, AoEntityHandler
Defines a handler class that will be able to perform some operation given an entity name and the entities attributes.
Since:
v7.0
  • Field Details

    • WEIGHT_NONE

      static final Long WEIGHT_NONE
  • Method Details

    • getEntityWeight

      Long getEntityWeight(String entityName)
      Return the weight for this entity. If this handler is does not handle the entity or care about it's ordering return WEIGHT_NONE.

      This is ignored (not called) during the pre-import stage where the entities are supplied in the backup XML order.

      Returns:
      the weight by which to order this entity when importing.