public class VectorMapJoinFastKeyStore extends Object implements MemoryEstimate
Constructor and Description |
---|
VectorMapJoinFastKeyStore(int writeBuffersSize) |
VectorMapJoinFastKeyStore(WriteBuffers writeBuffers) |
Modifier and Type | Method and Description |
---|---|
long |
add(byte[] keyBytes,
int keyStart,
int keyLength) |
boolean |
equalKey(long keyRefWord,
byte[] keyBytes,
int keyStart,
int keyLength,
WriteBuffers.Position readPos) |
long |
getEstimatedMemorySize()
Returns estimated memory size based
JavaDataModel |
boolean |
unsafeEqualKey(long keyRefWord,
byte[] keyBytes,
int keyStart,
int keyLength)
THIS METHOD IS NOT THREAD-SAFE.
|
public VectorMapJoinFastKeyStore(int writeBuffersSize)
public VectorMapJoinFastKeyStore(WriteBuffers writeBuffers)
public long add(byte[] keyBytes, int keyStart, int keyLength)
public boolean unsafeEqualKey(long keyRefWord, byte[] keyBytes, int keyStart, int keyLength)
public boolean equalKey(long keyRefWord, byte[] keyBytes, int keyStart, int keyLength, WriteBuffers.Position readPos)
public long getEstimatedMemorySize()
MemoryEstimate
JavaDataModel
getEstimatedMemorySize
in interface MemoryEstimate
Copyright © 2022 The Apache Software Foundation. All rights reserved.