Taewoo Kim has uploaded a new change for review.
https://asterix-gerrit.ics.uci.edu/1734
Change subject: ASTERIXDB-1789: fix an accessor that is used by Hash Table
......................................................................
ASTERIXDB-1789: fix an accessor that is used by Hash Table
- Fix an accesor that is used by SerializableHashTable class.
This accessor class is required to calculate the original
hash value of a tuple when compacting the hash table.
Change-Id: I74b6de8f189e841c16735dbd63f13892bbd61c20
---
M
hyracks-fullstack/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/buffermanager/TupleInFrameListAccessor.java
1 file changed, 3 insertions(+), 4 deletions(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/34/1734/1
diff --git
a/hyracks-fullstack/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/buffermanager/TupleInFrameListAccessor.java
b/hyracks-fullstack/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/buffermanager/TupleInFrameListAccessor.java
index 2c9d24a..aadcb26 100644
---
a/hyracks-fullstack/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/buffermanager/TupleInFrameListAccessor.java
+++
b/hyracks-fullstack/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/buffermanager/TupleInFrameListAccessor.java
@@ -24,8 +24,7 @@
import org.apache.hyracks.api.comm.IFrameTupleAccessor;
import org.apache.hyracks.api.dataflow.value.RecordDescriptor;
-import org.apache.hyracks.dataflow.std.sort.util.DeletableFrameTupleAppender;
-import
org.apache.hyracks.dataflow.std.sort.util.IAppendDeletableFrameTupleAccessor;
+import org.apache.hyracks.dataflow.common.comm.io.FrameTupleAccessor;
import org.apache.hyracks.dataflow.std.structures.TuplePointer;
/**
@@ -33,11 +32,11 @@
*/
public class TupleInFrameListAccessor extends AbstractTuplePointerAccessor {
- private IAppendDeletableFrameTupleAccessor bufferAccessor;
+ private IFrameTupleAccessor bufferAccessor;
private List<ByteBuffer> bufferFrames;
public TupleInFrameListAccessor(RecordDescriptor rd, List<ByteBuffer>
bufferFrames) {
- bufferAccessor = new DeletableFrameTupleAppender(rd);
+ bufferAccessor = new FrameTupleAccessor(rd);
this.bufferFrames = bufferFrames;
}
--
To view, visit https://asterix-gerrit.ics.uci.edu/1734
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I74b6de8f189e841c16735dbd63f13892bbd61c20
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Taewoo Kim <[email protected]>