Module litebridge.orm
Package org.litebridge.orm.api.merge
Class MergeConditionClause<DTO,MUS extends MergeUpdateStep,MCCT extends ConditionClauseTerminal<DTO,MergeConditionClause<DTO,MUS,MCCT,QCB>,MCCT,QCB>,QCB extends QueryConditionBuilder<DTO,?,?,?,QCB>>
java.lang.Object
org.litebridge.orm.api.select.impl.ConditionClauseImpl<DTO,MergeConditionClause<DTO,MUS,MCCT,QCB>,MCCT,QCB>
org.litebridge.orm.api.merge.MergeConditionClause<DTO,MUS,MCCT,QCB>
- Type Parameters:
DTO- the mapped DTO/entity type orRowMUS- the merge update step typeMCCT- the merge condition clause terminal type
- All Implemented Interfaces:
ConditionClause<DTO,MergeConditionClause<DTO, MUS, MCCT, QCB>, MCCT, QCB>
public class MergeConditionClause<DTO,MUS extends MergeUpdateStep,MCCT extends ConditionClauseTerminal<DTO,MergeConditionClause<DTO,MUS,MCCT,QCB>,MCCT,QCB>,QCB extends QueryConditionBuilder<DTO,?,?,?,QCB>>
extends ConditionClauseImpl<DTO,MergeConditionClause<DTO,MUS,MCCT,QCB>,MCCT,QCB>
Represents a condition clause in a MERGE statement.
-
Constructor Summary
ConstructorsConstructorDescriptionMergeConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, MCCT> terminalRecreator) Creates a newMergeConditionClauseinstance. -
Method Summary
-
Constructor Details
-
MergeConditionClause
public MergeConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, MCCT> terminalRecreator) Creates a newMergeConditionClauseinstance.- Parameters:
litebridgeContext- the Litebridge contextlogicOperator- the logical operator (AND/OR)lhsColumn- the left-hand side column namelhsExpression- the left-hand side expressionnode- the previous query node in the chainterminalRecreator- the function to create the terminal clause
-