Interface DeleteRenderingPlan

All Known Implementing Classes:
DeleteRenderingPlan.Direct, DeleteRenderingPlan.JoinEmulation

public sealed interface DeleteRenderingPlan permits DeleteRenderingPlan.Direct, DeleteRenderingPlan.JoinEmulation

Immutable semantic plan for rendering a query delete.

Providers select the native or emulated form. The translator owns SQL AST traversal, mutation predicates, and SQL emission.

A plan is selected once for a delete statement based on a DeleteRenderingRequest. It controls how joins represented by the delete's from clause are expressed; it does not replace ReturningRenderingSupport, which independently controls returned columns.

Since:
8.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Render the delete directly using the translator's native delete grammar.
    static final record 
    Move joins which cannot appear directly in the delete into a correlated exists subquery in the where clause.