@NotThreadSafe public class PartitionedLookupSource extends Object implements LookupSource
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(long partitionedJoinPosition,
PageBuilder pageBuilder,
int outputChannelOffset) |
void |
close() |
static TrackingLookupSourceSupplier |
createPartitionedLookupSourceSupplier(List<Supplier<LookupSource>> partitions,
List<Type> hashChannelTypes,
boolean outer) |
int |
getChannelCount() |
long |
getInMemorySizeInBytes() |
long |
getJoinPosition(int position,
Page hashChannelsPage,
Page allChannelsPage) |
long |
getJoinPosition(int position,
Page hashChannelsPage,
Page allChannelsPage,
long rawHash) |
long |
getJoinPositionCount() |
long |
getNextJoinPosition(long currentJoinPosition,
int probePosition,
Page allProbeChannelsPage) |
boolean |
isEmpty() |
boolean |
isJoinPositionEligible(long currentJoinPosition,
int probePosition,
Page allProbeChannelsPage) |
long |
joinPositionWithinPartition(long joinPosition) |
public static TrackingLookupSourceSupplier createPartitionedLookupSourceSupplier(List<Supplier<LookupSource>> partitions, List<Type> hashChannelTypes, boolean outer)
public boolean isEmpty()
isEmpty in interface LookupSourcepublic int getChannelCount()
getChannelCount in interface LookupSourcepublic long getJoinPositionCount()
getJoinPositionCount in interface LookupSourcepublic long getInMemorySizeInBytes()
getInMemorySizeInBytes in interface LookupSourcepublic long getJoinPosition(int position,
Page hashChannelsPage,
Page allChannelsPage)
getJoinPosition in interface LookupSourcepublic long getJoinPosition(int position,
Page hashChannelsPage,
Page allChannelsPage,
long rawHash)
getJoinPosition in interface LookupSourcepublic long getNextJoinPosition(long currentJoinPosition,
int probePosition,
Page allProbeChannelsPage)
getNextJoinPosition in interface LookupSourcepublic boolean isJoinPositionEligible(long currentJoinPosition,
int probePosition,
Page allProbeChannelsPage)
isJoinPositionEligible in interface LookupSourcepublic void appendTo(long partitionedJoinPosition,
PageBuilder pageBuilder,
int outputChannelOffset)
appendTo in interface LookupSourcepublic long joinPositionWithinPartition(long joinPosition)
joinPositionWithinPartition in interface LookupSourcepublic void close()
close in interface LookupSourceclose in interface Closeableclose in interface AutoCloseableCopyright © 2012–2019. All rights reserved.