public static class VectorMapJoinFastBytesHashMapStore.HashMapResult extends VectorMapJoinHashMapResult
| Constructor and Description |
|---|
HashMapResult() |
| Modifier and Type | Method and Description |
|---|---|
int |
cappedCount() |
boolean |
equalKey(byte[] keyBytes,
int keyStart,
int keyLength)
Compare a key with the key positioned with the setKey method.
|
WriteBuffers.ByteSegmentRef |
first() |
String |
getDetailedHashMapResultPositionString()
Get detailed HashMap result position information to help diagnose exceptions.
|
boolean |
hasRows() |
WriteBuffers.ByteSegmentRef |
internalRead() |
boolean |
isCappedCountAvailable() |
boolean |
isSingleRow() |
WriteBuffers.ByteSegmentRef |
next() |
void |
set(VectorMapJoinFastBytesHashMapStore hashMapStore,
long refWord)
Setup for a match outright.
|
void |
setKey(VectorMapJoinFastBytesHashMapStore hashMapStore,
long refWord)
Setup for reading the key of an entry with the equalKey method.
|
void |
setMatch()
Mark the key matched with equalKey as a match and set up for reading the values.
|
String |
toString() |
forget, getReadPos, joinResult, setJoinResult, setSpillPartitionId, spillPartitionIdpublic void setKey(VectorMapJoinFastBytesHashMapStore hashMapStore, long refWord)
hashMapStore - refWord - public boolean equalKey(byte[] keyBytes,
int keyStart,
int keyLength)
keyBytes - keyStart - keyLength - public void setMatch()
public void set(VectorMapJoinFastBytesHashMapStore hashMapStore, long refWord)
hashMapStore - refWord - public boolean hasRows()
hasRows in class VectorMapJoinHashMapResultpublic boolean isSingleRow()
isSingleRow in class VectorMapJoinHashMapResultpublic boolean isCappedCountAvailable()
isCappedCountAvailable in class VectorMapJoinHashMapResultpublic int cappedCount()
cappedCount in class VectorMapJoinHashMapResultpublic WriteBuffers.ByteSegmentRef first()
first in class VectorMapJoinHashMapResultpublic WriteBuffers.ByteSegmentRef next()
next in class VectorMapJoinHashMapResultpublic WriteBuffers.ByteSegmentRef internalRead()
public String toString()
toString in class VectorMapJoinHashTableResultpublic String getDetailedHashMapResultPositionString()
getDetailedHashMapResultPositionString in class VectorMapJoinHashMapResultCopyright © 2022 The Apache Software Foundation. All rights reserved.