commit | e82193fba1b8a305fbe2a231b9d9b32c0f0ae69c | [log] [tgz] |
---|---|---|
author | Abdullah Alamoudi <alamouda@uci.edu> | Sat Mar 15 09:24:41 2014 -0700 |
committer | Abdullah Alamoudi <alamouda@uci.edu> | Sat Mar 15 09:24:41 2014 -0700 |
tree | 5b2823fb684254dc6bfe740d084e3556a1626b62 | |
parent | cbccf1d5bb8431de85ab7402ba386d91598a2141 [diff] |
Fix the LSM Rtree force modify
diff --git a/hyracks/hyracks-storage-am-lsm-rtree/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/rtree/impls/LSMRTree.java b/hyracks/hyracks-storage-am-lsm-rtree/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/rtree/impls/LSMRTree.java index b348793..ffc92f2 100644 --- a/hyracks/hyracks-storage-am-lsm-rtree/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/rtree/impls/LSMRTree.java +++ b/hyracks/hyracks-storage-am-lsm-rtree/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/rtree/impls/LSMRTree.java
@@ -391,6 +391,13 @@ ctx.setOperation(IndexOperation.DELETE); lsmHarness.modify(ctx, false, dualTuple); } + + @Override + public void forceDelete(ITupleReference tuple) throws HyracksDataException, IndexException { + dualTuple.reset(tuple); + ctx.setOperation(IndexOperation.DELETE); + lsmHarness.forceModify(ctx, dualTuple); + } public MultiComparator getMultiComparator() { LSMRTreeOpContext concreteCtx = (LSMRTreeOpContext) ctx;