public class VectorMapJoinFastBytesHashMapStore extends Object implements MemoryEstimate
| Modifier and Type | Class and Description |
|---|---|
static class |
VectorMapJoinFastBytesHashMapStore.HashMapResult
A hash map result that can read values stored by the key and value store, one-by-one.
|
| Constructor and Description |
|---|
VectorMapJoinFastBytesHashMapStore(int writeBuffersSize) |
| Modifier and Type | Method and Description |
|---|---|
long |
addFirst(long partialHashCode,
byte[] keyBytes,
int keyStart,
int keyLength,
byte[] valueBytes,
int valueStart,
int valueLength)
Two 64-bit long result is the key and value reference.
|
long |
addMore(long refWord,
byte[] valueBytes,
int valueStart,
int valueLength,
WriteBuffers.Position unsafeReadPos) |
long |
getEstimatedMemorySize() |
void |
getKey(long refWord,
WriteBuffers.ByteSegmentRef keyByteSegmentRef,
WriteBuffers.Position readPos) |
WriteBuffers |
getWriteBuffers()
A store for a key and a list of 1 or more arbitrary length values in memory.
|
public VectorMapJoinFastBytesHashMapStore(int writeBuffersSize)
public WriteBuffers getWriteBuffers()
public long addFirst(long partialHashCode,
byte[] keyBytes,
int keyStart,
int keyLength,
byte[] valueBytes,
int valueStart,
int valueLength)
partialHashCode - keyBytes - keyStart - keyLength - valueBytes - valueStart - valueLength - public long addMore(long refWord,
byte[] valueBytes,
int valueStart,
int valueLength,
WriteBuffers.Position unsafeReadPos)
refWord - valueBytes - valueStart - valueLength - public void getKey(long refWord,
WriteBuffers.ByteSegmentRef keyByteSegmentRef,
WriteBuffers.Position readPos)
public long getEstimatedMemorySize()
getEstimatedMemorySize in interface MemoryEstimateCopyright © 2024 The Apache Software Foundation. All rights reserved.