commit | 39252c2cd79a4dd4c04596d9fd1edafebc478b4b | [log] [tgz] |
---|---|---|
author | Eldon Carman <ecarm002@ucr.edu> | Thu Apr 03 10:02:29 2014 -0700 |
committer | Eldon Carman <ecarm002@ucr.edu> | Thu Apr 03 10:02:29 2014 -0700 |
tree | fe28223c146aa9bb31c444901168bb1d8dfddb4e | |
parent | 6b3c861a43e063a824c885e1e20eb78e10182150 [diff] | |
parent | 7b980fc0ce333040d306abb24d7ad11c0e7e870f [diff] |
Merge branch 'ecarm002/json_constraints' of https://code.google.com/p/hyracks into ecarm002/json_constraints
diff --git a/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/invertedindex/ondisk/OnDiskInvertedIndex.java b/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/invertedindex/ondisk/OnDiskInvertedIndex.java index d72e019..6aa3253 100644 --- a/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/invertedindex/ondisk/OnDiskInvertedIndex.java +++ b/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/invertedindex/ondisk/OnDiskInvertedIndex.java
@@ -337,6 +337,7 @@ btreeTupleBuilder.reset(); DataOutput output = btreeTupleBuilder.getDataOutput(); // Add key fields. + lastTuple.reset(lastTupleBuilder.getFieldEndOffsets(), lastTupleBuilder.getByteArray()); for (int i = 0; i < numTokenFields; i++) { btreeTupleBuilder.addField(lastTuple.getFieldData(i), lastTuple.getFieldStart(i), lastTuple.getFieldLength(i)); @@ -462,7 +463,7 @@ public BTree getBTree() { return btree; } - + public FileReference getInvListsFile() { return invListsFile; } @@ -565,11 +566,11 @@ public ByteBuffer allocateFrame() { return ByteBuffer.allocate(FRAME_SIZE); } - + @Override public void deallocateFrames(int frameCount) { // TODO Auto-generated method stub - + } }