Interface CollectionDecomposer

All Known Subinterfaces:
OneToManyDecomposer

@Incubating public interface CollectionDecomposer

Decomposer for collection actions. Comes in 2 general flavors -

  • OneToManyDecomposer for one-to-many collections
  • BasicCollectionDecomposer for element-collection and many-to-many collections

Collection persisters construct their decomposers directly.

A decomposer owns collection delta discovery, operation ordering and callback/event handling. State-management-specific SQL shape is isolated through CollectionMutationPlanContributor: contributors may replace delete/remove mutation plans, provide strategy-specific bind values and contribute alternate operations for logical value changes. This keeps temporal, history-table and audit behavior from being baked into the delta walking code.

Since:
8.0
See Also:
API Note:
This is just a marker interface mainly for some unified Javadoc.