public class DbRowOpMerger extends Object implements DbRowOpVisitor<DbRowOp>, BiFunction<DbRowOp,DbRowOp,DbRowOp>
DbRowOp
changing same object.Modifier and Type | Field and Description |
---|---|
static DbRowOpMerger |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
DbRowOp |
apply(DbRowOp oldValue,
DbRowOp newValue) |
DbRowOp |
visitDelete(DeleteDbRowOp other) |
DbRowOp |
visitInsert(InsertDbRowOp other) |
DbRowOp |
visitUpdate(UpdateDbRowOp other) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen
public static final DbRowOpMerger INSTANCE
public DbRowOp apply(DbRowOp oldValue, DbRowOp newValue)
apply
in interface BiFunction<DbRowOp,DbRowOp,DbRowOp>
public DbRowOp visitInsert(InsertDbRowOp other)
visitInsert
in interface DbRowOpVisitor<DbRowOp>
public DbRowOp visitUpdate(UpdateDbRowOp other)
visitUpdate
in interface DbRowOpVisitor<DbRowOp>
public DbRowOp visitDelete(DeleteDbRowOp other)
visitDelete
in interface DbRowOpVisitor<DbRowOp>
Copyright © 2001–2021 Apache Cayenne. All rights reserved.