Class DbRowOpMerger
java.lang.Object
org.apache.cayenne.access.flush.operation.DbRowOpMerger
- All Implemented Interfaces:
BiFunction<DbRowOp,
,DbRowOp, DbRowOp> DbRowOpVisitor<DbRowOp>
public class DbRowOpMerger
extends Object
implements DbRowOpVisitor<DbRowOp>, BiFunction<DbRowOp,DbRowOp,DbRowOp>
BiFunction that merges two
DbRowOp
changing same object.- Since:
- 4.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisitDelete
(DeleteDbRowOp other) visitInsert
(InsertDbRowOp other) visitUpdate
(UpdateDbRowOp other) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
DbRowOpMerger
public DbRowOpMerger()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<DbRowOp,
DbRowOp, DbRowOp>
-
visitInsert
- Specified by:
visitInsert
in interfaceDbRowOpVisitor<DbRowOp>
-
visitUpdate
- Specified by:
visitUpdate
in interfaceDbRowOpVisitor<DbRowOp>
-
visitDelete
- Specified by:
visitDelete
in interfaceDbRowOpVisitor<DbRowOp>
-