java.lang.Object
org.litebridge.orm.api.merge.MergeUpdateStep
- Direct Known Subclasses:
DtoMergeUpdateStep,SqlMergeUpdateStep
public abstract sealed class MergeUpdateStep
extends Object
permits DtoMergeUpdateStep<DTO>, SqlMergeUpdateStep
Abstract base for steps specifying the action to take in a
WHEN MATCHED clause.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LitebridgeContextThe Litebridge context.protected final QueryNodeThe current query node in the AST chain. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMergeUpdateStep(QueryNode node, LitebridgeContext litebridgeContext) Creates a newMergeUpdateStepinstance. -
Method Summary
Modifier and TypeMethodDescriptionabstract MergeTerminaldelete()Specifies that the matched row should be deleted.
-
Field Details
-
node
The current query node in the AST chain. -
litebridgeContext
The Litebridge context.
-
-
Constructor Details
-
MergeUpdateStep
Creates a newMergeUpdateStepinstance.- Parameters:
node- current query nodelitebridgeContext- Litebridge context
-
-
Method Details
-
delete
Specifies that the matched row should be deleted.- Returns:
- the
WHEN MATCHEDclause terminal
-